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.HilbertConstruction.Rational.PointResidueProjectiveDimension |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareStalk.GeometricMinimalModel |
| 3 | |
| 4 | /-! # Regular Parameters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareStalk.RegularParameters |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual coefficient ring of the dual-zero-stalk Poincare model has a regular sequence of g maximal-ideal generators, and its residue field has projective dimension g. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry IsLocalRing |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem regular_sequence_ringEquiv |
| 19 | {R S : Type u} [CommRing R] [CommRing S] (e : R ≃+* S) |
| 20 | (rs : List R) (hreg : Regular.SequenceBasic.RingTheory.Sequence.IsRegular R rs) : Regular.SequenceBasic.RingTheory.Sequence.IsRegular S (rs.map e) := by |
| 21 | apply (Regular.SequenceBasic.AddEquiv.isRegular_congr (e := e.toAddEquiv) (as := rs) (bs := rs.map e) ?_).mp hreg |
| 22 | apply List.forall₂_map_right_iff.mpr |
| 23 | apply List.forall₂_same.mpr |
| 24 | intro r _ x |
| 25 | exact e.map_mul r x |
| 26 | |
| 27 | namespace DualAbelianData |
| 28 | variable {K : Type u} [Field K] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 29 | variable (D : Dual.Data.DualAbelianData A) |
| 30 | |
| 31 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData.poincareZeroStalk_regular_parameters : |
| 32 | ∃ rs : List Γ(D.poincareZeroStalkScheme, ⊤), |
| 33 | Regular.SequenceBasic.RingTheory.Sequence.IsRegular Γ(D.poincareZeroStalkScheme, ⊤) rs ∧ |
| 34 | Regular.SequenceBasic.Ideal.ofList rs = maximalIdeal Γ(D.poincareZeroStalkScheme, ⊤) ∧ rs.length = g := by |
| 35 | let x := η[D.abelian.scheme].left (IsLocalRing.closedPoint K) |
| 36 | let O := D.abelian.scheme.left.presheaf.stalk x |
| 37 | let R := Γ(D.poincareZeroStalkScheme, ⊤) |
| 38 | let γ : O ≃+* R := (Scheme.ΓSpecIso O).symm.commRingCatIsoToRingEquiv |
| 39 | obtain ⟨rs, hreg, hgen, hlen⟩ := Rational.PointStalkRegularParameters.rationalPoint_stalk_regular_parameters |
| 40 | D.abelian.scheme.hom g η[D.abelian.scheme].left η[D.abelian.scheme].w |
| 41 | refine ⟨rs.map γ, regular_sequence_ringEquiv γ rs hreg, ?_, ?_⟩ |
| 42 | · change Regular.SequenceBasic.Ideal.ofList (rs.map γ.toRingHom) = maximalIdeal R |
| 43 | rw [← Regular.SequenceBasic.Ideal.map_ofList] |
| 44 | exact (congrArg (Ideal.map γ.toRingHom) hgen).trans (IsLocalRing.map_ringEquiv_maximalIdeal γ) |
| 45 | · simpa only [List.length_map] using hlen |
| 46 | |
| 47 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData.poincareZeroStalk_residue_projectiveDimension : |
| 48 | Projective.DimensionBasic.projectiveDimension (ModuleCat.of.{u} Γ(D.poincareZeroStalkScheme, ⊤) |
| 49 | (ResidueField Γ(D.poincareZeroStalkScheme, ⊤))) = (g : WithBot ℕ∞) := by |
| 50 | obtain ⟨rs, hreg, hgen, hlen⟩ := D.poincareZeroStalk_regular_parameters |
| 51 | exact (Rational.PointResidueProjectiveDimension.residue_projectiveDimension_of_regular_parameters Γ(D.poincareZeroStalkScheme, ⊤) |
| 52 | rs hreg hgen).trans (congrArg (fun n : ℕ => (n : WithBot ℕ∞)) hlen) |
| 53 | |
| 54 | end DualAbelianData |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareStalk.RegularParameters |