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.EventualIrrelevantTorsion |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.TensorInclusions |
| 3 | |
| 4 | /-! # Augmentation Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.AugmentationMap.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Linear augmentation maps from homogeneous modules to projective Čech terms. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial DirectSum |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.TensorInclusions.GradedModules |
| 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 | |
| 24 | def moduleAugmentationToTerm (d : ℤ) : ℳ d →ₗ[R] ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d 0 where |
| 25 | toFun m := ⟨EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain (σ := σ) R M m.val, |
| 26 | EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain_homogeneous R M ℳ d m.val m.property, |
| 27 | EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain_card R M m.val⟩ |
| 28 | map_add' x y := by |
| 29 | apply Subtype.ext |
| 30 | funext s |
| 31 | by_cases hs : s.card = 0 |
| 32 | · simp only [EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain, ite_eq_left hs, Submodule.coe_add, Pi.add_apply, map_add] |
| 33 | · simp only [EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain, ite_eq_right hs, Submodule.coe_add, Pi.add_apply, add_zero] |
| 34 | map_smul' r x := by |
| 35 | apply Subtype.ext |
| 36 | funext s |
| 37 | by_cases hs : s.card = 0 |
| 38 | · simp only [EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain, ite_eq_left hs, Submodule.coe_smul, Pi.smul_apply, map_smul, |
| 39 | RingHom.id_apply] |
| 40 | · simp only [EventualIrrelevantTorsion.ProjectiveCech.moduleAugmentationCochain, ite_eq_right hs, Submodule.coe_smul, Pi.smul_apply, smul_zero, |
| 41 | RingHom.id_apply] |
| 42 | |
| 43 | variable [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 44 | |
| 45 | omit [Fintype σ] [LinearOrder σ] in |
| 46 | theorem moduleAugmentationToTerm_equiv (d : ℤ) : |
| 47 | moduleAugmentationToTerm (σ := σ) R M ℳ d = |
| 48 | (AugmentationDegree.ProjectiveCech.moduleCechAugmentationEquiv (σ := σ) R M ℳ d).symm.toLinearMap := by |
| 49 | apply LinearMap.ext |
| 50 | intro m |
| 51 | apply Subtype.ext |
| 52 | funext s |
| 53 | by_cases hs : s.card = 0 |
| 54 | · have he : s = ∅ := Finset.card_eq_zero.mp hs |
| 55 | subst s |
| 56 | rfl |
| 57 | · change (if s.card = 0 then _ else _) = _ |
| 58 | rw [ite_eq_right hs] |
| 59 | exact (((AugmentationDegree.ProjectiveCech.moduleCechAugmentationEquiv (σ := σ) R M ℳ d).symm m).property.2 s hs).symm |
| 60 | |
| 61 | omit [Fintype σ] [LinearOrder σ] in |
| 62 | theorem moduleAugmentationToTerm_lTensor_injective (d : ℤ) |
| 63 | (S : Type w) [AddCommGroup S] [Module R S] : |
| 64 | Function.Injective ((moduleAugmentationToTerm (σ := σ) R M ℳ d).lTensor S) := by |
| 65 | rw [moduleAugmentationToTerm_equiv] |
| 66 | exact ((AugmentationDegree.ProjectiveCech.moduleCechAugmentationEquiv (σ := σ) R M ℳ d).symm.lTensor S).injective |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.AugmentationMap.ProjectiveCech |