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.AugmentationMap |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.TermTensorInclusion |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.Singleton |
| 4 | import Mathlib.LinearAlgebra.TensorProduct.Pi |
| 5 | |
| 6 | /-! # Section Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.SectionMap.ProjectiveCech |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The homogeneous section map into actual localized Čech cochains and its tensor injectivity. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial DirectSum |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable {σ : Type v} [Fintype σ] [LinearOrder σ] |
| 19 | variable (R : Type u) [CommRing 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) |
| 23 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 24 | |
| 25 | def moduleDegreeSectionMap (d : ℤ) : ℳ d →ₗ[R] ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M := |
| 26 | (ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d 1).subtype.comp |
| 27 | ((ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d 0).comp |
| 28 | (AugmentationMap.ProjectiveCech.moduleAugmentationToTerm (σ := σ) R M ℳ d)) |
| 29 | |
| 30 | omit [Fintype σ] in |
| 31 | theorem moduleCechValue_augmentation (m : M) (s t : Finset σ) (h : t ⊆ s) (ht : t.card = 0) : |
| 32 | ModuleCech.Square.ProjectiveCech.moduleCechValue R M (EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain (σ := σ) R M m) s t h = |
| 33 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) 0 m := by |
| 34 | change Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M h (if t.card = 0 then _ else _) = _ |
| 35 | rw [ite_eq_left ht, Presentations.Module.ChartCompatibility.ProjectiveCech.moduleChartRestriction_fraction, pow_zero, one_smul] |
| 36 | |
| 37 | omit [Fintype σ] in |
| 38 | theorem moduleDegreeSectionMap_singleton (d : ℤ) (m : ℳ d) (i : σ) : |
| 39 | moduleDegreeSectionMap (σ := σ) R M ℳ d m {i} = |
| 40 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R {i}) 0 m.val := by |
| 41 | change ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M (EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain (σ := σ) R M m.val) {i} = _ |
| 42 | rw [Singleton.ProjectiveCech.moduleCechDifferential_singleton] |
| 43 | have hsign : Signs.ProjectiveCech.alternatingSign R {i} i = 1 := by |
| 44 | have he : ({i} : Finset σ).filter (fun j => j < i) = ∅ := by |
| 45 | apply Finset.filter_eq_empty_iff.mpr |
| 46 | intro j hj |
| 47 | have hj' := Finset.mem_singleton.mp hj |
| 48 | subst j |
| 49 | exact lt_irrefl i |
| 50 | simp only [Signs.ProjectiveCech.alternatingSign, he, Finset.card_empty, pow_zero] |
| 51 | rw [hsign, one_smul] |
| 52 | exact moduleCechValue_augmentation R M m.val {i} (({i} : Finset σ).erase i) (Finset.erase_subset i {i}) |
| 53 | (by simp only [Finset.erase_singleton, Finset.card_empty]) |
| 54 | |
| 55 | omit [Fintype σ] in |
| 56 | theorem moduleDegreeSectionMap_proj (d : ℤ) (s : Finset σ) : |
| 57 | (LinearMap.proj s).comp (moduleDegreeSectionMap (σ := σ) R M ℳ d) = |
| 58 | if s.card = 1 then (Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) 0).comp (ℳ d).subtype |
| 59 | else 0 := by |
| 60 | apply LinearMap.ext |
| 61 | intro m |
| 62 | by_cases hs : s.card = 1 |
| 63 | · obtain ⟨i, rfl⟩ := Finset.card_eq_one.mp hs |
| 64 | simpa only [ite_eq_left (Finset.card_singleton i), LinearMap.comp_apply, LinearMap.proj_apply, |
| 65 | Submodule.subtype_apply] using moduleDegreeSectionMap_singleton R M ℳ d m i |
| 66 | · rw [ite_eq_right hs] |
| 67 | exact (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d 0 |
| 68 | (AugmentationMap.ProjectiveCech.moduleAugmentationToTerm (σ := σ) R M ℳ d m)).property.2 s hs |
| 69 | |
| 70 | theorem moduleDegreeSectionMap_tensor_coordinate (d : ℤ) |
| 71 | (S : Type w) [AddCommGroup S] [Module R S] |
| 72 | (x : TensorProduct R S (ℳ d)) (s : Finset σ) : |
| 73 | TensorProduct.piRight R R S (fun t : Finset σ => Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M t) |
| 74 | ((moduleDegreeSectionMap (σ := σ) R M ℳ d).lTensor S x) s = |
| 75 | (((LinearMap.proj s).comp (moduleDegreeSectionMap (σ := σ) R M ℳ d)).lTensor S) x := by |
| 76 | induction x using TensorProduct.inductionOn with |
| 77 | | tmul r m => rfl |
| 78 | | add x y hx hy => simp only [map_add, Pi.add_apply, hx, hy] |
| 79 | |
| 80 | theorem moduleDegreeSectionMap_eventual_lTensor_injective [Nonempty σ] [IsNoetherianRing R] |
| 81 | [Decomposition ℳ] [Module.Finite (MvPolynomial σ R) M] |
| 82 | (hflat : ∀ s : Finset σ, s.Nonempty → Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s 0)) : |
| 83 | ∃ B : ℕ, ∀ d : ℤ, (B : ℤ) ≤ d → |
| 84 | ∀ (S : Type w) [AddCommGroup S] [Module R S], |
| 85 | Function.Injective ((moduleDegreeSectionMap (σ := σ) R M ℳ d).lTensor S) := by |
| 86 | obtain ⟨B, hB⟩ := TensorAugmentation.ProjectiveCech.moduleCech_eventual_lTensor_injective (σ := σ) R M ℳ hflat |
| 87 | refine ⟨B, fun d hd S _ _ => ?_⟩ |
| 88 | rw [moduleDegreeSectionMap, LinearMap.lTensor_comp, LinearMap.lTensor_comp] |
| 89 | exact (TermTensorInclusion.ProjectiveCech.moduleCechTermSubtype_lTensor_injective R M ℳ d 1 S).comp |
| 90 | ((hB d hd S).comp (AugmentationMap.ProjectiveCech.moduleAugmentationToTerm_lTensor_injective R M ℳ d S)) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.SectionMap.ProjectiveCech |