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.Graded.TensorInclusions |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.TensorAugmentation |
| 3 | |
| 4 | /-! # Term Tensor Inclusion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.TermTensorInclusion.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Homogeneous Čech terms split inside the full localized cochains, including after tensoring. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial DirectSum |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.TensorInclusions.GradedModules |
| 15 | |
| 16 | universe u v w t |
| 17 | |
| 18 | variable {σ : Type v} [LinearOrder σ] |
| 19 | variable (R : Type u) [CommRing R] |
| 20 | variable (M : Type w) [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 | |
| 25 | def moduleChartDegreeProjection (s : Finset σ) (d : ℤ) : |
| 26 | Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M s →ₗ[R] Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d := by |
| 27 | let := Localized.Grading.GradedModules.localizedDegreeDecomposition (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ |
| 28 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) |
| 29 | exact Graded.TensorInclusions.GradedModules.homogeneousComponentProjection (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ)) d |
| 30 | |
| 31 | omit [LinearOrder σ] in |
| 32 | theorem moduleChartDegreeProjection_subtype (s : Finset σ) (d : ℤ) |
| 33 | (x : Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d) : moduleChartDegreeProjection R M ℳ s d x.val = x := by |
| 34 | let := Localized.Grading.GradedModules.localizedDegreeDecomposition (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ |
| 35 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) |
| 36 | exact DFunLike.congr_fun (Graded.TensorInclusions.GradedModules.homogeneousComponentProjection_subtype |
| 37 | (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ)) d) x |
| 38 | |
| 39 | def moduleCechTermProjection (d : ℤ) (q : ℕ) : |
| 40 | ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M →ₗ[R] ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q := |
| 41 | (ModuleCech.Terms.ProjectiveCech.moduleCechTermEquiv (σ := σ) R M ℳ d q).symm.toLinearMap.comp |
| 42 | (LinearMap.pi (fun s : {s : Finset σ // s.card = q} => |
| 43 | (moduleChartDegreeProjection R M ℳ s.val d).comp (LinearMap.proj s.val))) |
| 44 | |
| 45 | omit [LinearOrder σ] in |
| 46 | theorem moduleCechTermProjection_subtype (d : ℤ) (q : ℕ) : |
| 47 | (moduleCechTermProjection (σ := σ) R M ℳ d q).comp |
| 48 | (ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q).subtype = LinearMap.id := by |
| 49 | apply LinearMap.ext |
| 50 | intro f |
| 51 | apply (ModuleCech.Terms.ProjectiveCech.moduleCechTermEquiv (σ := σ) R M ℳ d q).injective |
| 52 | change (ModuleCech.Terms.ProjectiveCech.moduleCechTermEquiv (σ := σ) R M ℳ d q) |
| 53 | ((ModuleCech.Terms.ProjectiveCech.moduleCechTermEquiv (σ := σ) R M ℳ d q).symm _) = _ |
| 54 | rw [LinearEquiv.apply_symm_apply] |
| 55 | funext s |
| 56 | exact moduleChartDegreeProjection_subtype R M ℳ s.val d ⟨f.val s.val, f.property.1 s.val⟩ |
| 57 | |
| 58 | omit [LinearOrder σ] in |
| 59 | theorem moduleCechTermSubtype_lTensor_injective (d : ℤ) (q : ℕ) |
| 60 | (S : Type t) [AddCommGroup S] [Module R S] : |
| 61 | Function.Injective ((ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q).subtype.lTensor S) := by |
| 62 | have h : ((moduleCechTermProjection (σ := σ) R M ℳ d q).lTensor S).comp |
| 63 | ((ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q).subtype.lTensor S) = LinearMap.id := by |
| 64 | rw [← LinearMap.lTensor_comp, moduleCechTermProjection_subtype, LinearMap.lTensor_id] |
| 65 | intro x y hxy |
| 66 | have he := congrArg ((moduleCechTermProjection (σ := σ) R M ℳ d q).lTensor S) hxy |
| 67 | exact (DFunLike.congr_fun h x).symm.trans (he.trans (DFunLike.congr_fun h y)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.TermTensorInclusion.ProjectiveCech |