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.HyperplaneRegularityDescent |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ZeroCech |
| 3 | |
| 4 | /-! # Regular Coordinate Flag -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.RegularCoordinateFlag.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A uniform degree bound for successive regular coordinate hyperplane sections. |
| 11 | The hypotheses concern multiplication by the actual coordinate variables in the |
| 12 | successive saturated quotients; they do not assume any Čech exactness. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | def HasRegularCoordinateFlag {K : Type u} [Field K] : |
| 19 | {n : ℕ} → HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n) → Prop |
| 20 | | 0, _ => True |
| 21 | | n + 1, I => RegularInitialIdeal.GradedHilbert.VariableRegular I.toIdeal 0 ∧ |
| 22 | HasRegularCoordinateFlag (n := n) (Projective.Saturation.GradedHilbert.projectiveSaturation (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I)) |
| 23 | |
| 24 | def regularCoordinateFlagBound : ℕ → Polynomial ℚ → ℕ |
| 25 | | 0, _ => 0 |
| 26 | | n + 1, P => max (regularCoordinateFlagBound n (HyperplanePolynomial.GradedHilbert.hilbertDifference P)) |
| 27 | (HyperplaneSaturationBound.GradedHilbert.hyperplaneSaturationBound.{u} n P) |
| 28 | |
| 29 | theorem regularCoordinateFlag_cech_exact {K : Type u} [Field K] {n : ℕ} |
| 30 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) (hSat : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 31 | (hflag : GradedHilbert.HasRegularCoordinateFlag I) (P : Polynomial ℚ) (hP : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P) : |
| 32 | ∀ d : ℤ, (GradedHilbert.regularCoordinateFlagBound.{u} n P : ℤ) ≤ d → ∀ q : ℕ, |
| 33 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin (n + 1)) K (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) |
| 34 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q := by |
| 35 | induction n generalizing P with |
| 36 | | zero => |
| 37 | intro d hd q |
| 38 | exact Projective.ZeroCech.GradedHilbert.projectiveZero_moduleCechExactAt I hSat d hd q |
| 39 | | succ n ih => |
| 40 | obtain ⟨hreg, hflag'⟩ := hflag |
| 41 | apply HyperplaneRegularityDescent.GradedHilbert.coordinate_cech_exact_of_saturated_regular_hyperplane I hSat hreg P hP |
| 42 | (GradedHilbert.regularCoordinateFlagBound.{u} n (HyperplanePolynomial.GradedHilbert.hilbertDifference P)) |
| 43 | exact ih (Projective.Saturation.GradedHilbert.projectiveSaturation (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I)) (Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated _) |
| 44 | hflag' (HyperplanePolynomial.GradedHilbert.hilbertDifference P) (HyperplanePolynomial.GradedHilbert.saturated_coordinateHyperplane_hasHilbertPolynomial I hreg P hP) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.RegularCoordinateFlag.GradedHilbert |