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.Uniform.SaturatedCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorBoundedComplex |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorIrrelevantTorsion |
| 4 | |
| 5 | /-! # Saturated Tensor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.SaturatedTensor.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Uniform injectivity of saturated projective coordinates persists under tensoring with every coefficient module. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial TensorProduct _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorIrrelevantTorsion.ProjectiveCech |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 20 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hSat : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 21 | variable [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 22 | variable (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, |
| 23 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 24 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 25 | |
| 26 | include hSat hP in |
| 27 | theorem uniform_saturated_augmentation_lTensor_injective (d : ℕ) (hd : RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P ≤ d) |
| 28 | (S : Type v) [AddCommGroup S] [Module R S] : |
| 29 | Function.Injective ((ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 30 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) 0).lTensor S) := by |
| 31 | apply TensorBoundedComplex.lTensor_augmentation_injective_of_bounded_exact R (n + 1) |
| 32 | (fun q => ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := Fin (n + 1)) R |
| 33 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) q) |
| 34 | (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ)) |
| 35 | · intro q |
| 36 | exact Cech.FlatAugmentation.ProjectiveCech.moduleCechTermDifferential_exact R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 37 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) q |
| 38 | (ProjectiveAugmentation.GradedHilbert.uniform_projective_cech_exact I P hP (d : ℤ) (by exact_mod_cast hd) q) |
| 39 | · exact ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential_zero R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 40 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) (n + 1 + 2) (by simp only [Fintype.card_fin]; omega) |
| 41 | · exact SaturatedCechAugmentation.GradedHilbert.saturatedCechAugmentation_injective I hSat d |
| 42 | · intro q hq _ |
| 43 | apply ModuleCech.Terms.ProjectiveCech.moduleCechTerm_flat R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) q (by omega) |
| 44 | intro s hs |
| 45 | let : Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 46 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s 0) := Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.coordinateChartDegreeZero_flat I s hs |
| 47 | exact EventualDegreeFlatness.ProjectiveCech.moduleChartDegree_flat_of_zero R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 48 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s hs (d : ℤ) (Int.natCast_nonneg d) |
| 49 | |
| 50 | include hSat hP in |
| 51 | theorem uniform_saturated_sectionMap_lTensor_injective (d : ℕ) (hd : RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P ≤ d) |
| 52 | (S : Type v) [AddCommGroup S] [Module R S] : |
| 53 | Function.Injective ((Cech.SectionMap.ProjectiveCech.moduleDegreeSectionMap (σ := Fin (n + 1)) R |
| 54 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ)).lTensor S) := by |
| 55 | rw [Cech.SectionMap.ProjectiveCech.moduleDegreeSectionMap, LinearMap.lTensor_comp, LinearMap.lTensor_comp] |
| 56 | exact (Cech.TermTensorInclusion.ProjectiveCech.moduleCechTermSubtype_lTensor_injective R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 57 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) 1 S).comp |
| 58 | ((uniform_saturated_augmentation_lTensor_injective I hSat P hP d hd S).comp |
| 59 | (Cech.AugmentationMap.ProjectiveCech.moduleAugmentationToTerm_lTensor_injective R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 60 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) S)) |
| 61 | |
| 62 | include hSat hP in |
| 63 | theorem uniform_saturated_tensor_no_irrelevant_torsion (d : ℕ) (hd : RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P ≤ d) |
| 64 | (S : Type v) [AddCommGroup S] [Module R S] (x : S ⊗[R] Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I (d : ℤ)) |
| 65 | (hx : ∀ i : Fin (n + 1), ∃ k : ℕ, |
| 66 | ((TensorFractionTorsion.GradedModules.moduleScalarEnd (R := R) (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (X (R := R) i ^ k)).lTensor S) |
| 67 | (((Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I (d : ℤ)).subtype.lTensor S) x) = 0) : x = 0 := by |
| 68 | apply uniform_saturated_sectionMap_lTensor_injective I hSat P hP d hd S |
| 69 | rw [LinearMap.map_zero] |
| 70 | apply (TensorProduct.piRight R R S (fun s : Finset (Fin (n + 1)) => |
| 71 | Graded.ModuleRestriction.ProjectiveCech.ModuleChart R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) s)).injective |
| 72 | rw [LinearEquiv.map_zero] |
| 73 | funext s |
| 74 | rw [Cech.SectionMap.ProjectiveCech.moduleDegreeSectionMap_tensor_coordinate, Cech.SectionMap.ProjectiveCech.moduleDegreeSectionMap_proj] |
| 75 | by_cases hs : s.card = 1 |
| 76 | · rw [ite_eq_left hs, LinearMap.lTensor_comp_apply] |
| 77 | obtain ⟨i, hi⟩ := Finset.card_pos.mp (by omega : 0 < s.card) |
| 78 | obtain ⟨k, hk⟩ := hx i |
| 79 | exact TensorFractionTorsion.GradedModules.tensorFraction_zero_of_power_torsion (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) |
| 80 | (X i) (LaurentMonomials.ProjectiveCech.inversionMonomial R (s.erase i)) (EventualDegreeFlatness.ProjectiveCech.inversionMonomial_factor_variable R s i hi) S _ k hk |
| 81 | · rw [ite_eq_right hs, LinearMap.lTensor_zero, LinearMap.zero_apply] |
| 82 | rfl |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.SaturatedTensor.GradedHilbert |