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.AlgebraicTopology.Kunneth.SimplexWedgeIntegral |
| 2 | import OAI.AlgebraicTopology.Kunneth.SimplexCupIntegral |
| 3 | import OAI.AlgebraicTopology.Products.Cup |
| 4 | import OAI.AlgebraicTopology.DeRham.Comparison.SmoothSimplexAugmentation |
| 5 | |
| 6 | /-! # Simplex Comparison Homotopy -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicTopology.Kunneth.SimplexComparisonHomotopy |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The integration products agree on the degree-zero kernel, including after tensoring. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.CategoryTheory Opposite OAI.AlgebraicTopology.Products.Cup |
| 19 | open scoped Simplicial TensorProduct ContDiff |
| 20 | |
| 21 | namespace Constructions |
| 22 | |
| 23 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 25 | |
| 26 | local instance comparisonZeroFormsAddGroup (n : ℕ) : AddCommGroup (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 27 | local instance comparisonZeroFormsModule (n : ℕ) : Module ℂ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 28 | |
| 29 | theorem constantZeroForm_d (c : ℂ) : Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (RestrictedFormsZero.Constructions.constantZeroForm (E := E) c) = 0 := by |
| 30 | apply Analysis.DifferentialForms.Manifold.Basic.SmoothForm.ext |
| 31 | intro x |
| 32 | ext v |
| 33 | change Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (Analysis.DifferentialForms.Manifold.Functions.SmoothFunction.const c).toZeroForm x v = 0 |
| 34 | rw [Analysis.DifferentialForms.Manifold.Functions.SmoothFunction.d_toZeroForm_apply] |
| 35 | change fderiv ℝ (fun _ : E => c) x (v 0) = 0 |
| 36 | rw [fderiv_const_apply] |
| 37 | rfl |
| 38 | |
| 39 | theorem constantZeroForm_pullback (f : E → F) (hf : ContDiff ℝ ∞ f) (c : ℂ) : |
| 40 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf (RestrictedFormsZero.Constructions.constantZeroForm c) = RestrictedFormsZero.Constructions.constantZeroForm c := by |
| 41 | apply Analysis.DifferentialForms.Manifold.Basic.SmoothForm.ext |
| 42 | intro x |
| 43 | ext v |
| 44 | rfl |
| 45 | |
| 46 | def constantRestrictedForm (n : ℕ) : ℂ →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm (SimplexFormDomain.Constructions.coordinateSimplex n) 0 where |
| 47 | toFun c := RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex n) 0 (RestrictedFormsZero.Constructions.constantZeroForm c) |
| 48 | map_add' c c' := by |
| 49 | rw [← map_add] |
| 50 | congr 1 |
| 51 | map_smul' c c' := by |
| 52 | rw [← map_smul] |
| 53 | congr 1 |
| 54 | |
| 55 | @[simp] theorem constantRestrictedForm_apply (n : ℕ) (c : ℂ) : |
| 56 | constantRestrictedForm n c = RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex n) 0 (RestrictedFormsZero.Constructions.constantZeroForm c) := rfl |
| 57 | |
| 58 | theorem constantRestrictedForm_exact (n : ℕ) : |
| 59 | Function.Exact (constantRestrictedForm n) (RestrictedForms.Constructions.restrictedFormD (SimplexFormDomain.Constructions.coordinateSimplex_uniqueDiffOn n) 0) := by |
| 60 | intro a |
| 61 | constructor |
| 62 | · intro ha |
| 63 | obtain ⟨c, hc⟩ := RestrictedFormsZero.Constructions.restrictedFormD_zero_constant (SimplexFormDomain.Constructions.coordinateSimplex_uniqueDiffOn n) |
| 64 | (SimplexFormDomain.Constructions.coordinateSimplex_convex n) (SimplexFormDomain.Constructions.coordinateSimplex_zero n) a ha |
| 65 | exact ⟨c, hc.symm⟩ |
| 66 | · rintro ⟨c, rfl⟩ |
| 67 | rw [constantRestrictedForm_apply, RestrictedForms.Constructions.restrictedFormD_restrict, constantZeroForm_d, map_zero] |
| 68 | |
| 69 | theorem simplexFormPullback_constant {m n : ℕ} |
| 70 | (f : Fin (m + 1) → Fin (n + 1)) (c : ℂ) : |
| 71 | SimplexFormMaps.Constructions.simplexFormPullback f 0 (constantRestrictedForm n c) = constantRestrictedForm m c := by |
| 72 | change RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex m) 0 |
| 73 | (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback (SimplexFormMaps.Constructions.simplexCoordinateMap f) _ (RestrictedFormsZero.Constructions.constantZeroForm c)) = |
| 74 | RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex m) 0 (RestrictedFormsZero.Constructions.constantZeroForm c) |
| 75 | rw [constantZeroForm_pullback] |
| 76 | |
| 77 | theorem simplexIntegral_zero_constant (c : ℂ) : RestrictedSimplexIntegration.Constructions.simplexIntegral 0 (constantRestrictedForm 0 c) = c := by |
| 78 | change DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration (RestrictedSimplexIntegration.Constructions.coordinateIdentitySimplex 0) |
| 79 | (RestrictedFormsZero.Constructions.constantZeroForm c).toManifold = c |
| 80 | rw [DeRham.Comparison.SmoothSimplexAugmentation.smoothSimplexIntegration_zero] |
| 81 | rfl |
| 82 | |
| 83 | theorem simplexFormCochain_constant (n : ℕ) (c : ℂ) : |
| 84 | SimplexFormCochain.Constructions.simplexFormCochain n 0 (constantRestrictedForm n c) = c • Products.Cup.cupUnit Δ[n] := by |
| 85 | apply Products.Cup.cochain_ext Δ[n] (ModuleCat.of ℂ ℂ) |
| 86 | intro s |
| 87 | rw [SimplexFormCochain.Constructions.simplexFormCochain_evaluation, simplexFormPullback_constant, simplexIntegral_zero_constant, |
| 88 | map_smul, Products.Cup.evaluation_cupUnit] |
| 89 | exact (mul_one c).symm |
| 90 | |
| 91 | theorem simplexWedgeIntegral_constant (q : ℕ) (c : ℂ) (b : SimplicialForms.Constructions.SimplexClosedForms q q) : |
| 92 | SimplexWedgeIntegral.Constructions.simplexWedgeIntegral q 0 (constantRestrictedForm q c ⊗ₜ[ℂ] b) = c * RestrictedSimplexIntegration.Constructions.simplexIntegral q b.val := by |
| 93 | change RestrictedSimplexIntegration.Constructions.simplexIntegral q (RestrictedWedge.Constructions.restrictedFormDegreeCast (SimplexFormDomain.Constructions.coordinateSimplex q) (Nat.zero_add q) |
| 94 | (RestrictedWedge.Constructions.restrictedWedge (SimplexFormDomain.Constructions.coordinateSimplex q) 0 q |
| 95 | (RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex q) 0 (RestrictedFormsZero.Constructions.constantZeroForm c)) b.val)) = _ |
| 96 | rw [RestrictedWedgeNaturality.Constructions.restrictedWedge_constantZeroForm, map_smul] |
| 97 | rfl |
| 98 | |
| 99 | theorem simplexCupIntegral_constant (q : ℕ) (c : ℂ) (b : SimplicialForms.Constructions.SimplexClosedForms q q) : |
| 100 | SimplexCupIntegral.Constructions.simplexCupIntegral q 0 (constantRestrictedForm q c ⊗ₜ[ℂ] b) = c * RestrictedSimplexIntegration.Constructions.simplexIntegral q b.val := by |
| 101 | change Cohomology.Singular.Coefficients.simplicialEvaluation Δ[q] (ModuleCat.of ℂ ℂ) (SSet.stdSimplex.objEquiv.symm (𝟙 ⦋q⦌)) |
| 102 | (SimplexCupIntegral.Constructions.simplexTensorCup q q 0 (constantRestrictedForm q c ⊗ₜ[ℂ] b)) = _ |
| 103 | rw [SimplexCupIntegral.Constructions.simplexTensorCup_tmul, simplexFormCochain_constant, Products.Cup.cupWith_smul_left, map_smul] |
| 104 | change Cohomology.Singular.Coefficients.simplicialEvaluation Δ[q] (ModuleCat.of ℂ ℂ) (SSet.stdSimplex.objEquiv.symm (𝟙 ⦋q⦌)) |
| 105 | (c • Products.Cup.cochainCast Δ[q] (ModuleCat.of ℂ ℂ) (Nat.zero_add q) |
| 106 | (Products.Cup.cup Δ[q] (Products.Cup.cupUnit Δ[q]) (SimplexFormCochain.Constructions.simplexFormCochain q q b.val))) = _ |
| 107 | rw [Products.Cup.cupUnit_cup, map_smul, SimplexFormCochain.Constructions.simplexFormCochain_evaluation] |
| 108 | change c * RestrictedSimplexIntegration.Constructions.simplexIntegral q (SimplexFormMaps.Constructions.simplexFormPullback (id : Fin (q + 1) → Fin (q + 1)) q b.val) = _ |
| 109 | rw [SimplexFormMaps.Constructions.simplexFormPullback_id] |
| 110 | |
| 111 | theorem simplexIntegral_difference_zero_kernel (q : ℕ) : |
| 112 | LinearMap.ker (TensorSimplicialForms.Constructions.simplexFormTensorD q q 0) ≤ |
| 113 | LinearMap.ker (SimplexWedgeIntegral.Constructions.simplexWedgeIntegral q 0 - SimplexCupIntegral.Constructions.simplexCupIntegral q 0) := by |
| 114 | let c := (constantRestrictedForm q).rTensor ↥(SimplicialForms.Constructions.SimplexClosedForms q q) |
| 115 | have hex : Function.Exact c (TensorSimplicialForms.Constructions.simplexFormTensorD q q 0) := |
| 116 | Module.Flat.rTensor_exact ↥(SimplicialForms.Constructions.SimplexClosedForms q q) (constantRestrictedForm_exact q) |
| 117 | have hz : (SimplexWedgeIntegral.Constructions.simplexWedgeIntegral q 0 - SimplexCupIntegral.Constructions.simplexCupIntegral q 0).comp c = 0 := by |
| 118 | apply TensorProduct.ext |
| 119 | apply LinearMap.ext |
| 120 | intro z |
| 121 | apply LinearMap.ext |
| 122 | intro b |
| 123 | change SimplexWedgeIntegral.Constructions.simplexWedgeIntegral q 0 (constantRestrictedForm q z ⊗ₜ[ℂ] b) - |
| 124 | SimplexCupIntegral.Constructions.simplexCupIntegral q 0 (constantRestrictedForm q z ⊗ₜ[ℂ] b) = 0 |
| 125 | rw [simplexWedgeIntegral_constant, simplexCupIntegral_constant, sub_self] |
| 126 | intro a ha |
| 127 | obtain ⟨b, rfl⟩ := (hex a).mp ha |
| 128 | exact LinearMap.congr_fun hz b |
| 129 | |
| 130 | end Constructions |
| 131 | |
| 132 | end |
| 133 | |
| 134 | /-! An unconditional homotopy between genuine wedge integration and cup integration. -/ |
| 135 | |
| 136 | set_option backward.isDefEq.respectTransparency false |
| 137 | |
| 138 | namespace Constructions |
| 139 | |
| 140 | def simplexIntegrationDifference (q p : ℕ) : TensorSimplicialForms.Constructions.SimplexFormTensor q (q + p) p →ₗ[ℂ] ℂ := |
| 141 | SimplexWedgeIntegral.Constructions.simplexWedgeIntegral q p - SimplexCupIntegral.Constructions.simplexCupIntegral q p |
| 142 | |
| 143 | theorem simplexIntegrationDifference_d (q p : ℕ) : |
| 144 | (simplexIntegrationDifference q (p + 1)).comp (TensorSimplicialForms.Constructions.simplexFormTensorD q (q + p + 1) p) = |
| 145 | TensorSimplicialForms.Constructions.simplexFormTensorDelta q (q + p) p (simplexIntegrationDifference q p) := by |
| 146 | rw [simplexIntegrationDifference, LinearMap.sub_comp, SimplexWedgeIntegral.Constructions.simplexWedgeIntegral_d, |
| 147 | SimplexCupIntegral.Constructions.simplexCupIntegral_d, ← map_sub] |
| 148 | rfl |
| 149 | |
| 150 | theorem exists_simplexComparisonHomotopy (q : ℕ) : |
| 151 | ∃ H : ∀ p, TensorSimplicialForms.Constructions.SimplexFormTensor q (q + p) (p + 1) →ₗ[ℂ] ℂ, |
| 152 | (H 0).comp (TensorSimplicialForms.Constructions.simplexFormTensorD q q 0) = simplexIntegrationDifference q 0 ∧ |
| 153 | ∀ p, (H (p + 1)).comp (TensorSimplicialForms.Constructions.simplexFormTensorD q (q + p + 1) (p + 1)) = |
| 154 | simplexIntegrationDifference q (p + 1) - TensorSimplicialForms.Constructions.simplexFormTensorDelta q (q + p) (p + 1) (H p) := by |
| 155 | let : ∀ n p, AddCommGroup (TensorSimplicialForms.Constructions.SimplexFormTensor q n p) := fun n p => inferInstance |
| 156 | let : ∀ n p, Module ℂ (TensorSimplicialForms.Constructions.SimplexFormTensor q n p) := fun n p => inferInstance |
| 157 | refine CochainModelHomotopy.Constructions.modelFunctionalHomotopy (K := ℂ) (TensorSimplicialForms.Constructions.SimplexFormTensor q) |
| 158 | (TensorSimplicialForms.Constructions.simplexFormTensorD q) (TensorSimplicialForms.Constructions.simplexFormTensorDelta q) ?_ ?_ ?_ |
| 159 | q (simplexIntegrationDifference q) ?_ ?_ |
| 160 | · exact TensorSimplicialForms.Constructions.simplexFormTensorD_exact q |
| 161 | · exact TensorSimplicialForms.Constructions.simplexFormTensorDelta_d q |
| 162 | · exact TensorSimplicialForms.Constructions.simplexFormTensorDelta_squared q |
| 163 | · exact simplexIntegrationDifference_d q |
| 164 | · exact simplexIntegral_difference_zero_kernel q |
| 165 | |
| 166 | def simplexComparisonHomotopy (q p : ℕ) : TensorSimplicialForms.Constructions.SimplexFormTensor q (q + p) (p + 1) →ₗ[ℂ] ℂ := |
| 167 | (exists_simplexComparisonHomotopy q).choose p |
| 168 | |
| 169 | theorem simplexComparisonHomotopy_zero (q : ℕ) (a : TensorSimplicialForms.Constructions.SimplexFormTensor q q 0) : |
| 170 | simplexComparisonHomotopy q 0 (TensorSimplicialForms.Constructions.simplexFormTensorD q q 0 a) = simplexIntegrationDifference q 0 a := |
| 171 | LinearMap.congr_fun (exists_simplexComparisonHomotopy q).choose_spec.1 a |
| 172 | |
| 173 | theorem simplexComparisonHomotopy_succ (q p : ℕ) (a : TensorSimplicialForms.Constructions.SimplexFormTensor q (q + p + 1) (p + 1)) : |
| 174 | simplexComparisonHomotopy q (p + 1) (TensorSimplicialForms.Constructions.simplexFormTensorD q (q + p + 1) (p + 1) a) = |
| 175 | simplexIntegrationDifference q (p + 1) a - |
| 176 | TensorSimplicialForms.Constructions.simplexFormTensorDelta q (q + p) (p + 1) (simplexComparisonHomotopy q p) a := |
| 177 | LinearMap.congr_fun ((exists_simplexComparisonHomotopy q).choose_spec.2 p) a |
| 178 | |
| 179 | end Constructions |
| 180 | |
| 181 | end |
| 182 | |
| 183 | end OAI.AlgebraicTopology.Kunneth.SimplexComparisonHomotopy |