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.ChainSplittingD |
| 2 | import OAI.AlgebraicTopology.Products.CapBoundary |
| 3 | import Mathlib.LinearAlgebra.FiniteDimensional.Basic |
| 4 | |
| 5 | /-! # Cap Finiteness Of -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.Kunneth.CapFinitenessOf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite support of a cap-product chain bounds the image of duality. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | open OAI.AlgebraicTopology.Products.CapBoundary |
| 17 | open scoped Simplicial |
| 18 | |
| 19 | namespace Construction.CapFiniteness |
| 20 | |
| 21 | variable {k : Type} [Field k] |
| 22 | |
| 23 | theorem simplexChain_span (K : SSet.{0}) (n : ℕ) : |
| 24 | Submodule.span k (Set.range (Cohomology.Singular.ChainDual.simplexChain (R := k) K (n := n))) = ⊤ := by |
| 25 | let S := Submodule.span k (Set.range (Cohomology.Singular.ChainDual.simplexChain (R := k) K (n := n))) |
| 26 | have h : S.mkQ = 0 := by |
| 27 | apply Cohomology.Singular.ChainDual.chainFunctional_ext K (ModuleCat.of k (((Cohomology.Singular.ChainDual.simplicialScalarChains K).X n) ⧸ S)) |
| 28 | intro s |
| 29 | exact (Submodule.Quotient.mk_eq_zero S).mpr (Submodule.subset_span ⟨s, rfl⟩) |
| 30 | apply Submodule.eq_top_iff'.mpr |
| 31 | intro z |
| 32 | exact (Submodule.Quotient.mk_eq_zero S).mp (LinearMap.congr_fun h z) |
| 33 | |
| 34 | /-- Capping with a fixed chain always lands in a finitely generated subspace. -/ |
| 35 | theorem exists_finite_cap_container (K : SSet.{0}) (p q : ℕ) |
| 36 | (z : (Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K).X (p + q)) : |
| 37 | ∃ S : Submodule k ((Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K).X q), |
| 38 | S.FG ∧ ∀ c, Products.Cap.cap K p q c z ∈ S := by |
| 39 | have hz : z ∈ Submodule.span k (Set.range (Cohomology.Singular.ChainDual.simplexChain (R := k) K (n := p + q))) := by |
| 40 | rw [simplexChain_span] |
| 41 | trivial |
| 42 | induction hz using Submodule.span_induction with |
| 43 | | mem x hx => |
| 44 | obtain ⟨s, rfl⟩ := hx |
| 45 | refine ⟨k ∙ Cohomology.Singular.ChainDual.simplexChain (R := k) K (Products.SimplexFaceIdentities.backFace K p q s), |
| 46 | Submodule.fg_span_singleton _, ?_⟩ |
| 47 | intro c |
| 48 | rw [Products.Cap.cap_simplex] |
| 49 | exact Submodule.smul_mem _ _ (Submodule.mem_span_singleton_self _) |
| 50 | | zero => |
| 51 | refine ⟨⊥, Submodule.fg_bot, ?_⟩ |
| 52 | intro c |
| 53 | simp only [map_zero, Submodule.zero_mem] |
| 54 | | add x y _ _ hx hy => |
| 55 | obtain ⟨S, hS, hx⟩ := hx |
| 56 | obtain ⟨T, hT, hy⟩ := hy |
| 57 | refine ⟨S ⊔ T, hS.sup hT, ?_⟩ |
| 58 | intro c |
| 59 | rw [map_add] |
| 60 | exact Submodule.add_mem _ |
| 61 | ((show S ≤ S ⊔ T from le_sup_left) (hx c)) |
| 62 | ((show T ≤ S ⊔ T from le_sup_right) (hy c)) |
| 63 | | smul r x _ hx => |
| 64 | obtain ⟨S, hS, hx⟩ := hx |
| 65 | refine ⟨S, hS, ?_⟩ |
| 66 | intro c |
| 67 | rw [map_smul] |
| 68 | exact S.smul_mem r (hx c) |
| 69 | |
| 70 | /-- If capping with one homology class is surjective, its target homology |
| 71 | is finite-dimensional. This uses a finite representative of that class. -/ |
| 72 | theorem finite_homology_of_cap_surjective (K : SSet.{0}) (p q : ℕ) |
| 73 | (z : (Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K).homology (p + q)) |
| 74 | (hcap : Function.Surjective (fun c => Products.CapBoundary.capHomology K p q c z)) : |
| 75 | FiniteDimensional k ((Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K).homology q) := by |
| 76 | obtain ⟨z, rfl⟩ := Cohomology.Singular.ChainRepresentatives.chainClass_surjective (Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K) (p + q) z |
| 77 | obtain ⟨S, hS, hSz⟩ := exists_finite_cap_container K p q z.val |
| 78 | let : Module.Finite k S := Module.Finite.of_fg hS |
| 79 | let f : S →ₗ[k] (Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K).homology q := |
| 80 | (Cohomology.Singular.ChainRepresentatives.chainClass (Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K) q).comp |
| 81 | ((ChainSplittingD.Construction.ChainSplitting.cycleRetraction (Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K) q).comp S.subtype) |
| 82 | apply Module.Finite.of_surjective f |
| 83 | intro a |
| 84 | obtain ⟨c, rfl⟩ := hcap a |
| 85 | obtain ⟨c, rfl⟩ := Cohomology.Singular.Representatives.cochainClass_surjective (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of k k)) p c |
| 86 | refine ⟨⟨Products.Cap.cap K p q c.val z.val, hSz c.val⟩, ?_⟩ |
| 87 | refine Eq.trans ?_ (Products.CapBoundary.capHomology_class_class K p q c z).symm |
| 88 | change Cohomology.Singular.ChainRepresentatives.chainClass (Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K) q |
| 89 | (ChainSplittingD.Construction.ChainSplitting.cycleRetraction (Cohomology.Singular.ChainDual.simplicialScalarChains (R := k) K) q |
| 90 | (Products.CapBoundary.capCycles K p q c z).val) = _ |
| 91 | rw [ChainSplittingD.Construction.ChainSplitting.cycleRetraction_cycle] |
| 92 | |
| 93 | end Construction.CapFiniteness |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicTopology.Kunneth.CapFinitenessOf |