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.Cech.SectionMap |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorFractionTorsion |
| 3 | |
| 4 | /-! # Tensor Irrelevant Torsion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorIrrelevantTorsion.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! High homogeneous degrees remain free of irrelevant torsion after arbitrary tensor base change. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial DirectSum |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorFractionTorsion.GradedModules |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable {σ : Type v} [Fintype σ] [LinearOrder σ] [Nonempty σ] |
| 19 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 20 | variable (M : Type (max u v)) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 21 | [IsScalarTower R (MvPolynomial σ R) M] |
| 22 | variable (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 23 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 24 | [Module.Finite (MvPolynomial σ R) M] |
| 25 | |
| 26 | theorem eventual_tensor_no_irrelevant_torsion |
| 27 | (hflat : ∀ s : Finset σ, s.Nonempty → Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s 0)) : |
| 28 | ∃ B : ℕ, ∀ d : ℤ, (B : ℤ) ≤ d → |
| 29 | ∀ (S : Type w) [AddCommGroup S] [Module R S], ∀ x : TensorProduct R S (ℳ d), |
| 30 | (∀ i : σ, ∃ k : ℕ, ((TensorFractionTorsion.GradedModules.moduleScalarEnd (R := R) M (X (R := R) i ^ k)).lTensor S) |
| 31 | (((ℳ d).subtype.lTensor S) x) = 0) → x = 0 := by |
| 32 | obtain ⟨B, hB⟩ := Cech.SectionMap.ProjectiveCech.moduleDegreeSectionMap_eventual_lTensor_injective (σ := σ) R M ℳ hflat |
| 33 | refine ⟨B, fun d hd S _ _ x hx => ?_⟩ |
| 34 | apply hB d hd S |
| 35 | rw [map_zero] |
| 36 | apply (TensorProduct.piRight R R S (fun s : Finset σ => Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M s)).injective |
| 37 | rw [map_zero] |
| 38 | funext s |
| 39 | rw [Cech.SectionMap.ProjectiveCech.moduleDegreeSectionMap_tensor_coordinate, Cech.SectionMap.ProjectiveCech.moduleDegreeSectionMap_proj] |
| 40 | by_cases hs : s.card = 1 |
| 41 | · rw [ite_eq_left hs, LinearMap.lTensor_comp_apply] |
| 42 | obtain ⟨i, hi⟩ := Finset.card_pos.mp (by omega : 0 < s.card) |
| 43 | obtain ⟨k, hk⟩ := hx i |
| 44 | exact TensorFractionTorsion.GradedModules.tensorFraction_zero_of_power_torsion M (LaurentMonomials.ProjectiveCech.inversionMonomial R s) |
| 45 | (X i) (LaurentMonomials.ProjectiveCech.inversionMonomial R (s.erase i)) (EventualDegreeFlatness.ProjectiveCech.inversionMonomial_factor_variable R s i hi) |
| 46 | S _ k hk |
| 47 | · rw [ite_eq_right hs, LinearMap.lTensor_zero, LinearMap.zero_apply] |
| 48 | rfl |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorIrrelevantTorsion.ProjectiveCech |