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.CanonicalFiberPolynomial |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.AffineClassification |
| 3 | |
| 4 | /-! # Polynomial Parameter Uniqueness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.PolynomialParameterUniqueness.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A native family with its canonical polynomial determines its Hilbert |
| 11 | parameter on every locally noetherian test scheme. -/ |
| 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 | variable {T : Over S} [IsLocallyNoetherian T.left] |
| 19 | |
| 20 | theorem noetherian_polynomial_hilbert_parameter_unique |
| 21 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) (P : Polynomial ℚ) |
| 22 | (hP : CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) |
| 23 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 24 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) |
| 25 | (x y : T ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) |
| 26 | (hx : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 27 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F) |
| 28 | (hy : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) y |
| 29 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F) : |
| 30 | x = y := by |
| 31 | apply Over.OverMorphism.ext |
| 32 | apply MapStalkDetection.schemeHom_eq_of_fromSpecStalk x.left y.left |
| 33 | intro t |
| 34 | let R : Type u := T.left.presheaf.stalk t |
| 35 | let : IsLocalRing R := inferInstanceAs (IsLocalRing (T.left.presheaf.stalk t)) |
| 36 | let : IsNoetherianRing R := inferInstanceAs (IsNoetherianRing (T.left.presheaf.stalk t)) |
| 37 | let f : Spec (.of R) ⟶ S := T.left.fromSpecStalk t ≫ T.hom |
| 38 | let b : Over.mk f ⟶ T := Over.homMk (T.left.fromSpecStalk t) rfl |
| 39 | let G := Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F |
| 40 | have hG := (hP.pullback b).affine_residue |
| 41 | obtain ⟨z, _, hz⟩ := AffineClassification.GradedHilbert.existsUnique_noetherian_affine_hilbert_parameter f G P hG hN hr |
| 42 | have hxb : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (b ≫ x) |
| 43 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = G := by |
| 44 | rw [Hilbert.Functor.pullbackFamily_comp, hx] |
| 45 | have hyb : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (b ≫ y) |
| 46 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = G := by |
| 47 | rw [Hilbert.Functor.pullbackFamily_comp, hy] |
| 48 | exact congrArg Over.Hom.left ((hz (b ≫ x) hxb).trans (hz (b ≫ y) hyb).symm) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.PolynomialParameterUniqueness.GradedHilbert |