let F be Field; :: thesis: for E being F -finite FieldExtension of F holds
( E is GaloisExtension of F iff deg (E,F) = order (Aut (E,F)) )

let E be F -finite FieldExtension of F; :: thesis: ( E is GaloisExtension of F iff deg (E,F) = order (Aut (E,F)) )
A: now :: thesis: for F being Field
for E being b1 -finite FieldExtension of F st E is GaloisExtension of F holds
order (Aut (E,F)) = deg (E,F)
let F be Field; :: thesis: for E being F -finite FieldExtension of F st E is GaloisExtension of F holds
order (Aut (E,F)) = deg (E,F)

let E be F -finite FieldExtension of F; :: thesis: ( E is GaloisExtension of F implies order (Aut (E,F)) = deg (E,F) )
assume E is GaloisExtension of F ; :: thesis: order (Aut (E,F)) = deg (E,F)
then reconsider E1 = E as F -finite GaloisExtension of F ;
consider a being Element of E1 such that
A1: E1 == FAdj (F,{a}) by FIELD_14:def 7;
set p = MinPoly (a,F);
consider f being Function of (Auts ((FAdj (F,{a})),F)),(Roots ((FAdj (F,{a})),(MinPoly (a,F)))) such that
A2: f is bijective by GALOIS_1:12;
( dom f = Auts ((FAdj (F,{a})),F) & rng f = Roots ((FAdj (F,{a})),(MinPoly (a,F))) ) by A2, FUNCT_2:def 1, FUNCT_2:def 3;
then A3: card (Auts ((FAdj (F,{a})),F)) = card (Roots ((FAdj (F,{a})),(MinPoly (a,F)))) by A2, CARD_1:70;
A4: Auts (E1,F) = Auts ((FAdj (F,{a})),F)
proof
Aut (E1,F) = Aut ((FAdj (F,{a})),F) by A1, GALOIS_2:13;
hence Auts (E1,F) = Auts ((FAdj (F,{a})),F) ; :: thesis: verum
end;
thus order (Aut (E,F)) = card (Roots (E,(MinPoly (a,F)))) by A4, A3, A1, lemB
.= card (Conj a) by A1, GALOIS_1:11
.= deg (MinPoly (a,F)) by GALOIS_2:29
.= deg (E,F) by A1, FIELD_7:36 ; :: thesis: verum
end;
Aut (E,F) in Subgroups (Aut E) by GROUP_3:def 1;
then reconsider G = Aut (E,F) as SubGroup of Aut E by GALOIS_0:def 10;
reconsider G1 = Aut (E,F) as Subgroup of Aut (E,F) by GROUP_2:54;
reconsider K = Fix (E,G1) as IntermediateField of E,F ;
K = Fix (E,(Aut (E,(Fix (E,G))))) by GALOIS_1:22
.= Fix (E,(Aut (E,K))) ;
then C: FieldExt (E,K) is GaloisExtension of K by GALOIS_1:def 18;
I: Aut (E,F) = Aut (E,(Fix (E,G))) by GALOIS_1:21
.= Aut ((FieldExt (E,K)),K) ;
D: deg (E,F) = (deg (E,K)) * (deg (K,F)) by FIELD_7:30
.= (deg (K,F)) * (order (Aut (E,F))) by I, C, A ;
now :: thesis: ( deg (E,F) = order (Aut (E,F)) implies E is GaloisExtension of F )
assume deg (E,F) = order (Aut (E,F)) ; :: thesis: E is GaloisExtension of F
then (deg (E,F)) * ((deg (E,F)) ") = ((deg (K,F)) * (deg (E,F))) * ((deg (E,F)) ") by D
.= (deg (K,F)) * ((deg (E,F)) / (deg (E,F)))
.= (deg (K,F)) * 1 by XCMPLX_1:60 ;
then (deg (E,F)) / (deg (E,F)) = deg (K,F) ;
then FieldExt (E,K) is F -Galois by FIELD_7:8, XCMPLX_1:60;
hence E is GaloisExtension of F ; :: thesis: verum
end;
hence ( E is GaloisExtension of F iff deg (E,F) = order (Aut (E,F)) ) by A; :: thesis: verum