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.VariablePowers |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.IntegerQuotient |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualDegreeFlatness |
| 4 | |
| 5 | /-! # Chart Modules -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.ChartModules.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Projective saturation induces actual isomorphisms on every nonempty localized chart module, in every degree. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualDegreeFlatness.ProjectiveCech |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 20 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 21 | |
| 22 | def saturationQuotientMap : (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) →ₗ[Hilbert.Polynomial.GradedHilbert.CoordinateRing R n] |
| 23 | Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal := |
| 24 | (Ideal.Quotient.factorₐ (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (show I.toIdeal ≤ (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal from |
| 25 | Projective.Saturation.GradedHilbert.le_projectiveSaturation I)).toLinearMap |
| 26 | |
| 27 | theorem saturationQuotientMap_surjective : Function.Surjective (saturationQuotientMap I) := |
| 28 | Ideal.Quotient.factor_surjective (show I.toIdeal ≤ (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal from Projective.Saturation.GradedHilbert.le_projectiveSaturation I) |
| 29 | |
| 30 | theorem saturationQuotientMap_homogeneous (d : ℤ) |
| 31 | (x : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (hx : x ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I d) : |
| 32 | saturationQuotientMap I x ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I) d := by |
| 33 | obtain ⟨f, hf, rfl⟩ := hx |
| 34 | exact ⟨f, hf, rfl⟩ |
| 35 | |
| 36 | theorem saturationChartMap_eq_zero (s : Finset (Fin (n + 1))) (hs : s.Nonempty) |
| 37 | (x : Graded.ModuleRestriction.ProjectiveCech.ModuleChart R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) s) |
| 38 | (hx : Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (saturationQuotientMap I) x = 0) : x = 0 := by |
| 39 | obtain ⟨k, m, rfl⟩ := Module.Fractions.GradedModules.moduleFractionMap_surj (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) x |
| 40 | obtain ⟨f, rfl⟩ := Ideal.Quotient.mk_surjective m |
| 41 | rw [Localized.GradedExactness.GradedModules.awayModuleMap_fraction] at hx |
| 42 | obtain ⟨l, hl⟩ := (Module.Fractions.GradedModules.moduleFractionMap_eq_zero (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) k _).mp hx |
| 43 | have hmem : LaurentMonomials.ProjectiveCech.inversionMonomial R s ^ l * f ∈ (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal := |
| 44 | Ideal.Quotient.eq_zero_iff_mem.mp hl |
| 45 | obtain ⟨i, hi⟩ := hs |
| 46 | obtain ⟨a, ha⟩ := VariablePowers.GradedHilbert.projectiveSaturation_variable_power I _ hmem i |
| 47 | have he : LaurentMonomials.ProjectiveCech.inversionMonomial R s ^ (l + a) * f = |
| 48 | LaurentMonomials.ProjectiveCech.inversionMonomial R (s.erase i) ^ a * (X i ^ a * (LaurentMonomials.ProjectiveCech.inversionMonomial R s ^ l * f)) := by |
| 49 | rw [EventualDegreeFlatness.ProjectiveCech.inversionMonomial_factor_variable R s i hi] |
| 50 | ring |
| 51 | apply (Module.Fractions.GradedModules.moduleFractionMap_eq_zero (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) k _).mpr |
| 52 | refine ⟨l + a, ?_⟩ |
| 53 | change Ideal.Quotient.mk I.toIdeal (LaurentMonomials.ProjectiveCech.inversionMonomial R s ^ (l + a) * f) = 0 |
| 54 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 55 | rw [he] |
| 56 | exact I.toIdeal.mul_mem_left _ ha |
| 57 | |
| 58 | theorem saturationChartMap_bijective (s : Finset (Fin (n + 1))) (hs : s.Nonempty) : |
| 59 | Function.Bijective (Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (saturationQuotientMap I)) := by |
| 60 | constructor |
| 61 | · intro x y hxy |
| 62 | apply sub_eq_zero.mp |
| 63 | apply saturationChartMap_eq_zero I s hs |
| 64 | rw [map_sub, hxy, sub_self] |
| 65 | · exact Localized.GradedExactness.GradedModules.awayModuleMap_surjective _ _ (saturationQuotientMap_surjective I) |
| 66 | |
| 67 | def saturationChartDegreeEquiv (s : Finset (Fin (n + 1))) (hs : s.Nonempty) (d : ℤ) : |
| 68 | Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s d ≃ₗ[R] |
| 69 | Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal) |
| 70 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I)) s d := |
| 71 | LinearEquiv.ofBijective (Localized.GradedExactness.GradedModules.localizedDegreeMap (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) |
| 72 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I)) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) |
| 73 | (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) (saturationQuotientMap I) (saturationQuotientMap_homogeneous I) d) |
| 74 | ⟨by |
| 75 | intro x y hxy |
| 76 | exact Subtype.ext ((saturationChartMap_bijective I s hs).1 (congrArg Subtype.val hxy)), |
| 77 | Localized.GradedExactness.GradedModules.localizedDegreeMap_surjective (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) |
| 78 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation I)) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) |
| 79 | (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) (saturationQuotientMap I) |
| 80 | (saturationQuotientMap_homogeneous I) (saturationQuotientMap_surjective I) d⟩ |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.ChartModules.GradedHilbert |