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.HilbertScheme.Presentations.ArbitraryLocalInjectivity |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.LocalSpectraDetection |
| 3 | |
| 4 | /-! # Arbitrary Injectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryInjectivity.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Hilbert parameters are uniquely determined by their actual native |
| 11 | families on every test scheme, without a noetherianity assumption on tests. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {n N : ℕ} |
| 17 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 18 | |
| 19 | theorem boundedHilbertUniversalFamily_injective |
| 20 | (P : Polynomial ℚ) |
| 21 | (hP : BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) P) |
| 22 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 23 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) |
| 24 | (T : Over S) : |
| 25 | Function.Injective (fun x : T ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S |
| 26 | (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) => |
| 27 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 28 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P))) := by |
| 29 | intro x y h |
| 30 | apply Over.OverMorphism.ext |
| 31 | apply LocalSpectraDetection.schemeHom_eq_of_localSpectra x.left y.left |
| 32 | intro t |
| 33 | let R : Type u := T.left.presheaf.stalk t |
| 34 | let : IsLocalRing R := inferInstanceAs (IsLocalRing (T.left.presheaf.stalk t)) |
| 35 | let f : Spec (.of R) ⟶ S := T.left.fromSpecStalk t ≫ T.hom |
| 36 | let b : Over.mk f ⟶ T := Over.homMk (T.left.fromSpecStalk t) rfl |
| 37 | have hb : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (b ≫ x) |
| 38 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = |
| 39 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (b ≫ y) |
| 40 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) := by |
| 41 | rw [Hilbert.Functor.pullbackFamily_comp, Hilbert.Functor.pullbackFamily_comp] |
| 42 | exact congrArg (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b) h |
| 43 | exact congrArg Over.Hom.left |
| 44 | (ArbitraryLocalInjectivity.GradedHilbert.boundedHilbertUniversalFamily_arbitrary_local_injective P hP hN hr f hb) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryInjectivity.GradedHilbert |