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.AlgebraicGeometry.CycleClass.Geometric.RelativeChainSupport |
| 2 | import Mathlib.Topology.Sets.Opens |
| 3 | |
| 4 | /-! # Finite Chain Separation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.FiniteChainSeparation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Separating a point from a finite singular chain |
| 12 | |
| 13 | Each actual singular simplex has compact image. Thus the finite union of |
| 14 | images with nonzero coefficients is compact, and is closed in a Hausdorff |
| 15 | space. If it avoids a point, its open complement is a neighborhood avoided |
| 16 | by every nonzero simplex in the chain. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | open scoped Simplicial |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | namespace Cycles |
| 26 | |
| 27 | /-- The geometric image of an actual singular simplex is compact. -/ |
| 28 | theorem singularSimplexImage_isCompact (X : TopCat.{0}) (n : ℕ) |
| 29 | (σ : (TopCat.toSSet.obj X).obj (.op ⦋n⦌)) : |
| 30 | IsCompact (LocallyFiniteChains.Cycles.singularSimplexImage X n σ) := |
| 31 | isCompact_range (X.toSSetObjEquiv (.op ⦋n⦌) σ).continuous |
| 32 | |
| 33 | /-- The geometric support of a finite integral chain, as the union of the |
| 34 | images of exactly its nonzero simplex coefficients. -/ |
| 35 | def finiteChainImage (X : TopCat.{0}) (n : ℕ) (c : (LocalHomology.Cycles.integralSingularChains X).X n) : |
| 36 | Set X := |
| 37 | ⋃ σ ∈ (LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n c).support, |
| 38 | LocallyFiniteChains.Cycles.singularSimplexImage X n σ |
| 39 | |
| 40 | /-- Membership in the geometric chain image is witnessed by a nonzero simplex. -/ |
| 41 | theorem mem_finiteChainImage_iff (X : TopCat.{0}) (n : ℕ) |
| 42 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) (x : X) : |
| 43 | x ∈ finiteChainImage X n c ↔ |
| 44 | ∃ σ, LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n c σ ≠ 0 ∧ |
| 45 | x ∈ LocallyFiniteChains.Cycles.singularSimplexImage X n σ := by |
| 46 | simp [finiteChainImage, Finsupp.mem_support_iff] |
| 47 | |
| 48 | /-- A finite chain has compact geometric image in every topological space. -/ |
| 49 | theorem finiteChainImage_isCompact (X : TopCat.{0}) (n : ℕ) |
| 50 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) : IsCompact (finiteChainImage X n c) := |
| 51 | (LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n c).support.isCompact_biUnion |
| 52 | (fun σ _ => singularSimplexImage_isCompact X n σ) |
| 53 | |
| 54 | /-- A finite chain has closed geometric image in a Hausdorff space. -/ |
| 55 | theorem finiteChainImage_isClosed (X : TopCat.{0}) [T2Space X] (n : ℕ) |
| 56 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) : IsClosed (finiteChainImage X n c) := |
| 57 | (finiteChainImage_isCompact X n c).isClosed |
| 58 | |
| 59 | /-- If every nonzero simplex of a finite chain avoids a point, all these |
| 60 | simplices avoid a single open neighborhood of that point. -/ |
| 61 | theorem exists_open_avoided_by_chain (X : TopCat.{0}) [T2Space X] (x : X) (n : ℕ) |
| 62 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) |
| 63 | (hc : ∀ σ, LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n c σ ≠ 0 → |
| 64 | x ∉ LocallyFiniteChains.Cycles.singularSimplexImage X n σ) : |
| 65 | ∃ U : TopologicalSpace.Opens X, x ∈ U ∧ |
| 66 | ∀ σ, LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n c σ ≠ 0 → |
| 67 | LocallyFiniteChains.Cycles.singularSimplexImage X n σ ⊆ (U : Set X)ᶜ := by |
| 68 | refine ⟨⟨(finiteChainImage X n c)ᶜ, (finiteChainImage_isClosed X n c).isOpen_compl⟩, |
| 69 | ?_, ?_⟩ |
| 70 | · change x ∉ finiteChainImage X n c |
| 71 | intro hx |
| 72 | obtain ⟨σ, hσ, hxσ⟩ := (mem_finiteChainImage_iff X n c x).mp hx |
| 73 | exact hc σ hσ hxσ |
| 74 | · intro σ hσ y hy |
| 75 | change y ∈ (finiteChainImage X n c)ᶜᶜ |
| 76 | rw [compl_compl] |
| 77 | exact (mem_finiteChainImage_iff X n c y).mpr ⟨σ, hσ, hy⟩ |
| 78 | |
| 79 | /-- The avoiding neighborhood can be chosen inside any specified open |
| 80 | neighborhood of the point. -/ |
| 81 | theorem exists_open_avoided_by_chain_within (X : TopCat.{0}) [T2Space X] |
| 82 | (x : X) (n : ℕ) (c : (LocalHomology.Cycles.integralSingularChains X).X n) |
| 83 | (hc : ∀ σ, LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n c σ ≠ 0 → |
| 84 | x ∉ LocallyFiniteChains.Cycles.singularSimplexImage X n σ) |
| 85 | (V : TopologicalSpace.Opens X) (hxV : x ∈ V) : |
| 86 | ∃ U : TopologicalSpace.Opens X, x ∈ U ∧ U ≤ V ∧ |
| 87 | ∀ σ, LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n c σ ≠ 0 → |
| 88 | LocallyFiniteChains.Cycles.singularSimplexImage X n σ ⊆ (U : Set X)ᶜ := by |
| 89 | obtain ⟨W, hxW, hW⟩ := exists_open_avoided_by_chain X x n c hc |
| 90 | refine ⟨V ⊓ W, ⟨hxV, hxW⟩, inf_le_left, ?_⟩ |
| 91 | intro σ hσ y hy hyU |
| 92 | exact hW σ hσ hy hyU.2 |
| 93 | |
| 94 | /-- Point-relative vanishing means precisely that every nonzero simplex |
| 95 | avoids the point. This equivalence needs no separation assumption. -/ |
| 96 | theorem relativeChainProjection_eq_zero_iff_avoids_point |
| 97 | (X : TopCat.{0}) (x : X) (n : ℕ) (c : (LocalHomology.Cycles.integralSingularChains X).X n) : |
| 98 | (LocalHomology.Cycles.relativeChainProjection X ({x}ᶜ : Set X)).f n c = 0 ↔ |
| 99 | ∀ σ, LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n c σ ≠ 0 → |
| 100 | x ∉ LocallyFiniteChains.Cycles.singularSimplexImage X n σ := by |
| 101 | simpa only [Set.subset_compl_singleton_iff] using |
| 102 | (RelativeChainSupport.Cycles.relativeChainProjection_eq_zero_iff_supported X ({x}ᶜ : Set X) n c) |
| 103 | |
| 104 | /-- A finite chain vanishing relative to a point already vanishes relative |
| 105 | to the complement of some open neighborhood. -/ |
| 106 | theorem exists_open_relative_projection_eq_zero (X : TopCat.{0}) [T2Space X] |
| 107 | (x : X) (n : ℕ) (c : (LocalHomology.Cycles.integralSingularChains X).X n) |
| 108 | (hc : (LocalHomology.Cycles.relativeChainProjection X ({x}ᶜ : Set X)).f n c = 0) : |
| 109 | ∃ U : TopologicalSpace.Opens X, x ∈ U ∧ |
| 110 | (LocalHomology.Cycles.relativeChainProjection X (U : Set X)ᶜ).f n c = 0 := by |
| 111 | obtain ⟨U, hxU, hU⟩ := exists_open_avoided_by_chain X x n c |
| 112 | ((relativeChainProjection_eq_zero_iff_avoids_point X x n c).mp hc) |
| 113 | exact ⟨U, hxU, RelativeChainSupport.Cycles.relativeChainProjection_eq_zero_of_supported X (U : Set X)ᶜ n c hU⟩ |
| 114 | |
| 115 | /-- The finite-chain vanishing neighborhood may be shrunk inside any |
| 116 | previously chosen neighborhood, as needed for local-homology germs. -/ |
| 117 | theorem exists_open_relative_projection_eq_zero_within (X : TopCat.{0}) [T2Space X] |
| 118 | (x : X) (n : ℕ) (c : (LocalHomology.Cycles.integralSingularChains X).X n) |
| 119 | (hc : (LocalHomology.Cycles.relativeChainProjection X ({x}ᶜ : Set X)).f n c = 0) |
| 120 | (V : TopologicalSpace.Opens X) (hxV : x ∈ V) : |
| 121 | ∃ U : TopologicalSpace.Opens X, x ∈ U ∧ U ≤ V ∧ |
| 122 | (LocalHomology.Cycles.relativeChainProjection X (U : Set X)ᶜ).f n c = 0 := by |
| 123 | obtain ⟨U, hxU, hUV, hU⟩ := exists_open_avoided_by_chain_within X x n c |
| 124 | ((relativeChainProjection_eq_zero_iff_avoids_point X x n c).mp hc) V hxV |
| 125 | exact ⟨U, hxU, hUV, RelativeChainSupport.Cycles.relativeChainProjection_eq_zero_of_supported X (U : Set X)ᶜ n c hU⟩ |
| 126 | |
| 127 | end Cycles |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.CycleClass.Geometric.FiniteChainSeparation |