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.TensorSimplicialForms |
| 2 | import OAI.AlgebraicTopology.Kunneth.SimplexFormCochain |
| 3 | |
| 4 | /-! # Simplex Cup Integral -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Kunneth.SimplexCupIntegral |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual Alexander--Whitney cup functional on restricted simplex forms. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite |
| 15 | open scoped Simplicial TensorProduct |
| 16 | |
| 17 | namespace Constructions |
| 18 | |
| 19 | theorem cochainCast_d (K : SSet.{0}) {n m : ℕ} (h : n = m) |
| 20 | (c : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)).X n) : |
| 21 | (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)).d m (m + 1) |
| 22 | (Products.Cup.cochainCast K (ModuleCat.of ℂ ℂ) h c) = |
| 23 | Products.Cup.cochainCast K (ModuleCat.of ℂ ℂ) (congrArg (· + 1) h) |
| 24 | ((Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)).d n (n + 1) c) := by |
| 25 | subst m |
| 26 | rfl |
| 27 | |
| 28 | theorem cochainCast_trans (K : SSet.{0}) {n m k : ℕ} (h : n = m) (h' : m = k) |
| 29 | (c : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)).X n) : |
| 30 | Products.Cup.cochainCast K (ModuleCat.of ℂ ℂ) h' (Products.Cup.cochainCast K (ModuleCat.of ℂ ℂ) h c) = |
| 31 | Products.Cup.cochainCast K (ModuleCat.of ℂ ℂ) (h.trans h') c := by |
| 32 | subst m k |
| 33 | rfl |
| 34 | |
| 35 | theorem cochainCast_pullback {K J : SSet.{0}} (f : K ⟶ J) {n m : ℕ} (h : n = m) |
| 36 | (c : (Cohomology.Singular.Basic.simplicialCochains J (ModuleCat.of ℂ ℂ)).X n) : |
| 37 | (Cohomology.Singular.Functor.simplicialPullback (ModuleCat.of ℂ ℂ) f).f m (Products.Cup.cochainCast J (ModuleCat.of ℂ ℂ) h c) = |
| 38 | Products.Cup.cochainCast K (ModuleCat.of ℂ ℂ) h ((Cohomology.Singular.Functor.simplicialPullback (ModuleCat.of ℂ ℂ) f).f n c) := by |
| 39 | subst m |
| 40 | rfl |
| 41 | |
| 42 | def simplexTensorCup (q n p : ℕ) : |
| 43 | TensorSimplicialForms.Constructions.SimplexFormTensor q n p →ₗ[ℂ] (Cohomology.Singular.Basic.simplicialCochains Δ[n] (ModuleCat.of ℂ ℂ)).X (q + p) := |
| 44 | (Products.Cup.cochainCast Δ[n] (ModuleCat.of ℂ ℂ) (Nat.add_comm p q)).comp |
| 45 | ((TensorProduct.lift (Products.Cup.cupWithBilinear Δ[n] (LinearMap.mul ℂ ℂ) p q)).comp |
| 46 | (TensorProduct.map (SimplexFormCochain.Constructions.simplexFormCochain n p) |
| 47 | ((SimplexFormCochain.Constructions.simplexFormCochain n q).comp (SimplicialForms.Constructions.SimplexClosedForms n q).subtype))) |
| 48 | |
| 49 | @[simp] theorem simplexTensorCup_tmul (q n p : ℕ) |
| 50 | (a : RestrictedForms.Constructions.RestrictedForm (SimplexFormDomain.Constructions.coordinateSimplex n) p) (b : SimplicialForms.Constructions.SimplexClosedForms n q) : |
| 51 | simplexTensorCup q n p (a ⊗ₜ[ℂ] b) = |
| 52 | Products.Cup.cochainCast Δ[n] (ModuleCat.of ℂ ℂ) (Nat.add_comm p q) |
| 53 | (Products.Cup.cupWith Δ[n] (LinearMap.mul ℂ ℂ) (SimplexFormCochain.Constructions.simplexFormCochain n p a) |
| 54 | (SimplexFormCochain.Constructions.simplexFormCochain n q b.val)) := rfl |
| 55 | |
| 56 | theorem simplexTensorCup_d (q n p : ℕ) (a : TensorSimplicialForms.Constructions.SimplexFormTensor q n p) : |
| 57 | (Cohomology.Singular.Basic.simplicialCochains Δ[n] (ModuleCat.of ℂ ℂ)).d (q + p) (q + p + 1) |
| 58 | (simplexTensorCup q n p a) = |
| 59 | simplexTensorCup q n (p + 1) (TensorSimplicialForms.Constructions.simplexFormTensorD q n p a) := by |
| 60 | have h : ((Cohomology.Singular.Basic.simplicialCochains Δ[n] (ModuleCat.of ℂ ℂ)).d (q + p) (q + p + 1)).hom.comp |
| 61 | (simplexTensorCup q n p) = |
| 62 | (simplexTensorCup q n (p + 1)).comp (TensorSimplicialForms.Constructions.simplexFormTensorD q n p) := by |
| 63 | apply TensorProduct.ext |
| 64 | apply LinearMap.ext |
| 65 | intro x |
| 66 | apply LinearMap.ext |
| 67 | intro y |
| 68 | change (Cohomology.Singular.Basic.simplicialCochains Δ[n] (ModuleCat.of ℂ ℂ)).d (q + p) (q + p + 1) |
| 69 | (simplexTensorCup q n p (x ⊗ₜ[ℂ] y)) = |
| 70 | simplexTensorCup q n (p + 1) (TensorSimplicialForms.Constructions.simplexFormTensorD q n p (x ⊗ₜ[ℂ] y)) |
| 71 | rw [simplexTensorCup_tmul, cochainCast_d, Products.Cup.cupWith_coboundary, |
| 72 | SimplexFormCochain.Constructions.simplexFormCochain_d, SimplexFormCochain.Constructions.simplexFormCochain_d, y.property, map_zero, |
| 73 | Products.Cup.cupWith_zero_right, smul_zero, add_zero, cochainCast_trans, |
| 74 | TensorSimplicialForms.Constructions.simplexFormTensorD_tmul, simplexTensorCup_tmul] |
| 75 | rfl |
| 76 | exact LinearMap.congr_fun h a |
| 77 | |
| 78 | theorem simplexTensorCup_pullback {m n : ℕ} (f : ⦋m⦌ ⟶ ⦋n⦌) (q p : ℕ) |
| 79 | (a : TensorSimplicialForms.Constructions.SimplexFormTensor q n p) : |
| 80 | (Cohomology.Singular.Functor.simplicialPullback (ModuleCat.of ℂ ℂ) (SSet.stdSimplex.map f)).f (q + p) |
| 81 | (simplexTensorCup q n p a) = |
| 82 | simplexTensorCup q m p (TensorSimplicialForms.Constructions.simplexFormTensorPullback f q p a) := by |
| 83 | have h : ((Cohomology.Singular.Functor.simplicialPullback (ModuleCat.of ℂ ℂ) (SSet.stdSimplex.map f)).f (q + p)).hom.comp |
| 84 | (simplexTensorCup q n p) = |
| 85 | (simplexTensorCup q m p).comp (TensorSimplicialForms.Constructions.simplexFormTensorPullback f q p) := by |
| 86 | apply TensorProduct.ext |
| 87 | apply LinearMap.ext |
| 88 | intro x |
| 89 | apply LinearMap.ext |
| 90 | intro y |
| 91 | change (Cohomology.Singular.Functor.simplicialPullback (ModuleCat.of ℂ ℂ) (SSet.stdSimplex.map f)).f (q + p) |
| 92 | (simplexTensorCup q n p (x ⊗ₜ[ℂ] y)) = |
| 93 | simplexTensorCup q m p (SimplexFormMaps.Constructions.simplexFormPullback f p x ⊗ₜ[ℂ] SimplicialForms.Constructions.simplexClosedFormPullback f q y) |
| 94 | rw [simplexTensorCup_tmul, cochainCast_pullback, Products.Cup.cupWith_pullback, |
| 95 | SimplexFormCochain.Constructions.simplexFormCochain_pullback, SimplexFormCochain.Constructions.simplexFormCochain_pullback, simplexTensorCup_tmul] |
| 96 | rfl |
| 97 | exact LinearMap.congr_fun h a |
| 98 | |
| 99 | def simplexCupIntegral (q p : ℕ) : TensorSimplicialForms.Constructions.SimplexFormTensor q (q + p) p →ₗ[ℂ] ℂ := |
| 100 | (Cohomology.Singular.Coefficients.simplicialEvaluation Δ[q + p] (ModuleCat.of ℂ ℂ) |
| 101 | (SSet.stdSimplex.objEquiv.symm (𝟙 ⦋q + p⦌))).hom.comp (simplexTensorCup q (q + p) p) |
| 102 | |
| 103 | theorem simplexTensorCup_evaluation (q n p : ℕ) (a : TensorSimplicialForms.Constructions.SimplexFormTensor q n p) |
| 104 | (s : Δ[n] _⦋q + p⦌) : |
| 105 | Cohomology.Singular.Coefficients.simplicialEvaluation Δ[n] (ModuleCat.of ℂ ℂ) s (simplexTensorCup q n p a) = |
| 106 | simplexCupIntegral q p (TensorSimplicialForms.Constructions.simplexFormTensorPullback (SSet.stdSimplex.objEquiv s) q p a) := by |
| 107 | have h := congrArg (fun c => Cohomology.Singular.Coefficients.simplicialEvaluation Δ[q + p] (ModuleCat.of ℂ ℂ) |
| 108 | (SSet.stdSimplex.objEquiv.symm (𝟙 ⦋q + p⦌)) c) |
| 109 | (simplexTensorCup_pullback (SSet.stdSimplex.objEquiv s) q p a) |
| 110 | rw [Cohomology.Singular.Formulas.evaluation_pullback_apply] at h |
| 111 | have hs : (SSet.stdSimplex.map (SSet.stdSimplex.objEquiv s)).app _ |
| 112 | (SSet.stdSimplex.objEquiv.symm (𝟙 ⦋q + p⦌)) = s := by |
| 113 | rw [← SSet.stdSimplex.objEquiv_symm_comp, Category.id_comp, Equiv.symm_apply_apply] |
| 114 | rw [hs] at h |
| 115 | exact h |
| 116 | |
| 117 | theorem simplexCupIntegral_d (q p : ℕ) : |
| 118 | (simplexCupIntegral q (p + 1)).comp (TensorSimplicialForms.Constructions.simplexFormTensorD q (q + p + 1) p) = |
| 119 | TensorSimplicialForms.Constructions.simplexFormTensorDelta q (q + p) p (simplexCupIntegral q p) := by |
| 120 | apply LinearMap.ext |
| 121 | intro a |
| 122 | change Cohomology.Singular.Coefficients.simplicialEvaluation Δ[q + p + 1] (ModuleCat.of ℂ ℂ) |
| 123 | (SSet.stdSimplex.objEquiv.symm (𝟙 ⦋q + p + 1⦌)) |
| 124 | (simplexTensorCup q (q + p + 1) (p + 1) (TensorSimplicialForms.Constructions.simplexFormTensorD q (q + p + 1) p a)) = _ |
| 125 | rw [← simplexTensorCup_d, Cohomology.Singular.Formulas.evaluation_coboundary_apply, TensorSimplicialForms.Constructions.simplexFormTensorDelta_apply] |
| 126 | apply Finset.sum_congr rfl |
| 127 | intro j _ |
| 128 | rw [simplexTensorCup_evaluation] |
| 129 | rfl |
| 130 | |
| 131 | end Constructions |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicTopology.Kunneth.SimplexCupIntegral |