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.Uniform.GeneratedReconstruction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.FamilyClassification |
| 3 | |
| 4 | /-! # Generated Parameter Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.GeneratedParameterPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual parameter maps for saturated flat projective families, with injectivity on their homogeneous ideals. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : CommRingCat.{u}} [IsNoetherianRing R] {S : Scheme.{u}} {n : ℕ} |
| 17 | variable (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (hSat : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 18 | variable [Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 19 | variable (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, |
| 20 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 21 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 22 | variable (N : ℕ) (hN : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) (B : ℕ) (f : Spec R ⟶ S) |
| 23 | |
| 24 | def uniformGeneratedParameterPoint : |
| 25 | Over.mk f ⟶ Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (GeneratedCoordinates.generatedHilbertRanks n P N) N := |
| 26 | Truncated.GeneratedParameters.truncatedGeneratedAffinePointEquiv R f |
| 27 | ⟨(GeneratedCoordinates.uniformGeneratedData I hSat P hP N hN).truncate B, |
| 28 | GeneratedCoordinates.uniformGeneratedData_truncate_condition I hSat P hP N hN B⟩ |
| 29 | |
| 30 | variable (J : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (hSatJ : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.IsSaturated J.toIdeal) |
| 31 | variable [Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J))] |
| 32 | variable (hPJ : ∀ p : PrimeSpectrum R, |
| 33 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 34 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) J)).toIdeal P) |
| 35 | |
| 36 | theorem uniformGeneratedParameterPoint_injective (hB : N ≤ B) |
| 37 | (heq : uniformGeneratedParameterPoint I hSat P hP N hN B f = |
| 38 | uniformGeneratedParameterPoint J hSatJ P hPJ N hN B f) : I = J := by |
| 39 | have hd := (Truncated.GeneratedParameters.truncatedGeneratedAffinePointEquiv R f).injective heq |
| 40 | have hd' := congrArg Subtype.val hd |
| 41 | have hi := congrArg (fun D : Truncated.GradedClassification.TruncatedGradedQuotientData R (Fin (n + 1)) B |
| 42 | (GeneratedCoordinates.generatedHilbertRanks n P N) => HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation D.generatedIdeal) hd' |
| 43 | rw [GeneratedReconstruction.uniformGeneratedTruncation_saturation I hSat P hP N hN B hB, |
| 44 | GeneratedReconstruction.uniformGeneratedTruncation_saturation J hSatJ P hPJ N hN B hB] at hi |
| 45 | exact hi |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.GeneratedParameterPoints |