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.Hilbert.FamiliesAtParameterPoints |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.EmbeddedBaseChange |
| 3 | |
| 4 | /-! # Closed Family Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual coefficient base change preserves flat closed Hilbert families in the bounded parameter construction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R A : CommRingCat.{u}} [IsNoetherianRing R] [IsNoetherianRing A] |
| 17 | variable {n B N : ℕ} {P : Polynomial ℚ} |
| 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 Flat.ClosedFamilies.FlatClosedHilbertFamily.coefficientBaseChange (F : Flat.ClosedFamilies.FlatClosedHilbertFamily R n P) (φ : R ⟶ A) : |
| 23 | Flat.ClosedFamilies.FlatClosedHilbertFamily A n P := by |
| 24 | let x := Flat.ClosedParameterEquivalence.flatClosedHilbertAffinePointEquiv hN hflat htest hr (𝟙 (Spec R)) F |
| 25 | let y : Over.mk (Spec.map φ) ⟶ Truncated.GeneratedParameters.truncatedGeneratedParameters (Spec R) n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N := |
| 26 | (Over.homMk (Spec.map φ) (Category.comp_id _) : Over.mk (Spec.map φ) ⟶ Over.mk (𝟙 (Spec R))) ≫ x |
| 27 | let G := Hilbert.FamiliesAtParameterPoints.hilbertFamilyAtParameterPoint hN hflat htest hr (Spec.map φ) y |
| 28 | let C := F.val.pullbackAlong (Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n) (Spec.map φ) (Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback φ n) |
| 29 | have he : G.val = C := by |
| 30 | change Generated.PullbackAffineCharts.generatedPullbackFamilyAtAffinePoint (Spec.map φ ≫ x.left) hflat = C |
| 31 | rw [Generated.EmbeddedBaseChange.generatedPullbackFamilyAtAffinePoint_baseChange, |
| 32 | Flat.ClosedUniversality.flatClosedHilbertClassifier_pullback_eq hN hflat htest hr (𝟙 (Spec R)) F] |
| 33 | exact ⟨C, he ▸ G.property⟩ |
| 34 | |
| 35 | theorem Flat.ClosedFamilies.FlatClosedHilbertFamily.coefficientBaseChange_val |
| 36 | (F : Flat.ClosedFamilies.FlatClosedHilbertFamily R n P) (φ : R ⟶ A) : |
| 37 | (F.coefficientBaseChange hN hflat htest hr φ).val = |
| 38 | F.val.pullbackAlong (Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n) (Spec.map φ) (Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback φ n) := rfl |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |