let F be Field; :: thesis: for E being FieldExtension of F
for K1, K2, K3 being IntermediateField of E,F holds (K1 "\/" K2) "\/" K3 = K1 "\/" (K2 "\/" K3)

let E be FieldExtension of F; :: thesis: for K1, K2, K3 being IntermediateField of E,F holds (K1 "\/" K2) "\/" K3 = K1 "\/" (K2 "\/" K3)
let K1, K2, K3 be IntermediateField of E,F; :: thesis: (K1 "\/" K2) "\/" K3 = K1 "\/" (K2 "\/" K3)
set L = doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #);
Y: doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) == E ;
then K: doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) in SubFields E by FIELD_12:45;
now :: thesis: for G being Field st G in {K1,(K2 "\/" K3)} holds
G is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #)
let G be Field; :: thesis: ( G in {K1,(K2 "\/" K3)} implies b1 is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) )
assume G in {K1,(K2 "\/" K3)} ; :: thesis: b1 is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #)
per cases then ( G = K1 or G = K2 "\/" K3 ) by TARSKI:def 2;
suppose M1: G = K1 ; :: thesis: b1 is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #)
K1 in IntermediateFields (E,F) by di;
then K1 is Subfield of E by FIELD_14:4;
hence G is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) by M1, Y, EC_PF_1:5; :: thesis: verum
end;
suppose G = K2 "\/" K3 ; :: thesis: b1 is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #)
hence G is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) by Y, EC_PF_1:5; :: thesis: verum
end;
end;
end;
then H: the carrier of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) in { the carrier of K where K is Element of SubFields E : for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K
}
by K;
now :: thesis: for o being object st o in the carrier of ((K1 "\/" K2) "\/" K3) holds
o in the carrier of (K1 "\/" (K2 "\/" K3))
let o be object ; :: thesis: ( o in the carrier of ((K1 "\/" K2) "\/" K3) implies o in the carrier of (K1 "\/" (K2 "\/" K3)) )
assume o in the carrier of ((K1 "\/" K2) "\/" K3) ; :: thesis: o in the carrier of (K1 "\/" (K2 "\/" K3))
then I: o in meet { the carrier of K where K is Element of SubFields E : for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K
}
by def3;
now :: thesis: for Y being set st Y in { the carrier of K where K is Element of SubFields E : for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K
}
holds
o in Y
let Y be set ; :: thesis: ( Y in { the carrier of K where K is Element of SubFields E : for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K
}
implies o in Y )

