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.ProjectiveSections |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.FlatImages |
| 3 | |
| 4 | /-! # Projective Augmentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.ProjectiveAugmentation.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Uniform surjectivity from homogeneous coordinates to projective sections, detected through the actual residue-field Čech complexes. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.FlatImages.ProjectiveCech |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 19 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (P : Polynomial ℚ) |
| 20 | variable (hP : ∀ p : PrimeSpectrum R, |
| 21 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 22 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 23 | |
| 24 | include hP in |
| 25 | theorem coordinateCech_residueField_exact_all (d : ℤ) (hd : (RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P : ℤ) ≤ d) |
| 26 | (q : ℕ) (p : PrimeSpectrum R) : |
| 27 | Function.Exact ((ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 28 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q).lTensor p.asIdeal.ResidueField) |
| 29 | ((ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 30 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d (q + 1)).lTensor p.asIdeal.ResidueField) := by |
| 31 | apply (Coordinate.CechTensorExactness.GradedHilbert.coordinateCech_tensor_exact_iff (S := p.asIdeal.ResidueField) I d q).mpr |
| 32 | let J := Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I |
| 33 | apply (Saturation.PositiveCech.GradedHilbert.saturationCech_exact_iff J d q).mpr |
| 34 | exact Cech.FlatAugmentation.ProjectiveCech.moduleCechTermDifferential_exact p.asIdeal.ResidueField |
| 35 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing p.asIdeal.ResidueField n ⧸ (Projective.Saturation.GradedHilbert.projectiveSaturation J).toIdeal) |
| 36 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Projective.Saturation.GradedHilbert.projectiveSaturation J)) d q |
| 37 | (FieldCechBound.GradedHilbert.saturated_cech_exact_uniform (Projective.Saturation.GradedHilbert.projectiveSaturation J) (Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated J) |
| 38 | P (hP p) d hd (q + 1)) |
| 39 | |
| 40 | variable [IsNoetherianRing R] [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 41 | |
| 42 | include hP in |
| 43 | theorem uniform_projective_augmentation_exact (d : ℤ) (hd : (RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P : ℤ) ≤ d) : |
| 44 | Function.Exact (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 45 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d 0) |
| 46 | (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 47 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d 1) := by |
| 48 | let f := ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 49 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d 0 |
| 50 | let g := ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 51 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d 1 |
| 52 | let : Module.Flat R g.range := Cech.FlatImages.ProjectiveCech.moduleCech_positive_image_flat R |
| 53 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d (fun s hs => by |
| 54 | let : Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 55 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s 0) := Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.coordinateChartDegreeZero_flat I s hs |
| 56 | exact EventualDegreeFlatness.ProjectiveCech.moduleChartDegree_flat_of_zero R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 57 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s hs d ((Int.natCast_nonneg _).trans hd)) |
| 58 | (ProjectiveSections.GradedHilbert.uniform_projective_sections_flat I P hP d hd).2 0 |
| 59 | let : Module.Finite R (FiberwiseExactness.linearKernelCohomology R f g |
| 60 | (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential_square R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d 0)) := |
| 61 | Presentations.Finite.CechKernelQuotients.ProjectiveCech.moduleCech_kernelQuotient_finite R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d 0 |
| 62 | exact FiberwiseExactness.exact_of_residueFields_of_flat_range R f g |
| 63 | (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential_square R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d 0) |
| 64 | (coordinateCech_residueField_exact_all I P hP d hd 0) |
| 65 | |
| 66 | include hP in |
| 67 | theorem uniform_projective_cech_exact (d : ℤ) (hd : (RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P : ℤ) ≤ d) |
| 68 | (q : ℕ) : Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin (n + 1)) R |
| 69 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d (q + 1) := by |
| 70 | cases q with |
| 71 | | zero => |
| 72 | intro f hf hfc hfd |
| 73 | have hz : ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 74 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d 1 ⟨f, hf, hfc⟩ = 0 := Subtype.ext hfd |
| 75 | obtain ⟨g, hg⟩ := (uniform_projective_augmentation_exact I P hP d hd _).mp hz |
| 76 | exact ⟨g.val, g.property.1, g.property.2, congrArg Subtype.val hg⟩ |
| 77 | | succ q => exact (ProjectiveSections.GradedHilbert.uniform_projective_sections_flat I P hP d hd).2 q |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.ProjectiveAugmentation.GradedHilbert |