let X be set ; :: thesis: for A, B, C being non empty ordered Subset-Family of X holds INTERSECTION (A,(UNION (B,C))) = UNION ((INTERSECTION (A,B)),(INTERSECTION (A,C)))
let A, B, C be non empty ordered Subset-Family of X; :: thesis: INTERSECTION (A,(UNION (B,C))) = UNION ((INTERSECTION (A,B)),(INTERSECTION (A,C)))
A1: INTERSECTION (A,(UNION (B,C))) c= UNION ((INTERSECTION (A,B)),(INTERSECTION (A,C))) by Lm5;
UNION ((INTERSECTION (A,B)),(INTERSECTION (A,C))) c= INTERSECTION (A,(UNION (B,C)))
proof
let x be object ; :: according to TARSKI:def 3 :: thesis: ( not x in UNION ((INTERSECTION (A,B)),(INTERSECTION (A,C))) or x in INTERSECTION (A,(UNION (B,C))) )
assume x in UNION ((INTERSECTION (A,B)),(INTERSECTION (A,C))) ; :: thesis: x in INTERSECTION (A,(UNION (B,C)))
then consider X, Y being set such that
A2: ( X in INTERSECTION (A,B) & Y in INTERSECTION (A,C) & x = X \/ Y ) by SETFAM_1:def 4;
consider X1, X2 being set such that
A3: ( X1 in A & X2 in B & X = X1 /\ X2 ) by ;
consider Y1, Y2 being set such that
A4: ( Y1 in A & Y2 in C & Y = Y1 /\ Y2 ) by ;
A5: x = ((X1 /\ X2) \/ Y1) /\ ((X1 /\ X2) \/ Y2) by
.= (Y1 \/ (X1 /\ X2)) /\ ((Y2 \/ X1) /\ (Y2 \/ X2)) by XBOOLE_1:24
.= ((Y1 \/ X1) /\ (Y1 \/ X2)) /\ ((Y2 \/ X1) /\ (Y2 \/ X2)) by XBOOLE_1:24
.= (((Y1 \/ X1) /\ (Y1 \/ X2)) /\ (Y2 \/ X1)) /\ (Y2 \/ X2) by XBOOLE_1:16 ;
set A1 = min A;
set A2 = max A;
A6: ( min A c= Y1 & min A c= X1 ) by A3, A4, Th28;
then A7: (min A) \/ (min A) c= Y1 \/ X1 by XBOOLE_1:13;
Y1 c= Y1 \/ X2 by XBOOLE_1:7;
then min A c= Y1 \/ X2 by A6;
then A8: (min A) /\ (min A) c= (Y1 \/ X1) /\ (Y1 \/ X2) by ;
( min A c= X1 & X1 c= Y2 \/ X1 ) by ;
then min A c= Y2 \/ X1 ;
then A9: min A c= ((Y1 \/ X1) /\ (Y1 \/ X2)) /\ (Y2 \/ X1) by ;
( Y1 c= max A & X1 c= max A ) by A3, A4, Th28;
then ( (Y1 \/ X1) /\ ((Y1 \/ X2) /\ (Y2 \/ X1)) c= Y1 \/ X1 & Y1 \/ X1 c= max A ) by ;
then ( min A c= ((Y1 \/ X1) /\ (Y1 \/ X2)) /\ (Y2 \/ X1) & (Y1 \/ X1) /\ ((Y1 \/ X2) /\ (Y2 \/ X1)) c= max A ) by A9;
then ( min A c= ((Y1 \/ X1) /\ (Y1 \/ X2)) /\ (Y2 \/ X1) & ((Y1 \/ X1) /\ (Y1 \/ X2)) /\ (Y2 \/ X1) c= max A ) by XBOOLE_1:16;
then A10: ((Y1 \/ X1) /\ (Y1 \/ X2)) /\ (Y2 \/ X1) in A by Th28;
Y2 \/ X2 in UNION (B,C) by ;
hence x in INTERSECTION (A,(UNION (B,C))) by ; :: thesis: verum
end;
hence INTERSECTION (A,(UNION (B,C))) = UNION ((INTERSECTION (A,B)),(INTERSECTION (A,C))) by A1; :: thesis: verum