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.Saturation.ChartModules |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.DegreeMapExactness |
| 3 | |
| 4 | /-! # Cech Exactness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.CechExactness.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Saturation preserves the full homogeneous Čech complex whenever it preserves the augmentation degree. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.DegreeMapExactness.ProjectiveCech |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 19 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (d : ℕ) |
| 20 | variable (hdeg : Hilbert.Polynomial.GradedHilbert.degreeRelations (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal d = Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d) |
| 21 | |
| 22 | include hdeg in |
| 23 | theorem saturationQuotientMap_homogeneous_eq_zero |
| 24 | (m : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (hm : m ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I (d : ℤ)) |
| 25 | (hz : ChartModules.GradedHilbert.saturationQuotientMap I m = 0) : m = 0 := by |
| 26 | rw [Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading_nat] at hm |
| 27 | obtain ⟨f, hf, rfl⟩ := hm |
| 28 | have hsat : f ∈ (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal := Ideal.Quotient.eq_zero_iff_mem.mp hz |
| 29 | have hmem : (⟨f, hf⟩ : Hilbert.Polynomial.GradedHilbert.grading R n d) ∈ Hilbert.Polynomial.GradedHilbert.degreeRelations (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal d := hsat |
| 30 | rw [hdeg] at hmem |
| 31 | exact Ideal.Quotient.eq_zero_iff_mem.mpr hmem |
| 32 | |
| 33 | include hdeg in |
| 34 | theorem saturationChartMap_homogeneous_eq_zero (s : Finset (Fin (n + 1))) |
| 35 | (x : Graded.ModuleRestriction.ProjectiveCech.ModuleChart R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) s) |
| 36 | (hx : x ∈ Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s (d : ℤ)) |
| 37 | (hz : Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (ChartModules.GradedHilbert.saturationQuotientMap I) x = 0) : x = 0 := by |
| 38 | by_cases hs : s.Nonempty |
| 39 | · exact ChartModules.GradedHilbert.saturationChartMap_eq_zero I s hs x hz |
| 40 | · have he : s = ∅ := Finset.not_nonempty_iff_eq_empty.mp hs |
| 41 | subst s |
| 42 | obtain ⟨k, m, hm, hmx⟩ := (Localized.DegreePieces.GradedModules.mem_localizedDegreePiece_iff (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) |
| 43 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (LaurentMonomials.ProjectiveCech.inversionMonomial R ∅) (∅ : Finset (Fin (n + 1))).card |
| 44 | (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R ∅) (d : ℤ) x).mp hx |
| 45 | simp only [Finset.card_empty, Nat.cast_zero, mul_zero, add_zero] at hm |
| 46 | rw [← hmx, Localized.GradedExactness.GradedModules.awayModuleMap_fraction] at hz |
| 47 | obtain ⟨a, ha⟩ := (Module.Fractions.GradedModules.moduleFractionMap_eq_zero (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R ∅) k _).mp hz |
| 48 | have hpm : ChartModules.GradedHilbert.saturationQuotientMap I m = 0 := by |
| 49 | simpa only [Cech.AugmentationDegree.ProjectiveCech.inversionMonomial_empty, one_pow, one_smul] using ha |
| 50 | have hm0 := saturationQuotientMap_homogeneous_eq_zero I d hdeg m hm hpm |
| 51 | rw [← hmx, hm0, map_zero] |
| 52 | |
| 53 | include hdeg in |
| 54 | theorem saturationCechDegreeMap_bijective (s : Finset (Fin (n + 1))) : |
| 55 | Function.Bijective (Cech.DegreeMapExactness.ProjectiveCech.moduleCechDegreeMap R (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) |
| 56 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I)) (ChartModules.GradedHilbert.saturationQuotientMap I) |
| 57 | (ChartModules.GradedHilbert.saturationQuotientMap_homogeneous I) (d : ℤ) s) := by |
| 58 | constructor |
| 59 | · intro x y hxy |
| 60 | apply sub_eq_zero.mp |
| 61 | apply Subtype.ext |
| 62 | apply saturationChartMap_homogeneous_eq_zero I d hdeg s (x - y).val (x - y).property |
| 63 | have hz : Cech.DegreeMapExactness.ProjectiveCech.moduleCechDegreeMap R (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) |
| 64 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I)) (ChartModules.GradedHilbert.saturationQuotientMap I) |
| 65 | (ChartModules.GradedHilbert.saturationQuotientMap_homogeneous I) (d : ℤ) s (x - y) = 0 := by |
| 66 | rw [map_sub, hxy, sub_self] |
| 67 | exact congrArg Subtype.val hz |
| 68 | · exact Localized.GradedExactness.GradedModules.localizedDegreeMap_surjective (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) |
| 69 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I)) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) |
| 70 | (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) (ChartModules.GradedHilbert.saturationQuotientMap I) |
| 71 | (ChartModules.GradedHilbert.saturationQuotientMap_homogeneous I) (ChartModules.GradedHilbert.saturationQuotientMap_surjective I) (d : ℤ) |
| 72 | |
| 73 | include hdeg in |
| 74 | theorem saturation_moduleCechExactAt_iff (q : ℕ) : |
| 75 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin (n + 1)) R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 76 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) q ↔ |
| 77 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin (n + 1)) R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal) |
| 78 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I)) (d : ℤ) q := |
| 79 | Cech.DegreeMapExactness.ProjectiveCech.moduleCechExactAt_iff_of_degreeMap_bijective R (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) |
| 80 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I)) (ChartModules.GradedHilbert.saturationQuotientMap I) |
| 81 | (ChartModules.GradedHilbert.saturationQuotientMap_homogeneous I) (d : ℤ) (saturationCechDegreeMap_bijective I d hdeg) q |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.CechExactness.GradedHilbert |