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.ArbitraryClassification |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.PolynomialTransformation |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.ProjectivePresentation |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.UnrealizableRepresentation |
| 5 | |
| 6 | /-! # Polynomial Representation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.PolynomialRepresentation.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The constructed projective Hilbert scheme represents the exact |
| 13 | polynomial subfunctor on all test schemes. Unrealizable polynomials |
| 14 | are represented by the empty projective scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {n N : ℕ} |
| 20 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 21 | |
| 22 | theorem boundedHilbertPolynomialTransformation_isIso |
| 23 | (P : Polynomial ℚ) |
| 24 | (hP : BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) P) |
| 25 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 26 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 27 | IsIso (BoundedHilbert.PolynomialTransformation.GradedHilbert.boundedHilbertPolynomialTransformation (ι := ι) n N S |
| 28 | (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) P hP) := by |
| 29 | apply (NatTrans.isIso_iff_isIso_app _).mpr |
| 30 | intro T |
| 31 | apply (isIso_iff_bijective _).mpr |
| 32 | constructor |
| 33 | · intro x y h |
| 34 | exact ArbitraryInjectivity.GradedHilbert.boundedHilbertUniversalFamily_injective P hP hN hr T.unop (congrArg Subtype.val h) |
| 35 | · intro F |
| 36 | obtain ⟨x, hx, _⟩ := ArbitraryClassification.GradedHilbert.existsUnique_arbitrary_exact_hilbert_parameter F.val P F.property hN hr |
| 37 | exact ⟨x, Subtype.ext hx⟩ |
| 38 | |
| 39 | def boundedHilbertPolynomialRepresentation |
| 40 | (P : Polynomial ℚ) |
| 41 | (hP : BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) P) |
| 42 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 43 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 44 | yoneda.obj (BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) ≅ |
| 45 | (PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) P).toFunctor := by |
| 46 | let := boundedHilbertPolynomialTransformation_isIso (S := S) (ι := ι) P hP hN hr |
| 47 | exact asIso (BoundedHilbert.PolynomialTransformation.GradedHilbert.boundedHilbertPolynomialTransformation (ι := ι) n N S |
| 48 | (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) P hP) |
| 49 | |
| 50 | theorem exists_projectiveSpace_hilbert_representation (S : Scheme.{u}) [IsLocallyNoetherian S] |
| 51 | (n : ℕ) (P : Polynomial ℚ) : |
| 52 | ∃ H : Over S, Has.Core.IsProjectiveOver H ∧ |
| 53 | Nonempty (yoneda.obj H ≅ |
| 54 | (PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) P).toFunctor) := by |
| 55 | classical |
| 56 | let N := Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P |
| 57 | let ι : Type u := ULift.{u} (Fin (P.eval (N : ℚ)).num.toNat) |
| 58 | have hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat := by simp [ι] |
| 59 | have hN : Truncation.GradedHilbert.hilbertParameterDegree.{u} n P ≤ N := le_max_right _ _ |
| 60 | by_cases hP : BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) P |
| 61 | · refine ⟨BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 62 | BoundedHilbert.ProjectivePresentation.GradedHilbert.boundedHilbert_isProjectiveOver P hP hN hr, ?_⟩ |
| 63 | exact ⟨boundedHilbertPolynomialRepresentation (S := S) (ι := ι) P hP le_rfl hr⟩ |
| 64 | · exact ⟨EmptyProjectiveParameter.Core.emptyParameterOver S, EmptyProjectiveParameter.Core.emptyParameter_isProjectiveOver S, |
| 65 | ⟨UnrealizableRepresentation.Core.unrealizableHilbertPolynomialRepresentation (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) P N hN hP⟩⟩ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.PolynomialRepresentation.GradedHilbert |