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.AbelianModuli.ReferenceFamily.SimultaneousCharacterLieLocus |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.LieCharacterComparison |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.OverLocusClassification |
| 4 | |
| 5 | /-! # Lie Rank Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.LieRankLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original integral PEL Lie-rank condition is represented by a |
| 12 | constructed clopen subscheme in characteristic zero. Its classifier |
| 13 | ranges over every test scheme and the original pulled-back family. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem exists_integral_lie_rank_locus |
| 18 | {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | [CommRing R] [Algebra ℚ R] {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 20 | (iotaO : NumberField.RingOfIntegers E →+* R) (M : Over (Spec (.of R))) |
| 21 | [IsLocallyNoetherian M.left] (A : HilbertConstruction.Abelian.Schemes.AbelianScheme (3 * s) M.left) |
| 22 | (ρ : ActionData.IntegralAction (NumberField.RingOfIntegers E) A) : |
| 23 | ∃ (L : Over (Spec (.of R))) (j : L ⟶ M), |
| 24 | IsOpenImmersion j.left ∧ IsClosedImmersion j.left ∧ |
| 25 | ∀ (T : Over (Spec (.of R))) (x : T ⟶ M), |
| 26 | PELModuli.IntegralModel.PEL.Has.HasIntegralLieRanks P R iotaO T (A.pullback x.left) (ρ.pullback x.left) ↔ |
| 27 | ∃! f : T ⟶ L, f ≫ j = x := by |
| 28 | let : Algebra ℚ Γ(M.left, ⊤) := |
| 29 | ((M.hom.appTop.hom.comp (Scheme.ΓSpecIso (.of R)).inv.hom).comp (algebraMap ℚ R)).toAlgebra |
| 30 | obtain ⟨U, hU, hc⟩ := SimultaneousCharacterLieLocus.exists_simultaneous_character_lie_rank_open A ρ |
| 31 | (PELModuli.IntegralModel.Integral.LieCharacters.integralLieCharacter M iotaO) P.lieRank |
| 32 | let : IsClosedImmersion U.ι := IsClosedImmersion.of_isPreimmersion U.ι (by |
| 33 | rw [Scheme.Opens.range_ι] |
| 34 | exact hU) |
| 35 | let L : Over (Spec (.of R)) := Over.mk (U.ι ≫ M.hom) |
| 36 | let j : L ⟶ M := Over.homMk U.ι rfl |
| 37 | refine ⟨L, j, inferInstanceAs (IsOpenImmersion U.ι), inferInstanceAs (IsClosedImmersion U.ι), ?_⟩ |
| 38 | intro T x |
| 39 | exact (PELModuli.IntegralModel.Integral.LieCharacterComparison.integralLieRanks_iff_character_conditions P iotaO A ρ x).trans |
| 40 | ((hc T.left x.left).trans (PELModuli.IntegralModel.OverLocusClassification.over_existsUnique_lift_iff j x).symm) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.LieRankLocus |