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.TermTensorInclusion |
| 2 | |
| 3 | /-! # Homogeneous Projection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.HomogeneousProjection.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Projection to an actual homogeneous degree commutes with the projective Čech differential. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial DirectSum |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {σ : Type u} [LinearOrder σ] |
| 16 | variable (R : Type v) [CommRing R] |
| 17 | variable (M : Type w) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 18 | [IsScalarTower R (MvPolynomial σ R) M] |
| 19 | variable (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 20 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 21 | |
| 22 | theorem moduleChartDegreeProjection_restriction {s t : Finset σ} (h : s ⊆ t) |
| 23 | (d : ℤ) (x : Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M s) : |
| 24 | Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M h (TermTensorInclusion.ProjectiveCech.moduleChartDegreeProjection R M ℳ s d x).val = |
| 25 | (TermTensorInclusion.ProjectiveCech.moduleChartDegreeProjection R M ℳ t d (Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M h x)).val := by |
| 26 | let := Localized.Grading.GradedModules.localizedDegreeDecomposition (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ |
| 27 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) |
| 28 | let := Localized.Grading.GradedModules.localizedDegreeDecomposition (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ |
| 29 | (LaurentMonomials.ProjectiveCech.inversionMonomial R t) (t.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R t) |
| 30 | exact Graded.ModuleGenerators.GradedModules.map_homogeneous_component |
| 31 | (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ)) |
| 32 | (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ (LaurentMonomials.ProjectiveCech.inversionMonomial R t) (t.card : ℤ)) |
| 33 | (Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M h).toAddMonoidHom |
| 34 | (fun d x hx => Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction_degree R M ℳ h d x hx) d x |
| 35 | |
| 36 | def moduleCechHomogeneousProjection (d : ℤ) : |
| 37 | ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M →ₗ[R] ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M := |
| 38 | LinearMap.pi (fun s => ((Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d).subtype.comp |
| 39 | (TermTensorInclusion.ProjectiveCech.moduleChartDegreeProjection R M ℳ s d)).comp (LinearMap.proj s)) |
| 40 | |
| 41 | omit [LinearOrder σ] in |
| 42 | theorem moduleCechHomogeneousProjection_mem (d : ℤ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) : |
| 43 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d (moduleCechHomogeneousProjection R M ℳ d f) := |
| 44 | fun s => (TermTensorInclusion.ProjectiveCech.moduleChartDegreeProjection R M ℳ s d (f s)).property |
| 45 | |
| 46 | omit [LinearOrder σ] in |
| 47 | theorem moduleCechHomogeneousProjection_card (d : ℤ) (q : ℕ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) |
| 48 | (hf : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q f) : |
| 49 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q (moduleCechHomogeneousProjection R M ℳ d f) := by |
| 50 | intro s hs |
| 51 | change (TermTensorInclusion.ProjectiveCech.moduleChartDegreeProjection R M ℳ s d (f s)).val = 0 |
| 52 | rw [hf s hs, map_zero] |
| 53 | rfl |
| 54 | |
| 55 | omit [LinearOrder σ] in |
| 56 | theorem moduleCechHomogeneousProjection_of_homogeneous (d : ℤ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) |
| 57 | (hf : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f) : moduleCechHomogeneousProjection R M ℳ d f = f := by |
| 58 | funext s |
| 59 | exact congrArg Subtype.val (TermTensorInclusion.ProjectiveCech.moduleChartDegreeProjection_subtype R M ℳ s d ⟨f s, hf s⟩) |
| 60 | |
| 61 | theorem moduleCechHomogeneousProjection_differential (d : ℤ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) : |
| 62 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M (moduleCechHomogeneousProjection R M ℳ d f) = |
| 63 | moduleCechHomogeneousProjection R M ℳ d (ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f) := by |
| 64 | funext s |
| 65 | change (∑ i ∈ s, Signs.ProjectiveCech.alternatingSign R s i • Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.erase_subset i s) |
| 66 | (TermTensorInclusion.ProjectiveCech.moduleChartDegreeProjection R M ℳ (s.erase i) d (f (s.erase i))).val) = |
| 67 | (TermTensorInclusion.ProjectiveCech.moduleChartDegreeProjection R M ℳ s d |
| 68 | (∑ i ∈ s, Signs.ProjectiveCech.alternatingSign R s i • Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.erase_subset i s) (f (s.erase i)))).val |
| 69 | simp only [map_sum, map_smul, Submodule.coe_sum, Submodule.coe_smul_of_tower] |
| 70 | apply Finset.sum_congr rfl |
| 71 | intro i _ |
| 72 | rw [moduleChartDegreeProjection_restriction] |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.HomogeneousProjection.ProjectiveCech |