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.ManifoldComparisonCochain |
| 2 | import OAI.AlgebraicTopology.Products.CupCohomology |
| 3 | |
| 4 | /-! # Manifold Integration Cup -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Kunneth.ManifoldIntegrationCup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Multiplicativity of the original integration map on actual smooth-singular cohomology. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory OAI.AlgebraicTopology.Products.CupCohomology |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | namespace Constructions |
| 18 | |
| 19 | def cochainCocycleDegreeCast (K : SSet.{0}) {n m : ℕ} (h : n = m) |
| 20 | (c : Cohomology.Singular.Representatives.cochainCocycles (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)) n) : |
| 21 | Cohomology.Singular.Representatives.cochainCocycles (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)) m := h ▸ c |
| 22 | |
| 23 | theorem cochainCocycleDegreeCast_val (K : SSet.{0}) {n m : ℕ} (h : n = m) |
| 24 | (c : Cohomology.Singular.Representatives.cochainCocycles (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)) n) : |
| 25 | (cochainCocycleDegreeCast K h c).val = Products.Cup.cochainCast K (ModuleCat.of ℂ ℂ) h c.val := by |
| 26 | subst m |
| 27 | rfl |
| 28 | |
| 29 | theorem cochainClass_eq_of_cast (K : SSet.{0}) {n m : ℕ} (h : n = m) |
| 30 | (c d : Cohomology.Singular.Representatives.cochainCocycles (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)) n) |
| 31 | (he : Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)) m (cochainCocycleDegreeCast K h c) = |
| 32 | Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)) m (cochainCocycleDegreeCast K h d)) : |
| 33 | Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)) n c = |
| 34 | Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of ℂ ℂ)) n d := by |
| 35 | subst m |
| 36 | exact he |
| 37 | |
| 38 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 39 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 40 | [IsManifold 𝓘(ℝ, E) ∞ M] {p q : ℕ} |
| 41 | |
| 42 | theorem smoothSimplexIntegrationCocycle_cast {n m : ℕ} (h : n = m) |
| 43 | (a : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M n) : |
| 44 | DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E M m (ClosedManifoldWedge.Constructions.closedManifoldDegreeCast h a) = |
| 45 | cochainCocycleDegreeCast (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet h |
| 46 | (DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E M n a) := by |
| 47 | subst m |
| 48 | rfl |
| 49 | |
| 50 | theorem integrationCup_normalized (a : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 51 | Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M) (q + p) |
| 52 | (DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E M (q + p) |
| 53 | (ClosedManifoldWedge.Constructions.closedManifoldDegreeCast (Nat.add_comm p q) (ClosedManifoldWedge.Constructions.closedManifoldWedge a b))) = |
| 54 | Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M) (q + p) |
| 55 | (cochainCocycleDegreeCast (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet (Nat.add_comm p q) |
| 56 | (Products.CupCohomology.cocycleCupWith (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet (LinearMap.mul ℂ ℂ) p q |
| 57 | (DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E M p a) |
| 58 | (DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E M q b))) := by |
| 59 | cases p with |
| 60 | | zero => |
| 61 | apply congrArg (Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M) q) |
| 62 | apply Subtype.ext |
| 63 | rw [cochainCocycleDegreeCast_val] |
| 64 | exact sub_eq_zero.mp (ManifoldComparisonCochain.Constructions.manifoldIntegrationDifference_closed_zero a b) |
| 65 | | succ p => |
| 66 | apply (Cohomology.Singular.Representatives.cochainClass_eq_iff_exists_succ (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M) |
| 67 | (q + p) _ _).mpr |
| 68 | refine ⟨ManifoldComparisonCochain.Constructions.manifoldComparisonCochain a.val b, ?_⟩ |
| 69 | rw [cochainCocycleDegreeCast_val] |
| 70 | exact (ManifoldComparisonCochain.Constructions.manifoldIntegrationDifference_closed_succ a b).symm |
| 71 | |
| 72 | /-- Integration of the actual exterior product represents the actual cup product. -/ |
| 73 | theorem smoothSimplexIntegrationClass_wedge |
| 74 | (a : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 75 | Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M) (p + q) |
| 76 | (DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E M (p + q) (ClosedManifoldWedge.Constructions.closedManifoldWedge a b)) = |
| 77 | Products.CupCohomology.cohomologyCup (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet p q |
| 78 | (Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M) p |
| 79 | (DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E M p a)) |
| 80 | (Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) M) q |
| 81 | (DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E M q b)) := by |
| 82 | rw [Products.CupCohomology.cohomologyCupWith_class_class] |
| 83 | apply cochainClass_eq_of_cast (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet (Nat.add_comm p q) |
| 84 | rw [← smoothSimplexIntegrationCocycle_cast] |
| 85 | exact integrationCup_normalized a b |
| 86 | |
| 87 | end Constructions |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicTopology.Kunneth.ManifoldIntegrationCup |