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.AbelianVariety.SimplexWedge |
| 2 | import OAI.AlgebraicTopology.Products.Cup |
| 3 | import OAI.AlgebraicTopology.Kunneth.TensorSimplicialForms |
| 4 | |
| 5 | /-! # Tensor Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianVariety.TensorRestriction.Constructions.ExteriorCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | open scoped _root_.Manifold ContDiff Simplicial TensorProduct |
| 13 | open OAI.AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions OAI.AlgebraicTopology.Products.Cup |
| 14 | |
| 15 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 17 | {n p q : ℕ} |
| 18 | |
| 19 | def closedSimplexRestriction |
| 20 | (sigma : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 21 | (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : AlgebraicTopology.Kunneth.SimplicialForms.Constructions.SimplexClosedForms n q := |
| 22 | ⟨AlgebraicTopology.Kunneth.SimplexFormPullback.Constructions.simplexManifoldFormRestriction sigma q b.val, by |
| 23 | rw [LinearMap.mem_ker, AlgebraicTopology.Kunneth.SimplexFormPullback.Constructions.simplexManifoldFormRestriction_d, b.property, map_zero]⟩ |
| 24 | |
| 25 | def tensorSimplexRestriction |
| 26 | (sigma : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 27 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q n p := |
| 28 | AlgebraicTopology.Kunneth.SimplexFormPullback.Constructions.simplexManifoldFormRestriction sigma p a ⊗ₜ[ℂ] closedSimplexRestriction sigma b |
| 29 | |
| 30 | theorem tensorSimplexRestriction_d |
| 31 | (sigma : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 32 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 33 | tensorSimplexRestriction sigma (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a) b = |
| 34 | AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorD q n p (tensorSimplexRestriction sigma a b) := by |
| 35 | simp only [tensorSimplexRestriction, AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorD_tmul, AlgebraicTopology.Kunneth.SimplexFormPullback.Constructions.simplexManifoldFormRestriction_d] |
| 36 | |
| 37 | theorem closedSimplexRestriction_face {m : ℕ} (θ : ⦋m⦌ ⟶ ⦋n⦌) |
| 38 | (sigma : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 39 | (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 40 | closedSimplexRestriction ((AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet.map θ.op sigma) b = |
| 41 | AlgebraicTopology.Kunneth.SimplicialForms.Constructions.simplexClosedFormPullback θ q (closedSimplexRestriction sigma b) := by |
| 42 | apply Subtype.ext |
| 43 | exact AlgebraicTopology.Kunneth.SimplexFormPullback.Constructions.simplexManifoldFormRestriction_face θ sigma b.val |
| 44 | |
| 45 | theorem tensorSimplexRestriction_face {m : ℕ} (θ : ⦋m⦌ ⟶ ⦋n⦌) |
| 46 | (sigma : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 47 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 48 | tensorSimplexRestriction ((AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet.map θ.op sigma) a b = |
| 49 | AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorPullback θ q p (tensorSimplexRestriction sigma a b) := by |
| 50 | simp only [tensorSimplexRestriction, AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorPullback, TensorProduct.map_tmul, |
| 51 | AlgebraicTopology.Kunneth.SimplexFormPullback.Constructions.simplexManifoldFormRestriction_face, closedSimplexRestriction_face] |
| 52 | |
| 53 | def modelFunctionalCochain (F : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q n p →ₗ[ℂ] ℂ) |
| 54 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 55 | (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M).X n := |
| 56 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet (ModuleCat.of ℂ ℂ) n).inv |
| 57 | (fun sigma => F (tensorSimplexRestriction sigma a b)) |
| 58 | |
| 59 | theorem modelFunctionalCochain_evaluation (F : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q n p →ₗ[ℂ] ℂ) |
| 60 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) |
| 61 | (sigma : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) : |
| 62 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet (ModuleCat.of ℂ ℂ) sigma |
| 63 | (modelFunctionalCochain F a b) = F (tensorSimplexRestriction sigma a b) := by |
| 64 | rw [← AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso_hom_apply] |
| 65 | exact congrFun |
| 66 | ((AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet |
| 67 | (ModuleCat.of ℂ ℂ) n).toLinearEquiv.apply_symm_apply _) sigma |
| 68 | |
| 69 | theorem simplexFormTensorDelta_apply (F : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q n p →ₗ[ℂ] ℂ) |
| 70 | (x : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q (n + 1) p) : |
| 71 | AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorDelta q n p F x = |
| 72 | ∑ i : Fin (n + 2), (-1 : ℤ) ^ i.val • |
| 73 | F (AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorPullback (SimplexCategory.δ i) q p x) := by |
| 74 | change F ((∑ i : Fin (n + 2), (-1 : ℤ) ^ i.val • |
| 75 | ModuleCat.ofHom (AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorPullback (SimplexCategory.δ i) q p)) x) = _ |
| 76 | simp only [ModuleCat.hom_sum, ModuleCat.hom_zsmul, LinearMap.sum_apply, |
| 77 | LinearMap.smul_apply, ModuleCat.hom_ofHom, map_sum, map_zsmul] |
| 78 | |
| 79 | theorem modelFunctionalCochain_coboundary (F : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q n p →ₗ[ℂ] ℂ) |
| 80 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 81 | (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M).d n (n + 1) (modelFunctionalCochain F a b) = |
| 82 | modelFunctionalCochain (AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorDelta q n p F) a b := by |
| 83 | apply AlgebraicTopology.Products.Cup.cochain_ext (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet (ModuleCat.of ℂ ℂ) |
| 84 | intro sigma |
| 85 | rw [AlgebraicTopology.Cohomology.Singular.Formulas.evaluation_coboundary_apply, modelFunctionalCochain_evaluation, simplexFormTensorDelta_apply] |
| 86 | apply Finset.sum_congr rfl |
| 87 | intro i _ |
| 88 | rw [modelFunctionalCochain_evaluation] |
| 89 | exact congrArg (fun x => (-1 : ℤ) ^ i.val • F x) |
| 90 | (tensorSimplexRestriction_face (SimplexCategory.δ i) sigma a b) |
| 91 | |
| 92 | theorem tensorSimplexRestriction_closed |
| 93 | (sigma : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 94 | (a : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 95 | AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorD q n p (tensorSimplexRestriction sigma a.val b) = 0 := by |
| 96 | rw [← tensorSimplexRestriction_d, a.property] |
| 97 | simp only [tensorSimplexRestriction, map_zero, TensorProduct.zero_tmul] |
| 98 | |
| 99 | /-- A model functional factoring through the differential vanishes on closed global forms. -/ |
| 100 | theorem modelFunctionalCochain_factor_zero |
| 101 | (F : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q n p →ₗ[ℂ] ℂ) |
| 102 | (H : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q n (p + 1) →ₗ[ℂ] ℂ) |
| 103 | (hH : H.comp (AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorD q n p) = F) |
| 104 | (a : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 105 | modelFunctionalCochain F a.val b = 0 := by |
| 106 | apply AlgebraicTopology.Products.Cup.cochain_ext (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet (ModuleCat.of ℂ ℂ) |
| 107 | intro sigma |
| 108 | rw [modelFunctionalCochain_evaluation, map_zero] |
| 109 | rw [← hH, LinearMap.comp_apply, tensorSimplexRestriction_closed, map_zero] |
| 110 | |
| 111 | /-- A model homotopy gives a literal coboundary on the actual smooth singular complex. -/ |
| 112 | theorem modelFunctionalCochain_homotopy_boundary |
| 113 | (F : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q (n + 1) p →ₗ[ℂ] ℂ) |
| 114 | (H : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q (n + 1) (p + 1) →ₗ[ℂ] ℂ) |
| 115 | (P : AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.SimplexFormTensor q n p →ₗ[ℂ] ℂ) |
| 116 | (hH : H.comp (AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorD q (n + 1) p) = |
| 117 | F - AlgebraicTopology.Kunneth.TensorSimplicialForms.Constructions.simplexFormTensorDelta q n p P) |
| 118 | (a : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 119 | (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M).d n (n + 1) |
| 120 | (modelFunctionalCochain P a.val b) = modelFunctionalCochain F a.val b := by |
| 121 | rw [modelFunctionalCochain_coboundary] |
| 122 | apply AlgebraicTopology.Products.Cup.cochain_ext (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet (ModuleCat.of ℂ ℂ) |
| 123 | intro sigma |
| 124 | rw [modelFunctionalCochain_evaluation, modelFunctionalCochain_evaluation] |
| 125 | have he := LinearMap.congr_fun hH (tensorSimplexRestriction sigma a.val b) |
| 126 | simp only [LinearMap.comp_apply, tensorSimplexRestriction_closed, map_zero, |
| 127 | LinearMap.sub_apply] at he |
| 128 | exact (sub_eq_zero.mp he.symm).symm |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.AbelianVariety.TensorRestriction.Constructions.ExteriorCohomology |