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.HodgeConjecture.HeckeCycles.PadicEmbeddingPlace |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QadicPlace |
| 3 | |
| 4 | /-! # Paired Place Fibers -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PairedPlaceFibers.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The two q-adic CM embeddings over a fixed real-subfield place are |
| 13 | exactly a conjugate pair, in the actual source field coordinates. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QadicPlace.CM |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 20 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (Q : GeometricSource.CM.SymplecticCoordinates E B places) |
| 21 | {q : ℕ} [Fact q.Prime] (f g : E →+* ℚ_[q]) |
| 22 | |
| 23 | include Q in |
| 24 | theorem embeddings_eq_or_conjugate (h : QadicPlace.CM.realEmbedding E f = QadicPlace.CM.realEmbedding E g) : |
| 25 | f = g ∨ f = g.comp (NumberField.IsCMField.complexConj E).toRingHom := by |
| 26 | have hreal (a : QuadraticConjugation.CM.Field.RealField E) : f (a : E) = g (a : E) := RingHom.congr_fun h a |
| 27 | have hs : f Q.delta ^ 2 = g Q.delta ^ 2 := by |
| 28 | rw [← map_pow, ← map_pow] |
| 29 | exact hreal (QuadraticConjugation.CM.Field.discriminant E Q) |
| 30 | rcases sq_eq_sq_iff_eq_or_eq_neg.mp hs with hs | hs |
| 31 | · left |
| 32 | ext x |
| 33 | obtain ⟨z, rfl⟩ := (QuadraticConjugation.CM.Field.fieldEquiv E Q).surjective x |
| 34 | change f (QuadraticConjugation.CM.Field.toOriginal E Q z) = g (QuadraticConjugation.CM.Field.toOriginal E Q z) |
| 35 | rw [QuadraticConjugation.CM.Field.toOriginal_apply, map_add, map_mul, map_add, map_mul, hreal, hreal, hs] |
| 36 | · right |
| 37 | ext x |
| 38 | obtain ⟨z, rfl⟩ := (QuadraticConjugation.CM.Field.fieldEquiv E Q).surjective x |
| 39 | change f (QuadraticConjugation.CM.Field.toOriginal E Q z) = g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (QuadraticConjugation.CM.Field.toOriginal E Q z)) |
| 40 | rw [QuadraticConjugation.CM.Field.toOriginal_apply, map_add, map_mul, map_add, map_mul, |
| 41 | QuadraticConjugation.CM.real_fixed, QuadraticConjugation.CM.real_fixed, |
| 42 | Q.delta_imaginary, map_add, map_mul, map_neg, hreal, hreal, hs] |
| 43 | |
| 44 | theorem place_conjugate : |
| 45 | QadicPlace.CM.place E (f.comp (NumberField.IsCMField.complexConj E).toRingHom) = QadicPlace.CM.place E f := by |
| 46 | apply congrArg PELModuli.CMPoints.LocalPadic.embeddingPlace |
| 47 | ext x |
| 48 | change f (NumberField.IsCMField.complexConj E (x : E)) = f (x : E) |
| 49 | rw [NumberField.IsCMField.complexConj_apply_eq_self] |
| 50 | |
| 51 | include Q in |
| 52 | theorem place_eq_iff : QadicPlace.CM.place E f = QadicPlace.CM.place E g ↔ |
| 53 | f = g ∨ f = g.comp (NumberField.IsCMField.complexConj E).toRingHom := by |
| 54 | constructor |
| 55 | · intro h |
| 56 | exact embeddings_eq_or_conjugate E Q f g |
| 57 | (PadicEmbeddingPlace.CM.padic_embeddingPlace_injective (QuadraticConjugation.CM.Field.RealField E) h) |
| 58 | · rintro (h | h) |
| 59 | · exact congrArg (QadicPlace.CM.place E) h |
| 60 | · rw [h, place_conjugate] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | /-! Injective conjugate-paired q-adic labels have exactly one pair over |
| 65 | each real-subfield place. -/ |
| 66 | |
| 67 | open scoped Classical _root_.NumberField |
| 68 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 69 | |
| 70 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 71 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (Q : GeometricSource.CM.SymplecticCoordinates E B places) |
| 72 | {q : ℕ} [Fact q.Prime] {I : Type*} (τ : I × Bool → E →+* ℚ_[q]) |
| 73 | (hinj : Function.Injective τ) |
| 74 | (hconj : ∀ i b, τ (i, !b) = (τ (i, b)).comp (NumberField.IsCMField.complexConj E).toRingHom) |
| 75 | |
| 76 | include Q hinj hconj in |
| 77 | theorem fiber (i j : I × Bool) : |
| 78 | QadicPlace.CM.place E (τ i) = QadicPlace.CM.place E (τ j) ↔ i.1 = j.1 := by |
| 79 | constructor |
| 80 | · intro h |
| 81 | rcases (place_eq_iff E Q (τ i) (τ j)).mp h with he | he |
| 82 | · exact congrArg Prod.fst (hinj he) |
| 83 | · have he' : τ i = τ (j.1, !j.2) := he.trans (hconj j.1 j.2).symm |
| 84 | have hi : i = (j.1, !j.2) := hinj he' |
| 85 | have hip := congrArg (fun k : I × Bool => k.1) hi |
| 86 | exact hip |
| 87 | · rcases i with ⟨i, a⟩ |
| 88 | rcases j with ⟨j, b⟩ |
| 89 | intro h |
| 90 | change i = j at h |
| 91 | subst j |
| 92 | have hc (side : Bool) : |
| 93 | QadicPlace.CM.place E (τ (i, !side)) = QadicPlace.CM.place E (τ (i, side)) := by |
| 94 | rw [hconj, place_conjugate] |
| 95 | cases a <;> cases b |
| 96 | · rfl |
| 97 | · exact hc true |
| 98 | · exact hc false |
| 99 | · rfl |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PairedPlaceFibers.CM |