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.Projective.ZeroIdeals |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ModuleCech |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.IntegerQuotient |
| 4 | |
| 5 | /-! # Zero Cech -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ZeroCech.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Uniform Čech exactness for every saturated homogeneous coordinate quotient of projective zero-space. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ModuleCech.ProjectiveCech |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem coordinateCechExactAt_of_bot {R : Type u} [CommRing R] {n : ℕ} |
| 20 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : I.toIdeal = ⊥) (d : ℤ) (hd : 0 ≤ d) (q : ℕ) : |
| 21 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin (n + 1)) R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 22 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q := by |
| 23 | let f := (Ideal.Quotient.mkₐ (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) I.toIdeal).toLinearMap |
| 24 | have hf (a : ℤ) (p : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (hp : p ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading R a) : |
| 25 | f p ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I a := ⟨p, hp, rfl⟩ |
| 26 | have hbij : Function.Bijective f := by |
| 27 | constructor |
| 28 | · intro x y hxy |
| 29 | have h : x - y ∈ I.toIdeal := Ideal.Quotient.eq.mp hxy |
| 30 | rw [hI, Submodule.mem_bot] at h |
| 31 | exact sub_eq_zero.mp h |
| 32 | · exact Ideal.Quotient.mk_surjective |
| 33 | exact (Cech.ModuleIsomorphism.ProjectiveCech.moduleCechExactAt_iff_of_module_bijective R (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) |
| 34 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) f hf hbij d q).mp (Polynomial.ModuleCech.ProjectiveCech.polynomialModuleCech_exactAt R d hd q) |
| 35 | |
| 36 | theorem coordinateCechExactAt_of_top {R : Type u} [CommRing R] {n : ℕ} |
| 37 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : I.toIdeal = ⊤) (d : ℤ) (q : ℕ) : |
| 38 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin (n + 1)) R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 39 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q := by |
| 40 | have hsub : Subsingleton (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) := by |
| 41 | rw [hI] |
| 42 | infer_instance |
| 43 | let := hsub |
| 44 | exact Polynomial.ModuleCech.ProjectiveCech.moduleCechExactAt_of_subsingleton R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 45 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q |
| 46 | |
| 47 | theorem projectiveZero_moduleCechExactAt {K : Type u} [Field K] |
| 48 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K 0)) (hSat : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 49 | (d : ℤ) (hd : 0 ≤ d) (q : ℕ) : |
| 50 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin 1) K (Hilbert.Polynomial.GradedHilbert.CoordinateRing K 0 ⧸ I.toIdeal) |
| 51 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q := by |
| 52 | obtain hI | hI := ZeroIdeals.GradedHilbert.projectiveZero_saturated_ideal_eq_bot_or_top I hSat |
| 53 | · exact coordinateCechExactAt_of_bot I hI d hd q |
| 54 | · exact coordinateCechExactAt_of_top I hI d q |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ZeroCech.GradedHilbert |