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.ArbitraryLocalClassification |
| 2 | |
| 3 | /-! # Arbitrary Polynomial Parameter Uniqueness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryPolynomialParameterUniqueness.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual native family and its canonical polynomial determine its |
| 10 | Hilbert parameter over every test scheme, including arbitrary nilpotents. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {n N : ℕ} |
| 16 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] {T : Over S} |
| 17 | |
| 18 | theorem polynomial_hilbert_parameter_unique |
| 19 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) (P : Polynomial ℚ) |
| 20 | (hP : CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) |
| 21 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 22 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) |
| 23 | (x y : T ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) |
| 24 | (hx : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 25 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F) |
| 26 | (hy : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) y |
| 27 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F) : |
| 28 | x = y := by |
| 29 | apply Over.OverMorphism.ext |
| 30 | apply LocalSpectraDetection.schemeHom_eq_of_localSpectra x.left y.left |
| 31 | intro t |
| 32 | let R : Type u := T.left.presheaf.stalk t |
| 33 | let : IsLocalRing R := inferInstanceAs (IsLocalRing (T.left.presheaf.stalk t)) |
| 34 | let f : Spec (.of R) ⟶ S := T.left.fromSpecStalk t ≫ T.hom |
| 35 | let b : Over.mk f ⟶ T := Over.homMk (T.left.fromSpecStalk t) rfl |
| 36 | let G := Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F |
| 37 | obtain ⟨z, _, hz⟩ := ArbitraryLocalClassification.GradedHilbert.existsUnique_arbitrary_local_hilbert_parameter f G P (hP.pullback b) hN hr |
| 38 | have hxb : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (b ≫ x) |
| 39 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = G := by |
| 40 | rw [Hilbert.Functor.pullbackFamily_comp, hx] |
| 41 | have hyb : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (b ≫ y) |
| 42 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = G := by |
| 43 | rw [Hilbert.Functor.pullbackFamily_comp, hy] |
| 44 | exact congrArg Over.Hom.left ((hz (b ≫ x) hxb).trans (hz (b ≫ y) hyb).symm) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryPolynomialParameterUniqueness.GradedHilbert |