assume Y in { the carrier of K where K is Element of SubFields E : for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K
}
; :: thesis: o in Y
then consider K being Element of SubFields E such that
D: ( Y = the carrier of K & ( for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K ) ) ;
( K1 in {K1,(K2 "\/" K3)} & K2 "\/" K3 in {K1,(K2 "\/" K3)} ) by TARSKI:def 2;
then E: ( K1 is Subfield of K & K2 "\/" K3 is Subfield of K ) by D;
( K2 in {K2,K3} & K3 in {K2,K3} ) by TARSKI:def 2;
then F: ( K2 is Subfield of K2 "\/" K3 & K3 is Subfield of K2 "\/" K3 ) by lem10;
K2 is Subfield of K by E, F, EC_PF_1:5;
then G: for F being Element of {K1,K2} holds F is Subfield of K by E, TARSKI:def 2;
now :: thesis: for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K
let F be Field; :: thesis: ( F in {(K1 "\/" K2),K3} implies b1 is Subfield of K )
assume F in {(K1 "\/" K2),K3} ; :: thesis: b1 is Subfield of K
per cases then ( F = K3 or F = K1 "\/" K2 ) by TARSKI:def 2;
suppose F = K3 ; :: thesis: b1 is Subfield of K
hence F is Subfield of K by E, F, EC_PF_1:5; :: thesis: verum
end;
suppose F = K1 "\/" K2 ; :: thesis: b1 is Subfield of K
hence F is Subfield of K by G, lem11; :: thesis: verum
end;
end;
end;
then Y in { the carrier of K where K is Element of SubFields E : for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K
}
by D;
hence o in Y by I, SETFAM_1:def 1; :: thesis: verum
end;
then o in meet { the carrier of K where K is Element of SubFields E : for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K
}
by H, SETFAM_1:def 1;
hence o in the carrier of (K1 "\/" (K2 "\/" K3)) by def3; :: thesis: verum
end;
then A: the carrier of ((K1 "\/" K2) "\/" K3) c= the carrier of (K1 "\/" (K2 "\/" K3)) ;
now :: thesis: for G being Field st G in {(K1 "\/" K2),K3} holds
G is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #)
let G be Field; :: thesis: ( G in {(K1 "\/" K2),K3} implies b1 is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) )
assume G in {(K1 "\/" K2),K3} ; :: thesis: b1 is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #)
per cases then ( G = K3 or G = K1 "\/" K2 ) by TARSKI:def 2;
suppose M1: G = K3 ; :: thesis: b1 is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #)
K3 in IntermediateFields (E,F) by di;
then K3 is Subfield of E by FIELD_14:4;
hence G is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) by M1, Y, EC_PF_1:5; :: thesis: verum
end;
suppose G = K1 "\/" K2 ; :: thesis: b1 is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #)
hence G is Subfield of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) by Y, EC_PF_1:5; :: thesis: verum
end;
end;
end;
then H: the carrier of doubleLoopStr(# the carrier of E, the addF of E, the multF of E, the OneF of E, the ZeroF of E #) in { the carrier of K where K is Element of SubFields E : for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K
}
by K;
now :: thesis: for o being object st o in the carrier of (K1 "\/" (K2 "\/" K3)) holds
o in the carrier of ((K1 "\/" K2) "\/" K3)
let o be object ; :: thesis: ( o in the carrier of (K1 "\/" (K2 "\/" K3)) implies o in the carrier of ((K1 "\/" K2) "\/" K3) )
assume o in the carrier of (K1 "\/" (K2 "\/" K3)) ; :: thesis: o in the carrier of ((K1 "\/" K2) "\/" K3)
then I: o in meet { the carrier of K where K is Element of SubFields E : for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K
}
by def3;
now :: thesis: for Y being set st Y in { the carrier of K where K is Element of SubFields E : for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K
}
holds
o in Y
let Y be set ; :: thesis: ( Y in { the carrier of K where K is Element of SubFields E : for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K
}
implies o in Y )

assume Y in { the carrier of K where K is Element of SubFields E : for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K
}
; :: thesis: o in Y
then consider K being Element of SubFields E such that
D: ( Y = the carrier of K & ( for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K ) ) ;
( K3 in {(K1 "\/" K2),K3} & K1 "\/" K2 in {(K1 "\/" K2),K3} ) by TARSKI:def 2;
then E: ( K3 is Subfield of K & K1 "\/" K2 is Subfield of K ) by D;
( K1 in {K1,K2} & K2 in {K1,K2} ) by TARSKI:def 2;
then F: ( K1 is Subfield of K1 "\/" K2 & K2 is Subfield of K1 "\/" K2 ) by lem10;
K2 is Subfield of K by E, F, EC_PF_1:5;
then G: for F being Element of {K2,K3} holds F is Subfield of K by E, TARSKI:def 2;
now :: thesis: for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K
let F be Field; :: thesis: ( F in {K1,(K2 "\/" K3)} implies b1 is Subfield of K )
assume F in {K1,(K2 "\/" K3)} ; :: thesis: b1 is Subfield of K
per cases then ( F = K1 or F = K2 "\/" K3 ) by TARSKI:def 2;
suppose F = K1 ; :: thesis: b1 is Subfield of K
hence F is Subfield of K by E, F, EC_PF_1:5; :: thesis: verum
end;
suppose F = K2 "\/" K3 ; :: thesis: b1 is Subfield of K
hence F is Subfield of K by G, lem11; :: thesis: verum
end;
end;
end;
then Y in { the carrier of K where K is Element of SubFields E : for F being Field st F in {K1,(K2 "\/" K3)} holds
F is Subfield of K
}
by D;
hence o in Y by I, SETFAM_1:def 1; :: thesis: verum
end;
then o in meet { the carrier of K where K is Element of SubFields E : for F being Field st F in {(K1 "\/" K2),K3} holds
F is Subfield of K
}
by H, SETFAM_1:def 1;
hence o in the carrier of ((K1 "\/" K2) "\/" K3) by def3; :: thesis: verum
end;
then the carrier of (K1 "\/" (K2 "\/" K3)) c= the carrier of ((K1 "\/" K2) "\/" K3) ;
hence (K1 "\/" K2) "\/" K3 = K1 "\/" (K2 "\/" K3) by A, XBOOLE_0:def 10, EC_PF_1:8; :: thesis: verum