let Y be non empty set ; :: thesis: for a, b, c being Element of Funcs Y,BOOLEAN holds (a 'imp' b) '&' (b 'imp' c) '<' (a 'or' b) 'imp' c
let a, b, c be Element of Funcs Y,BOOLEAN ; :: thesis: (a 'imp' b) '&' (b 'imp' c) '<' (a 'or' b) 'imp' c
let z be Element of Y; :: according to BVFUNC_1:def 15 :: thesis: ( not ((a 'imp' b) '&' (b 'imp' c)) . z = TRUE or ((a 'or' b) 'imp' c) . z = TRUE )
assume A1: ((a 'imp' b) '&' (b 'imp' c)) . z = TRUE ; :: thesis: ((a 'or' b) 'imp' c) . z = TRUE
A2: ((a 'imp' b) '&' (b 'imp' c)) . z = ((a 'imp' b) . z) '&' ((b 'imp' c) . z) by MARGREL1:def 21
.= ((('not' a) 'or' b) . z) '&' ((b 'imp' c) . z) by BVFUNC_4:8
.= ((('not' a) 'or' b) . z) '&' ((('not' b) 'or' c) . z) by BVFUNC_4:8
.= ((('not' a) . z) 'or' (b . z)) '&' ((('not' b) 'or' c) . z) by BVFUNC_1:def 7
.= ((('not' a) . z) 'or' (b . z)) '&' ((('not' b) . z) 'or' (c . z)) by BVFUNC_1:def 7 ;
now
assume A3: ((a 'or' b) 'imp' c) . z <> TRUE ; :: thesis: ((a 'or' b) 'imp' c) . z = TRUE
A4: ((a 'or' b) 'imp' c) . z = (('not' (a 'or' b)) 'or' c) . z by BVFUNC_4:8
.= ((('not' a) '&' ('not' b)) 'or' c) . z by BVFUNC_1:16
.= ((('not' a) '&' ('not' b)) . z) 'or' (c . z) by BVFUNC_1:def 7
.= ((('not' a) . z) '&' (('not' b) . z)) 'or' (c . z) by MARGREL1:def 21 ;
A5: ( (('not' a) . z) '&' (('not' b) . z) = TRUE or (('not' a) . z) '&' (('not' b) . z) = FALSE ) by XBOOLEAN:def 3;
A6: ( c . z = TRUE or c . z = FALSE ) by XBOOLEAN:def 3;
now
per cases ( ('not' a) . z = FALSE or ('not' b) . z = FALSE ) by A3, A4, A5, MARGREL1:45;
case ('not' a) . z = FALSE ; :: thesis: ((a 'or' b) 'imp' c) . z = TRUE
then ((('not' a) . z) 'or' (b . z)) '&' ((('not' b) . z) 'or' (c . z)) = (b . z) '&' ('not' (b . z)) by A3, A4, A6, MARGREL1:def 20
.= FALSE by XBOOLEAN:138 ;
hence ((a 'or' b) 'imp' c) . z = TRUE by A1, A2; :: thesis: verum
end;
case ('not' b) . z = FALSE ; :: thesis: ((a 'or' b) 'imp' c) . z = TRUE
then ((('not' a) . z) 'or' (b . z)) '&' ((('not' b) . z) 'or' (c . z)) = ((('not' a) . z) 'or' (b . z)) '&' FALSE by A3, A4, XBOOLEAN:def 3
.= FALSE ;
hence ((a 'or' b) 'imp' c) . z = TRUE by A1, A2; :: thesis: verum
end;
end;
end;
hence ((a 'or' b) 'imp' c) . z = TRUE ; :: thesis: verum
end;
hence ((a 'or' b) 'imp' c) . z = TRUE ; :: thesis: verum