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.AlgebraUnitIdealCech |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.FormLocalizationCover |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.GradedAction |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.CechBoundaries |
| 5 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.IntegerPolynomialGrading |
| 6 | |
| 7 | /-! # Form Localized Cech -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.FormLocalizedCech.ProjectiveCech |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Localization at a homogeneous linear form makes the actual augmented projective Čech complex exact in every degree. -/ |
| 14 | |
| 15 | open _root_.MvPolynomial DirectSum |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {σ : Type u} [Fintype σ] [LinearOrder σ] |
| 20 | variable (R : Type v) [CommRing R] |
| 21 | variable (M : Type w) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 22 | [IsScalarTower R (MvPolynomial σ R) M] |
| 23 | |
| 24 | theorem linearFormLocalized_cech_boundary (l : MvPolynomial σ R) (hl : l.IsHomogeneous 1) |
| 25 | (q : ℕ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R (Presentations.Module.Fractions.GradedModules.AwayModule l M)) |
| 26 | (hf : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R (Presentations.Module.Fractions.GradedModules.AwayModule l M) q f) |
| 27 | (hcycle : ModuleCech.Card.ProjectiveCech.moduleCechDifferential R (Presentations.Module.Fractions.GradedModules.AwayModule l M) f = 0) : |
| 28 | f ∈ Cech.Boundaries.ProjectiveCech.moduleCechBoundarySubmodule R (Presentations.Module.Fractions.GradedModules.AwayModule l M) q := by |
| 29 | let : Module (Localization.Away l) (Presentations.Module.Fractions.GradedModules.AwayModule l M) := inferInstance |
| 30 | let : IsScalarTower (MvPolynomial σ R) (Localization.Away l) (Presentations.Module.Fractions.GradedModules.AwayModule l M) := inferInstance |
| 31 | let : IsScalarTower R (Localization.Away l) (Presentations.Module.Fractions.GradedModules.AwayModule l M) := by |
| 32 | apply IsScalarTower.of_algebraMap_smul |
| 33 | intro r x |
| 34 | rw [IsScalarTower.algebraMap_apply R (MvPolynomial σ R) (Localization.Away l)] |
| 35 | exact (algebraMap_smul (Localization.Away l) (algebraMap R (MvPolynomial σ R) r) x).trans |
| 36 | (algebraMap_smul (MvPolynomial σ R) r x) |
| 37 | exact AlgebraUnitIdealCech.ProjectiveCech.moduleCech_boundary_of_algebra_unit_ideal R (Localization.Away l) (Presentations.Module.Fractions.GradedModules.AwayModule l M) |
| 38 | (FormLocalizationCover.ProjectiveCech.linearFormLocalization_coordinates_span_top R l hl) q f hf hcycle |
| 39 | |
| 40 | theorem linearFormLocalized_moduleCechExactAt |
| 41 | (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 42 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 43 | (l : MvPolynomial σ R) (hl : l.IsHomogeneous 1) (d : ℤ) (q : ℕ) : |
| 44 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R (Presentations.Module.Fractions.GradedModules.AwayModule l M) (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ l 1) d q := by |
| 45 | have hl' : l ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading R (1 : ℤ) := by |
| 46 | rw [show (1 : ℤ) = ((1 : ℕ) : ℤ) from rfl, IntegerPolynomialGrading.GradedModules.polynomialIntegerGrading_nat] |
| 47 | exact hl |
| 48 | let := Localized.Grading.GradedModules.localizedDegreeDecomposition (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ l 1 hl' |
| 49 | let := Localized.GradedAction.GradedModules.localizedDegree_gradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ l 1 hl' |
| 50 | intro f hf hfc hcycle |
| 51 | exact Homogeneous.CechBoundaries.ProjectiveCech.homogeneous_moduleCech_boundary R (Presentations.Module.Fractions.GradedModules.AwayModule l M) (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ l 1) d q f hf |
| 52 | (linearFormLocalized_cech_boundary R M l hl q f hfc hcycle) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.FormLocalizedCech.ProjectiveCech |