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.Relative.Functor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.ParameterFiniteness |
| 3 | import Mathlib.CategoryTheory.Yoneda |
| 4 | |
| 5 | /-! # Representation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.Representation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual representing scheme for the Hilbert-family presheaf on locally noetherian tests, under the constructed degree bounds and finite numerical Hilbert test. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | def generatedLocallyNoetherianParameter (S : Scheme.{u}) [IsLocallyNoetherian S] |
| 18 | (n B : ℕ) (r : ℕ → ℕ) (N : ℕ) : Relative.Functor.LocallyNoetherianTest S where |
| 19 | obj := Truncated.GeneratedParameters.truncatedGeneratedParameters S n B r N |
| 20 | property := by |
| 21 | have : LocallyOfFinitePresentation (Truncated.GeneratedParameters.truncatedGeneratedParameters S n B r N).hom := |
| 22 | Generated.ParameterFiniteness.truncatedGeneratedParameters_locallyFinitePresentation S n B r N |
| 23 | exact LocallyOfFiniteType.isLocallyNoetherian (Truncated.GeneratedParameters.truncatedGeneratedParameters S n B r N).hom |
| 24 | |
| 25 | def locallyNoetherianHomEquiv {S : Scheme.{u}} (T U : Relative.Functor.LocallyNoetherianTest S) : |
| 26 | (T.obj ⟶ U.obj) ≃ (T ⟶ U) := InducedCategory.homEquiv.symm |
| 27 | |
| 28 | variable (S : Scheme.{u}) [IsLocallyNoetherian S] {n B N : ℕ} {P : Polynomial ℚ} |
| 29 | variable (hN : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 30 | variable (hflat : Truncated.FinitePersistence.truncatedFlatnessBound n N ≤ B) (htest : Truncated.PolynomialTest.truncatedHilbertTestBound n N ≤ B) |
| 31 | variable (hr : Generated.RankTests.GeneratedHilbertRankTest n P N) |
| 32 | |
| 33 | def locallyNoetherianHilbertClassifyingIso : Relative.Functor.locallyNoetherianHilbertFunctor S n P ≅ |
| 34 | yoneda.obj (generatedLocallyNoetherianParameter S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N) := |
| 35 | NatIso.ofComponents (fun T => |
| 36 | ((Relative.ParameterEquivalence.relativeProjectiveHilbertParameterEquiv (T := T.unop.obj) hN hflat htest hr).trans |
| 37 | (locallyNoetherianHomEquiv T.unop |
| 38 | (generatedLocallyNoetherianParameter S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N))).toIso) (by |
| 39 | intro T U f |
| 40 | apply ConcreteCategory.hom_ext |
| 41 | intro F |
| 42 | apply ObjectProperty.hom_ext |
| 43 | exact RelativeProjective.Families.RelativeProjectiveHilbertFamily.classifyingMap_natural |
| 44 | (V := T.unop.obj) (W := U.unop.obj) F hN hflat htest hr f.unop.hom) |
| 45 | |
| 46 | include hN hflat htest hr in |
| 47 | theorem locallyNoetherianHilbert_isRepresentable : (Relative.Functor.locallyNoetherianHilbertFunctor S n P).IsRepresentable := |
| 48 | Functor.IsRepresentable.mk' (locallyNoetherianHilbertClassifyingIso S hN hflat htest hr).symm |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.Representation |