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.Intrinsic.FlatEquationModel |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.FlatPolynomialDescent |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.CanonicalFiberPolynomial |
| 4 | |
| 5 | /-! # Flat Model Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.FlatModelPolynomial.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual native family polynomial is inherited by the constructed |
| 12 | Noetherian local flat equation model, hence by every fiber of that model. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {A B : Type u} [CommRing A] [IsLocalRing A] |
| 18 | variable [CommRing B] [IsNoetherianRing B] [Algebra B A] {n : ℕ} |
| 19 | variable {a : Spec (.of A) ⟶ S} |
| 20 | variable {F : Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)} |
| 21 | variable (E : AffineEquationModel.GradedHilbert.NativeAffineEquations a F) |
| 22 | |
| 23 | theorem nativeLocalFlatEquationModel_hilbertPolynomial |
| 24 | (P : Polynomial ℚ) (hP : CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) : |
| 25 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal |
| 26 | (S := (FlatEquationModel.GradedHilbert.nativeLocalFlatEquationModel (B := B) E).R) (AffineEquationModel.GradedHilbert.nativeEquationModelIdeal E B)).toIdeal P := by |
| 27 | let M := FlatEquationModel.GradedHilbert.nativeLocalFlatEquationModel (B := B) E |
| 28 | let I := Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := M.R) (AffineEquationModel.GradedHilbert.nativeEquationModelIdeal E B) |
| 29 | have : Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := M.flat |
| 30 | let p : PrimeSpectrum A := IsLocalRing.closedPoint A |
| 31 | let K := p.asIdeal.ResidueField |
| 32 | let : Algebra M.R K := ((algebraMap A K).comp (algebraMap M.R A)).toAlgebra |
| 33 | let : IsScalarTower M.R A K := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 34 | exact Local.FlatPolynomialDescent.GradedHilbert.localFlat_hilbertPolynomial_of_saturated_baseChange (K := K) I |
| 35 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a F) (FlatEquationModel.GradedHilbert.nativeLocalFlatEquationModel_coordinates (B := B) E) |
| 36 | P (hP.affine_residue p) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.FlatModelPolynomial.GradedHilbert |