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.Products.CompactSupportCap |
| 2 | |
| 3 | /-! # Locally Finite Cap Truncation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Compact traces of the actual locally finite cap product |
| 11 | |
| 12 | Near a compact set, a spatially locally finite chain has the same coefficients |
| 13 | as its genuine finite truncation. The Alexander--Whitney cap operation preserves |
| 14 | this agreement. The results below compare actual coefficients and finite chains; |
| 15 | they do not assert that restriction to point germs detects homology classes. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Set |
| 19 | open scoped Simplicial |
| 20 | open OAI.AlgebraicTopology.Products.CompactSupportCap |
| 21 | |
| 22 | section |
| 23 | |
| 24 | variable {R X ι κ : Type*} [CommRing R] [TopologicalSpace X] |
| 25 | |
| 26 | /-- A spatially local operation preserves agreement on every image meeting an |
| 27 | arbitrary set. No compactness or local-contractibility hypothesis is needed. -/ |
| 28 | theorem LocallyFiniteOperation.Cycles.SpatialSupport.IsSpatiallyLocal.agrees_near |
| 29 | {imageA : ι → Set X} {imageB : κ → Set X} |
| 30 | {F : LocallyFiniteChains.Cycles.SpatialSupport.module R imageA →ₗ[R] LocallyFiniteChains.Cycles.SpatialSupport.module R imageB} |
| 31 | (hF : LocallyFiniteOperation.Cycles.SpatialSupport.IsSpatiallyLocal F) (K : Set X) |
| 32 | (a b : LocallyFiniteChains.Cycles.SpatialSupport.module R imageA) |
| 33 | (hab : ∀ i, (imageA i ∩ K).Nonempty → a i = b i) |
| 34 | (j : κ) (hj : (imageB j ∩ K).Nonempty) : |
| 35 | F a j = F b j := by |
| 36 | obtain ⟨x, hxj, hxK⟩ := hj |
| 37 | exact hF x a b (fun i hxi => hab i ⟨x, hxi, hxK⟩) j hxj |
| 38 | |
| 39 | end |
| 40 | |
| 41 | variable {R : Type} [CommRing R] |
| 42 | |
| 43 | /-- The actual locally finite cap product only uses input coefficients near |
| 44 | the image of its output simplex. -/ |
| 45 | theorem LocallyFiniteCapTruncation.Cycles.locallyFiniteCap_agrees_of_agrees |
| 46 | (X : TopCat.{0}) (K : Set X) (p q : ℕ) |
| 47 | (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of R R) X).X p) |
| 48 | (a b : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains R X (p + q)) |
| 49 | (hab : ∀ σ, (LocallyFiniteChains.Cycles.singularSimplexImage X (p + q) σ ∩ K).Nonempty → a σ = b σ) |
| 50 | (τ : (TopCat.toSSet.obj X) _⦋q⦌) |
| 51 | (hτ : (LocallyFiniteChains.Cycles.singularSimplexImage X q τ ∩ K).Nonempty) : |
| 52 | LocallyFiniteCap.Cycles.locallyFiniteCap X p q c a τ = LocallyFiniteCap.Cycles.locallyFiniteCap X p q c b τ := |
| 53 | (LocallyFiniteCap.Cycles.locallyFiniteCapLinear_isSpatiallyLocal X p q c).agrees_near K a b hab τ hτ |
| 54 | |
| 55 | /-- On an output simplex meeting a compact set, locally finite cap is exactly |
| 56 | ordinary cap of the finite input truncation. -/ |
| 57 | theorem LocallyFiniteCapTruncation.Cycles.locallyFiniteCap_truncation_agrees |
| 58 | (X : TopCat.{0}) (K : Set X) (hK : IsCompact K) (p q : ℕ) |
| 59 | (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of R R) X).X p) |
| 60 | (z : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains R X (p + q)) |
| 61 | (τ : (TopCat.toSSet.obj X) _⦋q⦌) |
| 62 | (hτ : (LocallyFiniteChains.Cycles.singularSimplexImage X q τ ∩ K).Nonempty) : |
| 63 | LocallyFiniteCap.Cycles.locallyFiniteCap X p q c z τ = |
| 64 | LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients R X q |
| 65 | (AlgebraicTopology.Products.Cap.singularCap X p q c (AlgebraicTopology.Products.CompactSupportCap.compactSingularTruncation X K hK (p + q) z)) τ := by |
| 66 | have hnear : ∀ σ, (LocallyFiniteChains.Cycles.singularSimplexImage X (p + q) σ ∩ K).Nonempty → |
| 67 | z σ = LocallyFiniteCompact.Cycles.ordinaryToLocallyFinite R X (p + q) |
| 68 | (AlgebraicTopology.Products.CompactSupportCap.compactSingularTruncation X K hK (p + q) z) σ := by |
| 69 | intro σ hσ |
| 70 | rw [AlgebraicTopology.Products.CompactSupportCap.ordinaryToLocallyFinite_compactSingularTruncation] |
| 71 | change z σ = LocallyFiniteCompactRestriction.Cycles.SpatialSupport.compactTruncation |
| 72 | (LocallyFiniteChains.Cycles.singularSimplexImage X (p + q)) K hK z σ |
| 73 | exact (LocallyFiniteCompactRestriction.Cycles.SpatialSupport.compactTruncation_agrees _ K hK z σ hσ).symm |
| 74 | have h := LocallyFiniteCapTruncation.Cycles.locallyFiniteCap_agrees_of_agrees X K p q c z |
| 75 | (LocallyFiniteCompact.Cycles.ordinaryToLocallyFinite R X (p + q) |
| 76 | (AlgebraicTopology.Products.CompactSupportCap.compactSingularTruncation X K hK (p + q) z)) hnear τ hτ |
| 77 | rw [LocallyFiniteCap.Cycles.locallyFiniteCap_ordinary] at h |
| 78 | exact h |
| 79 | |
| 80 | /-- Truncating the output coefficients gives the same actual finite family |
| 81 | whether cap is computed before or after finite input truncation. -/ |
| 82 | theorem LocallyFiniteCapTruncation.Cycles.compactTruncation_locallyFiniteCap |
| 83 | (X : TopCat.{0}) (K : Set X) (hK : IsCompact K) (p q : ℕ) |
| 84 | (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of R R) X).X p) |
| 85 | (z : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains R X (p + q)) : |
| 86 | LocallyFiniteCompactRestriction.Cycles.SpatialSupport.compactTruncation (LocallyFiniteChains.Cycles.singularSimplexImage X q) K hK |
| 87 | (LocallyFiniteCap.Cycles.locallyFiniteCap X p q c z) = |
| 88 | LocallyFiniteCompactRestriction.Cycles.SpatialSupport.compactTruncation (LocallyFiniteChains.Cycles.singularSimplexImage X q) K hK |
| 89 | (LocallyFiniteCompact.Cycles.ordinaryToLocallyFinite R X q |
| 90 | (AlgebraicTopology.Products.Cap.singularCap X p q c (AlgebraicTopology.Products.CompactSupportCap.compactSingularTruncation X K hK (p + q) z))) := by |
| 91 | classical |
| 92 | apply Finsupp.ext |
| 93 | intro τ |
| 94 | simp only [LocallyFiniteCompactRestriction.Cycles.SpatialSupport.compactTruncation_apply] |
| 95 | by_cases hτ : (LocallyFiniteChains.Cycles.singularSimplexImage X q τ ∩ K).Nonempty |
| 96 | · simp only [ite_eq_left hτ] |
| 97 | exact LocallyFiniteCapTruncation.Cycles.locallyFiniteCap_truncation_agrees X K hK p q c z τ hτ |
| 98 | · simp only [ite_eq_right hτ] |
| 99 | |
| 100 | /-- The preceding coefficient equality is also an equality of genuine |
| 101 | ordinary singular chains after compact output truncation. -/ |
| 102 | theorem LocallyFiniteCapTruncation.Cycles.compactSingularTruncation_locallyFiniteCap |
| 103 | (X : TopCat.{0}) (K : Set X) (hK : IsCompact K) (p q : ℕ) |
| 104 | (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of R R) X).X p) |
| 105 | (z : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains R X (p + q)) : |
| 106 | AlgebraicTopology.Products.CompactSupportCap.compactSingularTruncation X K hK q (LocallyFiniteCap.Cycles.locallyFiniteCap X p q c z) = |
| 107 | AlgebraicTopology.Products.CompactSupportCap.compactSingularTruncation X K hK q |
| 108 | (LocallyFiniteCompact.Cycles.ordinaryToLocallyFinite R X q |
| 109 | (AlgebraicTopology.Products.Cap.singularCap X p q c (AlgebraicTopology.Products.CompactSupportCap.compactSingularTruncation X K hK (p + q) z))) := by |
| 110 | exact congrArg (LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients R X q).symm |
| 111 | (LocallyFiniteCapTruncation.Cycles.compactTruncation_locallyFiniteCap X K hK p q c z) |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.CycleClass.Geometric |