let Y be non empty set ; :: thesis: for a, b being Element of Funcs Y,BOOLEAN holds a 'eqv' b = (a '&' b) 'or' (('not' a) '&' ('not' b))
let a, b be Element of Funcs Y,BOOLEAN ; :: thesis: a 'eqv' b = (a '&' b) 'or' (('not' a) '&' ('not' b))
A1: for x being Element of Y holds (a 'eqv' b) . x = ((a '&' b) 'or' (('not' a) '&' ('not' b))) . x
proof
let x be Element of Y; :: thesis: (a 'eqv' b) . x = ((a '&' b) 'or' (('not' a) '&' ('not' b))) . x
((a '&' b) 'or' (('not' a) '&' ('not' b))) . x = (((a '&' b) 'or' ('not' a)) '&' ((a '&' b) 'or' ('not' b))) . x by BVFUNC_1:14
.= (((a 'or' ('not' a)) '&' (b 'or' ('not' a))) '&' ((a '&' b) 'or' ('not' b))) . x by BVFUNC_1:14
.= (((a 'or' ('not' a)) '&' (b 'or' ('not' a))) '&' ((a 'or' ('not' b)) '&' (b 'or' ('not' b)))) . x by BVFUNC_1:14
.= (((I_el Y) '&' (b 'or' ('not' a))) '&' ((a 'or' ('not' b)) '&' (b 'or' ('not' b)))) . x by BVFUNC_4:6
.= (((I_el Y) '&' (b 'or' ('not' a))) '&' ((a 'or' ('not' b)) '&' (I_el Y))) . x by BVFUNC_4:6
.= ((b 'or' ('not' a)) '&' ((a 'or' ('not' b)) '&' (I_el Y))) . x by BVFUNC_1:9
.= ((b 'or' ('not' a)) '&' (a 'or' ('not' b))) . x by BVFUNC_1:9
.= (a 'eqv' b) . x by Th18 ;
hence (a 'eqv' b) . x = ((a '&' b) 'or' (('not' a) '&' ('not' b))) . x ; :: thesis: verum
end;
consider k3 being Function such that
A2: ( a 'eqv' b = k3 & dom k3 = Y & rng k3 c= BOOLEAN ) by FUNCT_2:def 2;
consider k4 being Function such that
A3: ( (a '&' b) 'or' (('not' a) '&' ('not' b)) = k4 & dom k4 = Y & rng k4 c= BOOLEAN ) by FUNCT_2:def 2;
( Y = dom k3 & Y = dom k4 & ( for u being set st u in Y holds
k3 . u = k4 . u ) ) by A1, A2, A3;
hence a 'eqv' b = (a '&' b) 'or' (('not' a) '&' ('not' b)) by A2, A3, FUNCT_1:9; :: thesis: verum