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.Geometry.Foundations.ConvexStdSimplexMetric |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomology |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SmallSimplex |
| 4 | |
| 5 | /-! # Singular Chain Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.SingularChainSupport.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Finite support of genuine integral singular chains |
| 13 | |
| 14 | The degreewise coproduct in mathlib's singular chain complex is canonically |
| 15 | identified with finitely supported integer functions on the actual continuous |
| 16 | singular simplices. The finite-family Lebesgue argument then applies to every |
| 17 | element of the genuine chain complex. |
| 18 | -/ |
| 19 | |
| 20 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 23 | open scoped Simplicial |
| 24 | |
| 25 | /-- The canonical finite-support description of genuine singular chains. -/ |
| 26 | def singularChainDegreeFinsuppIso (X : TopCat.{0}) (n : ℕ) : |
| 27 | (LocalHomology.Cycles.integralSingularChains X).X n ≅ |
| 28 | ModuleCat.of ℤ (((TopCat.toSSet.obj X).obj (.op ⦋n⦌)) →₀ ℤ) := |
| 29 | ((TopCat.toSSet.obj X).isColimitChainComplexXCofan (ModuleCat.of ℤ ℤ) n).coconePointUniqueUpToIso |
| 30 | (ModuleCat.finsuppCoconeIsColimit ℤ ℤ ((TopCat.toSSet.obj X).obj (.op ⦋n⦌))) |
| 31 | |
| 32 | /-- Coefficients of a genuine singular chain in its simplex basis. -/ |
| 33 | def singularChainCoefficients (X : TopCat.{0}) (n : ℕ) : |
| 34 | (LocalHomology.Cycles.integralSingularChains X).X n ≃ₗ[ℤ] |
| 35 | (((TopCat.toSSet.obj X).obj (.op ⦋n⦌)) →₀ ℤ) := |
| 36 | (singularChainDegreeFinsuppIso X n).toLinearEquiv |
| 37 | |
| 38 | /-- The coefficient description sends the actual simplex summand to the |
| 39 | corresponding finitely supported singleton. -/ |
| 40 | @[reassoc (attr := simp)] |
| 41 | theorem singularChainCoefficients_simplex (X : TopCat.{0}) (n : ℕ) |
| 42 | (σ : (TopCat.toSSet.obj X).obj (.op ⦋n⦌)) : |
| 43 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ ≫ |
| 44 | (singularChainDegreeFinsuppIso X n).hom = |
| 45 | ModuleCat.ofHom (Finsupp.lsingle σ (R := ℤ) (M := ModuleCat.of ℤ ℤ)) := |
| 46 | ((TopCat.toSSet.obj X).isColimitChainComplexXCofan (ModuleCat.of ℤ ℤ) n).comp_coconePointUniqueUpToIso_hom |
| 47 | (ModuleCat.finsuppCoconeIsColimit ℤ ℤ ((TopCat.toSSet.obj X).obj (.op ⦋n⦌))) |
| 48 | (Discrete.mk σ) |
| 49 | |
| 50 | set_option backward.defeqAttrib.useBackward true in |
| 51 | set_option backward.isDefEq.respectTransparency false in |
| 52 | /-- Elementwise form of the canonical simplex coefficient formula. -/ |
| 53 | @[simp] |
| 54 | theorem singularChainCoefficients_simplex_apply (X : TopCat.{0}) (n : ℕ) |
| 55 | (σ : (TopCat.toSSet.obj X).obj (.op ⦋n⦌)) (a : ℤ) : |
| 56 | singularChainCoefficients X n |
| 57 | ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ a) = |
| 58 | Finsupp.single σ a := by |
| 59 | change (singularChainDegreeFinsuppIso X n).hom.hom |
| 60 | (((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) σ).hom a) = _ |
| 61 | simpa only [ModuleCat.hom_comp, LinearMap.comp_apply, |
| 62 | ModuleCat.hom_ofHom, Finsupp.lsingle_apply] using! |
| 63 | congrArg (fun f : ModuleCat.of ℤ ℤ ⟶ |
| 64 | ModuleCat.of ℤ (((TopCat.toSSet.obj X).obj (.op ⦋n⦌)) →₀ ℤ) ↦ f.hom a) |
| 65 | (singularChainCoefficients_simplex X n σ) |
| 66 | |
| 67 | /-- The finite set of simplices occurring with nonzero coefficient. -/ |
| 68 | def singularChainSupport {X : TopCat.{0}} {n : ℕ} |
| 69 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) : |
| 70 | Finset ((TopCat.toSSet.obj X).obj (.op ⦋n⦌)) := |
| 71 | (singularChainCoefficients X n c).support |
| 72 | |
| 73 | @[simp] |
| 74 | theorem singularChainCoefficients_eq_zero_iff {X : TopCat.{0}} {n : ℕ} |
| 75 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) : |
| 76 | singularChainCoefficients X n c = 0 ↔ c = 0 := |
| 77 | (singularChainCoefficients X n).map_eq_zero_iff |
| 78 | |
| 79 | /-- One geometric refinement exponent works simultaneously on every simplex |
| 80 | in an actual chain. The input maps are real continuous subsimplices, and their |
| 81 | mesh estimate remains an explicit hypothesis to be proved by subdivision. -/ |
| 82 | theorem singularChain_geometric_smallness {X : TopCat.{0}} {ι : Type} |
| 83 | (U : ι → Set X) (hopen : ∀ i, IsOpen (U i)) |
| 84 | (hcover : ∀ x : X, ∃ i, x ∈ U i) {n : ℕ} |
| 85 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) {r : ℝ} (hr : r < 1) : |
| 86 | ∃ N : ℕ, ∀ σ ∈ singularChainSupport c, ∀ (m : ℕ) |
| 87 | (τ : C(Convexity.StdSimplex ℝ (Fin (m + 1)), Convexity.StdSimplex ℝ (Fin (n + 1)))), |
| 88 | (∀ a b, dist (τ a) (τ b) ≤ r ^ N) → |
| 89 | ∃ i, Set.range ((X.toSSetObjEquiv (.op ⦋n⦌) σ).comp τ) ⊆ U i := by |
| 90 | classical |
| 91 | let s := (singularChainSupport c).image (X.toSSetObjEquiv (.op ⦋n⦌)) |
| 92 | obtain ⟨N, hN⟩ := SmallSimplex.Cycles.singularSimplices_geometric_smallness U hopen hcover s hr |
| 93 | refine ⟨N, ?_⟩ |
| 94 | intro σ hσ m τ hτ |
| 95 | exact hN _ (Finset.mem_image.mpr ⟨σ, hσ, rfl⟩) m τ hτ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.CycleClass.Geometric.SingularChainSupport.Cycles |