FLT/Mathlib/FieldTheory/Galois/Basic.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Pinned FLT blueprint introduction
12 declarations, 0 contain sorry, 0 declared as axioms
The Galois theory of separable quadratic extensions
Material for Mathlib.FieldTheory.Galois.Basic: a separable quadratic extension L/K has
exactly two automorphisms; trace and norm via the nontrivial automorphism; the quadratic
character of Aut(M/K) attached to a normal subextension K ⊆ L ⊆ M.
Imports (3)
Imported by 3 files
- theorem
forall_apply_algebraMap_iff_restrictNormal_eq_oneFor a normal subextensionK ⊆ L ⊆ M, aK-automorphismσofMfixesLpointwise if and only if its restriction toL(AlgEquiv.restrictNormal) is the identity line 35 sourceSource documentation
For a normal subextension
K ⊆ L ⊆ M, aK-automorphismσofMfixesLpointwise if and only if its restriction toL(AlgEquiv.restrictNormal) is the identity.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,IsScalarTower,AlgEquiv,Iff,Eq,RingHom,Algebra.algebraMap,AlgEquiv.restrictNormal,OfNat.ofNatProof uses:
Eq.mpr,id,congr,congrArg,forall_congr,congrFun',forall_congr',Function.Injective.eq_iff,FaithfulSMul.algebraMap_injective47 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem forall_apply_algebraMap_iff_restrictNormal_eq_one (σ : M ≃ₐ[K] M) : (∀ x : L, σ (algebraMap L M x) = algebraMap L M x) ↔ σ.restrictNormal L = 1 := by … - theorem
Algebra.IsQuadraticExtension.card_algEquivA separable quadratic extension has exactly two automorphisms line 50 sourceSource documentation
A separable quadratic extension has exactly two automorphisms.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Algebra.IsSeparable,Eq,Nat,Nat.card,AlgEquiv,OfNat.ofNatProof uses:
Eq.mpr,Module.finrank,id,congrArg,IsGalois.card_aut_eq_finrank,Algebra.IsQuadraticExtension.finrank_eq_two24 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem Algebra.IsQuadraticExtension.card_algEquiv : Nat.card (L ≃ₐ[K] L) = 2 := by …
- theorem
Algebra.IsQuadraticExtension.exists_algEquiv_ne_oneA separable quadratic extension has a nontrivial automorphism line 55 sourceSource documentation
A separable quadratic extension has a nontrivial automorphism.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Algebra.IsSeparable,Exists,AlgEquiv,Ne,OfNat.ofNatProof uses:
ExistsUnique.exists,Iff.mp,Eq,Nat,Nat.card,ExistsUnique,Nat.card_eq_two_iff', Algebra.IsQuadraticExtension.card_algEquiv31 instances, coercions and auxiliary constants left out.
theorem Algebra.IsQuadraticExtension.exists_algEquiv_ne_one : ∃ σ : L ≃ₐ[K] L, σ ≠ 1 := …
- theorem
Algebra.IsQuadraticExtension.algEquiv_eq_one_or_eqThe only automorphisms of a separable quadratic extension are the identity and any given nontrivial automorphism line 60 sourceSource documentation
The only automorphisms of a separable quadratic extension are the identity and any given nontrivial automorphism.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Algebra.IsSeparable,AlgEquiv,Ne,OfNat.ofNat,Or,EqProof uses:
eq_or_ne,Or.inl,Or.inr,ExistsUnique.unique,Iff.mp,Nat,Nat.card,ExistsUnique,Nat.card_eq_two_iff', Algebra.IsQuadraticExtension.card_algEquiv32 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
theorem Algebra.IsQuadraticExtension.algEquiv_eq_one_or_eq {σ : L ≃ₐ[K] L} (hσ : σ ≠ 1) (φ : L ≃ₐ[K] L) : φ = 1 ∨ φ = σ := by … - theorem
Algebra.IsQuadraticExtension.algEquiv_mul_selfThe nontrivial automorphism of a separable quadratic extension is an involution line 67 sourceSource documentation
The nontrivial automorphism of a separable quadratic extension is an involution.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Algebra.IsSeparable,AlgEquiv,Ne,OfNat.ofNat,Eq,HMul.hMulProof uses:
Or.resolve_right, Algebra.IsQuadraticExtension.algEquiv_eq_one_or_eq,absurd,False,Iff.mp,mul_eq_left47 instances, coercions and auxiliary constants left out.
theorem Algebra.IsQuadraticExtension.algEquiv_mul_self {σ : L ≃ₐ[K] L} (hσ : σ ≠ 1) : σ * σ = 1 := … - theorem
Algebra.IsQuadraticExtension.mem_range_algebraMap_of_apply_eqAn element fixed by a nontrivial automorphism — hence,Gal(L/K)having order two, by all ofGal(L/K)— lies in the base field line 73 sourceSource documentation
An element fixed by a nontrivial automorphism — hence,
Gal(L/K)having order two, by all ofGal(L/K)— lies in the base field.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Algebra.IsSeparable,AlgEquiv,Ne,OfNat.ofNat,Eq,Membership.mem,Set,Set.range,RingHom,Algebra.algebraMapProof uses:
Eq.mpr,id,congrArg,propext,IsGalois.mem_range_algebraMap_iff_fixed,Or, Algebra.IsQuadraticExtension.algEquiv_eq_one_or_eq,AlgEquiv.one_apply,Eq.symm44 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
theorem Algebra.IsQuadraticExtension.mem_range_algebraMap_of_apply_eq {σ : L ≃ₐ[K] L} (hσ : σ ≠ 1) {x : L} (hx : σ x = x) : x ∈ Set.range (algebraMap K L) := by … - theorem
Algebra.IsQuadraticExtension.univ_algEquivThe automorphism group of a separable quadratic extension consists of the identity and one nontrivial element line 84 sourceSource documentation
The automorphism group of a separable quadratic extension consists of the identity and one nontrivial element.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Algebra.IsSeparable,AlgEquiv,Ne,OfNat.ofNat,Eq,Finset,Finset.univ,Insert.insert,Classical.propDecidable,Singleton.singletonProof uses:
Eq.symm,Finset.eq_univ_of_forall,Eq.mpr,Membership.mem,Or,id,Eq.trans,congrArg, Algebra.IsQuadraticExtension.algEquiv_eq_one_or_eq42 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem Algebra.IsQuadraticExtension.univ_algEquiv {σ : L ≃ₐ[K] L} (hσ : σ ≠ 1) : (Finset.univ : Finset (L ≃ₐ[K] L)) = {1, σ} := … - theorem
Algebra.IsQuadraticExtension.algEquiv_apply_neThe nontrivial automorphism of a separable quadratic extension moves every element lying outside the base field line 90 sourceSource documentation
The nontrivial automorphism of a separable quadratic extension moves every element lying outside the base field.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Algebra.IsSeparable,AlgEquiv,Ne,OfNat.ofNat,Not,Membership.mem,Set,Set.range,RingHom,Algebra.algebraMapProof uses:
Eq, Algebra.IsQuadraticExtension.mem_range_algebraMap_of_apply_eq40 instances, coercions and auxiliary constants left out.
theorem Algebra.IsQuadraticExtension.algEquiv_apply_ne {σ : L ≃ₐ[K] L} (hσ : σ ≠ 1) {x : L} (hx : x ∉ Set.range (algebraMap K L)) : σ x ≠ x := … - theorem
Algebra.IsQuadraticExtension.algEquiv_apply_eq_neg_of_sq_eqThe nontrivial automorphism of a separable quadratic extension sends a square rootα ∉ Kof an element ofKto-αline 96 sourceSource documentation
The nontrivial automorphism of a separable quadratic extension sends a square root
α ∉ Kof an element ofKto-α.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Algebra.IsSeparable,AlgEquiv,Ne,OfNat.ofNat,Not,Membership.mem,Set,Set.range,RingHom,Algebra.algebraMap,Eq,HPow.hPow,Nat,Neg.negProof uses: Algebra.IsQuadraticExtension.algEquiv_apply_ne,
HMul.hMul,HSub.hSub,HAdd.hAdd,Eq.mpr,id,congrArg,Eq.symm,map_pow,AlgEquiv.commutes,Eq.refl,Mathlib.Tactic.LinearCombination.eq_of_eq,Mathlib.Tactic.LinearCombination.eq_rearrange,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.Common.sub_congr,Nat.rawCast,Mathlib.Tactic.Ring.Common.add_congr,Int.rawCast,inferInstance,Ringand 51 more98 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
theorem Algebra.IsQuadraticExtension.algEquiv_apply_eq_neg_of_sq_eq {σ : L ≃ₐ[K] L} (hσ : σ ≠ 1) {α : L} {d : K} (hαK : α ∉ Set.range (algebraMap K L)) (hα : α ^ 2 = algebraMap K L d) : σ α = -α := by … - def
quadraticCharacterThe quadratic character ofAut(M/K)attached to a separable quadratic subextensionK ⊆ L ⊆ M: it sendsσto1ifσfixesLpointwise, and to-1otherwise line 116 sourceSource documentation
The quadratic character of
Aut(M/K)attached to a separable quadratic subextensionK ⊆ L ⊆ M: it sendsσto1ifσfixesLpointwise, and to-1otherwise.Since
L/Kis normal, everyK-automorphism ofMmapsLtoL, and multiplicativity (map_mul') follows because restriction toLis a homomorphism to the order 2 groupGal(L/K). TakingM = Lgives the quadratic character ofGal(L/K)itself; ifM/Kis normal then this character is the composite of the restrictionAut(M/K) → Gal(L/K)with the unique isomorphismGal(L/K) ≃ {±1}, and in particular is surjective (quadraticCharacter_surjective).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,IsScalarTower,Algebra.IsSeparable,MonoidHom,AlgEquiv,Units,IntProof uses:
MonoidHom.mk,OneHom.mk,ite,Eq,RingHom,Algebra.algebraMap,Classical.propDecidable,OfNat.ofNat,Neg.neg47 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
noncomputable def quadraticCharacter : (M ≃ₐ[K] M) →* ℤˣ where …
- theorem
quadraticCharacter_eq_one_iffline 133 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,IsScalarTower,Algebra.IsSeparable,AlgEquiv,Iff,Eq,Units,Int,MonoidHom, quadraticCharacter,OfNat.ofNat,RingHom,Algebra.algebraMapProof uses:
id,MonoidHom.mk,OneHom.mk,ite,Classical.propDecidable,Neg.neg,dite,Eq.mpr,congrFun',congrArg,ite_eq_left,iff_of_true,rfl,Not,ite_eq_right,iff_of_false,False.elim,False,Eq.mp,eq_false'and 2 more61 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- theorem
quadraticCharacter_surjectiveDocumented declaration: quadraticCharacter_surjective line 145 sourceSource documentation
If
M/Kis normal (for exampleM = L, orMa separable closure ofK) then the nontrivial element ofGal(L/K)extends to an automorphism ofM, so the quadratic character ofAut(M/K)attached toL/Kis surjective.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,IsScalarTower,Algebra.IsSeparable,Normal,Function.Surjective,AlgEquiv,Units,Int,MonoidHom, quadraticCharacterProof uses:
Eq,OfNat.ofNat,Neg.neg,Or,Exists,Int.units_eq_one_or,Exists.intro,map_one,Eq.symm,Ne, Algebra.IsQuadraticExtension.exists_algEquiv_ne_one,AlgEquiv.restrictNormalHom,AlgEquiv.restrictNormalHom_surjective,Or.resolve_left,Eq.mpr,id,congrArg,Iff.mp,RingHom,Algebra.algebraMapand 3 more59 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
theorem quadraticCharacter_surjective [Normal K M] : Function.Surjective (quadraticCharacter K L M) := by …Mentions: quadraticCharacter