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.RelativeProjective.Families |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.ClassifierNaturality |
| 3 | |
| 4 | /-! # Affine Classifier -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affine classifiers for a relative projective Hilbert family are natural under every affine test map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {T : Over S} {n B N : ℕ} {P : Polynomial ℚ} |
| 17 | variable (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P) |
| 18 | variable (hN : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 19 | variable (hflat : Truncated.FinitePersistence.truncatedFlatnessBound n N ≤ B) (htest : Truncated.PolynomialTest.truncatedHilbertTestBound n N ≤ B) |
| 20 | variable (hr : Generated.RankTests.GeneratedHilbertRankTest n P N) |
| 21 | |
| 22 | def RelativeProjective.Families.RelativeProjectiveHilbertFamily.affineClassifyingMap {R : CommRingCat.{u}} [IsNoetherianRing R] (x : Spec R ⟶ T.left) : |
| 23 | Spec R ⟶ (Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N).left := |
| 24 | (Flat.ClosedParameterEquivalence.flatClosedHilbertAffinePointEquiv hN hflat htest hr (x ≫ T.hom) (F.affineFamily x)).left |
| 25 | |
| 26 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.affineClassifyingMap_over {R : CommRingCat.{u}} [IsNoetherianRing R] (x : Spec R ⟶ T.left) : |
| 27 | F.affineClassifyingMap hN hflat htest hr x ≫ |
| 28 | (Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N).hom = x ≫ T.hom := |
| 29 | (Flat.ClosedParameterEquivalence.flatClosedHilbertAffinePointEquiv hN hflat htest hr (x ≫ T.hom) (F.affineFamily x)).w |
| 30 | |
| 31 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.affineClassifyingMap_coefficients {R A : CommRingCat.{u}} |
| 32 | [IsNoetherianRing R] [IsNoetherianRing A] (x : Spec R ⟶ T.left) (φ : R ⟶ A) : |
| 33 | Spec.map φ ≫ F.affineClassifyingMap hN hflat htest hr x = |
| 34 | F.affineClassifyingMap hN hflat htest hr (Spec.map φ ≫ x) := by |
| 35 | have he : F.affineFamily (Spec.map φ ≫ x) = |
| 36 | (F.affineFamily x).coefficientBaseChange hN hflat htest hr φ := |
| 37 | Subtype.ext (F.family.affineProjectivePullback_coefficient x φ) |
| 38 | have h := congrArg Over.Hom.left (Hilbert.ClassifierNaturality.flatClosedHilbertClassifier_coefficientBaseChange |
| 39 | hN hflat htest hr (x ≫ T.hom) (F.affineFamily x) φ) |
| 40 | rw [← he] at h |
| 41 | simp only [Over.comp_left, Over.homMk_left] at h |
| 42 | unfold RelativeProjective.Families.RelativeProjectiveHilbertFamily.affineClassifyingMap |
| 43 | rw [Category.assoc] |
| 44 | exact h.symm |
| 45 | |
| 46 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.affineClassifyingMap_natural {R A : CommRingCat.{u}} |
| 47 | [IsNoetherianRing R] [IsNoetherianRing A] (x : Spec R ⟶ T.left) (a : Spec A ⟶ Spec R) : |
| 48 | a ≫ F.affineClassifyingMap hN hflat htest hr x = F.affineClassifyingMap hN hflat htest hr (a ≫ x) := by |
| 49 | let φ : R ⟶ A := (Spec.fullyFaithful.preimage a).unop |
| 50 | have he : Spec.map φ = a := Spec.fullyFaithful.map_preimage a |
| 51 | rw [← he] |
| 52 | exact F.affineClassifyingMap_coefficients hN hflat htest hr x φ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |