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.AbelianScheme.FrobeniusKernel.ChosenLabels |
| 2 | |
| 3 | /-! # CM Points Model Labels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsModelLabels.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The chosen-pair enumeration has exactly the dimension index of CMPoints. -/ |
| 10 | |
| 11 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 12 | variable [IsGalois ℚ E] [NumberField.IsCMField E] [Field K] [NumberField K] |
| 13 | |
| 14 | theorem exists_l45ModelLabels (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 15 | (chosen : Set Gal(E/ℚ)) (hc : PELModuli.CMPoints.Arithmetic.rationalConjugation E ∈ chosen) |
| 16 | (hchosen : ∀ τ, τ ∈ chosen ↔ PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ ∉ chosen) : |
| 17 | ∃ labels : (Fin M.s × Bool) ≃ Gal(E/ℚ), |
| 18 | labels (⟨0, hM.1⟩, false) = PELModuli.CMPoints.Arithmetic.rationalConjugation E ∧ |
| 19 | (∀ (v : Fin M.s) (b : Bool), labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) ∧ |
| 20 | (∀ v, labels (v, false) ∈ chosen) ∧ |
| 21 | (∀ v, labels (v, true) ∉ chosen) := by |
| 22 | obtain ⟨s, e, he0, hec, hechosen, henot⟩ := ChosenLabels.Construction.exists_l45ChosenLabels chosen hc hchosen |
| 23 | have hcard := Nat.card_congr e |
| 24 | have hdegree := IsGalois.card_aut_eq_finrank ℚ E |
| 25 | have hdimension := hM.2.1 |
| 26 | have hbool : Nat.card Bool = 2 := by rw [Nat.card_eq_fintype_card, Fintype.card_bool] |
| 27 | have hsize : s + 1 = M.s := by |
| 28 | simp only [Nat.card_prod, Nat.card_fin, hbool] at hcard |
| 29 | omega |
| 30 | let efin : Fin M.s ≃ Fin (s + 1) := finCongr hsize.symm |
| 31 | let labels := (Equiv.prodCongr efin (Equiv.refl Bool)).trans e |
| 32 | refine ⟨labels, ?_, ?_, ?_, ?_⟩ |
| 33 | · exact he0 |
| 34 | · intro v b |
| 35 | cases b with |
| 36 | | false => exact hec (efin v) |
| 37 | | true => |
| 38 | change e (efin v, false) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * e (efin v, true) |
| 39 | rw [hec, ← mul_assoc, PELModuli.CMPoints.Models.rationalConjugation_mul_self, one_mul] |
| 40 | · intro v |
| 41 | exact hechosen (efin v) |
| 42 | · intro v |
| 43 | exact henot (efin v) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsModelLabels.Construction |