Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Splitting |
| 2 | |
| 3 | /-! # Common Embedded Fields -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.CommonEmbeddedFields |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Finitely many point fields over the arithmetic base embed in one |
| 12 | number field with their given base embeddings preserved. -/ |
| 13 | |
| 14 | theorem exists_complex_field_extension |
| 15 | {B F : Type} [Field B] [NumberField B] [Field F] [NumberField F] |
| 16 | (κ : B →+* ℂ) (i : B →+* F) : |
| 17 | ∃ σ : F →+* ℂ, σ.comp i = κ := by |
| 18 | let : Algebra B F := i.toAlgebra |
| 19 | let : IsScalarTower ℚ B F := IsScalarTower.of_algebraMap_eq (fun r => by |
| 20 | change (r : F) = i (r : B) |
| 21 | simp) |
| 22 | let : Algebra.IsAlgebraic B F := Algebra.IsAlgebraic.tower_top (K := ℚ) B |
| 23 | let : Algebra B ℂ := κ.toAlgebra |
| 24 | let σ : F →ₐ[B] ℂ := IsAlgClosed.lift |
| 25 | exact ⟨σ.toRingHom, by ext x; exact σ.commutes x⟩ |
| 26 | |
| 27 | /-- The chosen common field is an actual finite subfield of C, and all |
| 28 | point-field maps agree on the prescribed arithmetic base. -/ |
| 29 | theorem exists_compatible_common_field |
| 30 | {B : Type} [Field B] [NumberField B] (κ : B →+* ℂ) |
| 31 | {Idx : Type*} [Finite Idx] (F : Idx → Type) |
| 32 | [∀ i, Field (F i)] [∀ i, NumberField (F i)] (iF : ∀ i, B →+* F i) : |
| 33 | ∃ C : Subfield ℂ, NumberField C ∧ |
| 34 | ∃ (iB : B →+* C) (eF : ∀ i, F i →+* C), |
| 35 | C.subtype.comp iB = κ ∧ ∀ i, (eF i).comp (iF i) = iB := by |
| 36 | classical |
| 37 | choose σ hσ using (fun i => exists_complex_field_extension κ (iF i)) |
| 38 | let fields : Option Idx → Type |
| 39 | | none => B |
| 40 | | some i => F i |
| 41 | let fieldStructures : ∀ i, Field (fields i) |
| 42 | | none => inferInstanceAs (Field B) |
| 43 | | some i => inferInstanceAs (Field (F i)) |
| 44 | let numberFields : ∀ i, NumberField (fields i) |
| 45 | | none => inferInstanceAs (NumberField B) |
| 46 | | some i => inferInstanceAs (NumberField (F i)) |
| 47 | let C := ComplexMultiplication.CommonCMField.CM.conjugateCompositum fields |
| 48 | let iB := (ComplexMultiplication.CommonCMField.CM.conjugateCompositum.embedding fields none κ.toRatAlgHom).toRingHom |
| 49 | let eF (i : Idx) := |
| 50 | (ComplexMultiplication.CommonCMField.CM.conjugateCompositum.embedding fields (some i) (σ i).toRatAlgHom).toRingHom |
| 51 | refine ⟨C.toSubfield, inferInstanceAs (NumberField C), iB, eF, ?_, ?_⟩ |
| 52 | · rfl |
| 53 | · intro i |
| 54 | ext x |
| 55 | exact RingHom.congr_fun (hσ i) x |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! A common number field preserving every already chosen complex |
| 60 | embedding, including the individual CM model identifications. -/ |
| 61 | |
| 62 | theorem exists_common_embedded_numberField |
| 63 | {I : Type*} [Finite I] (F : I → Type) |
| 64 | [∀ i, Field (F i)] [∀ i, NumberField (F i)] (κ : ∀ i, F i →+* ℂ) : |
| 65 | ∃ C : Subfield ℂ, NumberField C ∧ |
| 66 | ∃ e : ∀ i, F i →+* C, ∀ i, C.subtype.comp (e i) = κ i := by |
| 67 | let C := ComplexMultiplication.CommonCMField.CM.conjugateCompositum F |
| 68 | let e (i : I) := |
| 69 | (ComplexMultiplication.CommonCMField.CM.conjugateCompositum.embedding F i (κ i).toRatAlgHom).toRingHom |
| 70 | exact ⟨C.toSubfield, inferInstanceAs (NumberField C), e, fun _ => rfl⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.CommonEmbeddedFields |