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.SubdivisionSmallness |
| 2 | import Mathlib.AlgebraicTopology.SimplicialSet.Homology.Basic |
| 3 | |
| 4 | /-! # Small Chain Image -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.SmallChainImage.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The actual image of small singular chains |
| 12 | |
| 13 | The inclusion of the small singular simplicial set induces a genuine chain |
| 14 | map. In the canonical finite-support coefficient descriptions, it is precisely |
| 15 | extension along the inclusion of simplex indices. Hence its degreewise image |
| 16 | is exactly the chains whose support consists of small simplices. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open scoped Simplicial |
| 21 | |
| 22 | /-- Canonical simplex coefficients for the integral chains of any simplicial set. -/ |
| 23 | def simplicialIntegralChainDegreeFinsuppIso (S : SSet.{0}) (n : ℕ) : |
| 24 | (S.chainComplex (ModuleCat.of ℤ ℤ)).X n ≅ |
| 25 | ModuleCat.of ℤ (S.obj (.op ⦋n⦌) →₀ ℤ) := |
| 26 | (S.isColimitChainComplexXCofan (ModuleCat.of ℤ ℤ) n).coconePointUniqueUpToIso |
| 27 | (ModuleCat.finsuppCoconeIsColimit ℤ ℤ (S.obj (.op ⦋n⦌))) |
| 28 | |
| 29 | def simplicialIntegralChainCoefficients (S : SSet.{0}) (n : ℕ) : |
| 30 | (S.chainComplex (ModuleCat.of ℤ ℤ)).X n ≃ₗ[ℤ] (S.obj (.op ⦋n⦌) →₀ ℤ) := |
| 31 | (simplicialIntegralChainDegreeFinsuppIso S n).toLinearEquiv |
| 32 | |
| 33 | @[reassoc (attr := simp)] |
| 34 | theorem simplicialIntegralChainCoefficients_simplex (S : SSet.{0}) (n : ℕ) |
| 35 | (s : S.obj (.op ⦋n⦌)) : |
| 36 | S.ιChainComplex (R := ModuleCat.of ℤ ℤ) s ≫ |
| 37 | (simplicialIntegralChainDegreeFinsuppIso S n).hom = |
| 38 | ModuleCat.ofHom (Finsupp.lsingle s (R := ℤ) (M := ModuleCat.of ℤ ℤ)) := |
| 39 | (S.isColimitChainComplexXCofan (ModuleCat.of ℤ ℤ) n).comp_coconePointUniqueUpToIso_hom |
| 40 | (ModuleCat.finsuppCoconeIsColimit ℤ ℤ (S.obj (.op ⦋n⦌))) (Discrete.mk s) |
| 41 | |
| 42 | set_option backward.defeqAttrib.useBackward true in |
| 43 | set_option backward.isDefEq.respectTransparency false in |
| 44 | /-- A simplicial map carries the coefficient of each source simplex to its |
| 45 | actual image simplex, adding coefficients if several images coincide. -/ |
| 46 | theorem simplicialIntegralChainCoefficients_naturality {S T : SSet.{0}} |
| 47 | (f : S ⟶ T) (n : ℕ) : |
| 48 | (SSet.chainComplexMap f (ModuleCat.of ℤ ℤ)).f n ≫ |
| 49 | (simplicialIntegralChainDegreeFinsuppIso T n).hom = |
| 50 | (simplicialIntegralChainDegreeFinsuppIso S n).hom ≫ |
| 51 | ModuleCat.ofHom (Finsupp.lmapDomain ℤ ℤ (f.app (.op ⦋n⦌))) := by |
| 52 | apply SSet.chainComplex_hom_ext |
| 53 | intro s |
| 54 | simp only [SSet.ι_chainComplexMap_f_assoc, |
| 55 | simplicialIntegralChainCoefficients_simplex, |
| 56 | simplicialIntegralChainCoefficients_simplex_assoc] |
| 57 | apply ModuleCat.hom_ext |
| 58 | ext a |
| 59 | simp [Finsupp.lmapDomain_apply] |
| 60 | |
| 61 | set_option backward.defeqAttrib.useBackward true in |
| 62 | set_option backward.isDefEq.respectTransparency false in |
| 63 | /-- Elementwise form of the genuine coefficient naturality identity. -/ |
| 64 | theorem simplicialIntegralChainCoefficients_map {S T : SSet.{0}} |
| 65 | (f : S ⟶ T) (n : ℕ) (c : (S.chainComplex (ModuleCat.of ℤ ℤ)).X n) : |
| 66 | simplicialIntegralChainCoefficients T n |
| 67 | ((SSet.chainComplexMap f (ModuleCat.of ℤ ℤ)).f n c) = |
| 68 | Finsupp.mapDomain (f.app (.op ⦋n⦌)) |
| 69 | (simplicialIntegralChainCoefficients S n c) := by |
| 70 | simpa only [ModuleCat.hom_comp, LinearMap.comp_apply, ModuleCat.hom_ofHom, |
| 71 | Finsupp.lmapDomain_apply] using! |
| 72 | congrArg (fun g : (S.chainComplex (ModuleCat.of ℤ ℤ)).X n ⟶ |
| 73 | ModuleCat.of ℤ (T.obj (.op ⦋n⦌) →₀ ℤ) => g.hom c) |
| 74 | (simplicialIntegralChainCoefficients_naturality f n) |
| 75 | |
| 76 | variable (X : TopCat.{0}) {J : Type} (U : J → Set X) |
| 77 | |
| 78 | /-- Genuine integral chains of the small singular simplicial subcomplex. -/ |
| 79 | abbrev integralSmallSingularChains : ChainComplex (ModuleCat.{0} ℤ) ℕ := |
| 80 | (OAI.AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularSubcomplex X U : SSet).chainComplex |
| 81 | (ModuleCat.of ℤ ℤ) |
| 82 | |
| 83 | /-- The actual chain map induced by inclusion of small singular simplices. -/ |
| 84 | abbrev smallIntegralChainInclusion : |
| 85 | integralSmallSingularChains X U ⟶ LocalHomology.Cycles.integralSingularChains X := |
| 86 | SSet.chainComplexMap (OAI.AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularInclusion X U) |
| 87 | (ModuleCat.of ℤ ℤ) |
| 88 | |
| 89 | /-- Canonical finite-support coefficients on the genuine small-chain complex. -/ |
| 90 | abbrev smallIntegralChainCoefficients (n : ℕ) : |
| 91 | (integralSmallSingularChains X U).X n ≃ₗ[ℤ] |
| 92 | ((OAI.AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularSubcomplex X U : SSet).obj (.op ⦋n⦌) →₀ ℤ) := |
| 93 | simplicialIntegralChainCoefficients |
| 94 | (OAI.AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularSubcomplex X U : SSet) n |
| 95 | |
| 96 | /-- In canonical coefficients the actual inclusion extends along the subtype |
| 97 | inclusion, with no arbitrary choice of a chain-level comparison map. -/ |
| 98 | theorem smallIntegralChainInclusion_coefficients (n : ℕ) |
| 99 | (c : (integralSmallSingularChains X U).X n) : |
| 100 | SingularChainSupport.Cycles.singularChainCoefficients X n ((smallIntegralChainInclusion X U).f n c) = |
| 101 | Finsupp.mapDomain Subtype.val (smallIntegralChainCoefficients X U n c) := |
| 102 | simplicialIntegralChainCoefficients_map |
| 103 | (OAI.AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularInclusion X U) n c |
| 104 | |
| 105 | /-- The actual small-chain inclusion is injective in each degree. -/ |
| 106 | theorem smallIntegralChainInclusion_injective (n : ℕ) : |
| 107 | Function.Injective ((smallIntegralChainInclusion X U).f n) := by |
| 108 | intro a b h |
| 109 | apply (smallIntegralChainCoefficients X U n).injective |
| 110 | apply Finsupp.mapDomain_injective Subtype.val_injective |
| 111 | rw [← smallIntegralChainInclusion_coefficients, ← smallIntegralChainInclusion_coefficients, h] |
| 112 | |
| 113 | instance smallIntegralChainInclusion_degree_mono (n : ℕ) : |
| 114 | Mono ((smallIntegralChainInclusion X U).f n) := |
| 115 | (ModuleCat.mono_iff_injective _).mpr (smallIntegralChainInclusion_injective X U n) |
| 116 | |
| 117 | instance smallIntegralChainInclusion_mono : Mono (smallIntegralChainInclusion X U) := |
| 118 | HomologicalComplex.mono_of_mono_f _ (fun _ => inferInstance) |
| 119 | |
| 120 | /-- The image of the genuine inclusion is exactly the chains supported on |
| 121 | small simplices. This identifies the support criterion with actual image membership. -/ |
| 122 | theorem mem_range_smallIntegralChainInclusion_iff (n : ℕ) |
| 123 | (c : (LocalHomology.Cycles.integralSingularChains X).X n) : |
| 124 | c ∈ LinearMap.range ((smallIntegralChainInclusion X U).f n).hom ↔ |
| 125 | ∀ t ∈ SingularChainSupport.Cycles.singularChainSupport c, |
| 126 | t ∈ (OAI.AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularSubcomplex X U).obj (.op ⦋n⦌) := by |
| 127 | constructor |
| 128 | · rintro ⟨b, rfl⟩ t ht |
| 129 | change t ∈ (SingularChainSupport.Cycles.singularChainCoefficients X n |
| 130 | ((smallIntegralChainInclusion X U).f n b)).support at ht |
| 131 | rw [smallIntegralChainInclusion_coefficients] at ht |
| 132 | obtain ⟨s, rfl⟩ := Finsupp.mem_range_of_mapDomain_ne_zero |
| 133 | (Finsupp.mem_support_iff.mp ht) |
| 134 | exact s.property |
| 135 | · intro hc |
| 136 | have hcoeff : SingularChainSupport.Cycles.singularChainCoefficients X n c ∈ Set.range |
| 137 | (Finsupp.mapDomain (Subtype.val : |
| 138 | (OAI.AlgebraicTopology.DeRham.Comparison.SmallSingularSet.smallSingularSubcomplex X U : SSet).obj (.op ⦋n⦌) → |
| 139 | (TopCat.toSSet.obj X).obj (.op ⦋n⦌))) := by |
| 140 | apply (Finsupp.mem_range_mapDomain_iff _ Subtype.val_injective _).2 |
| 141 | intro t ht |
| 142 | by_contra hne |
| 143 | apply ht |
| 144 | exact ⟨⟨t, hc t (Finsupp.mem_support_iff.mpr hne)⟩, rfl⟩ |
| 145 | obtain ⟨b, hb⟩ := hcoeff |
| 146 | refine ⟨(smallIntegralChainCoefficients X U n).symm b, ?_⟩ |
| 147 | apply (SingularChainSupport.Cycles.singularChainCoefficients X n).injective |
| 148 | rw [smallIntegralChainInclusion_coefficients] |
| 149 | exact (congrArg (Finsupp.mapDomain Subtype.val) |
| 150 | ((smallIntegralChainCoefficients X U n).apply_symm_apply b)).trans hb |
| 151 | |
| 152 | /-- The actual signed barycentric operator eventually lands in the actual |
| 153 | image of the small-chain inclusion for every finite integral chain. -/ |
| 154 | theorem exists_subdivisionDegree_iterate_in_smallChainImage |
| 155 | (hopen : ∀ i, IsOpen (U i)) (hcover : ∀ x : X, ∃ i, x ∈ U i) |
| 156 | {n : ℕ} (c : (LocalHomology.Cycles.integralSingularChains X).X n) : |
| 157 | ∃ N : ℕ, (SubdivisionOperator.Cycles.subdivisionDegree X n)^[N] c ∈ |
| 158 | LinearMap.range ((smallIntegralChainInclusion X U).f n).hom := by |
| 159 | obtain ⟨N, hN⟩ := SubdivisionSmallness.Cycles.exists_subdivisionDegree_iterate_small U hopen hcover c |
| 160 | exact ⟨N, (mem_range_smallIntegralChainInclusion_iff X U n _).2 hN⟩ |
| 161 | |
| 162 | /-- Equivalent preimage formulation, with a genuine element of the small-chain complex. -/ |
| 163 | theorem exists_subdivisionDegree_iterate_smallChain_preimage |
| 164 | (hopen : ∀ i, IsOpen (U i)) (hcover : ∀ x : X, ∃ i, x ∈ U i) |
| 165 | {n : ℕ} (c : (LocalHomology.Cycles.integralSingularChains X).X n) : |
| 166 | ∃ N : ℕ, ∃ b : (integralSmallSingularChains X U).X n, |
| 167 | (smallIntegralChainInclusion X U).f n b = (SubdivisionOperator.Cycles.subdivisionDegree X n)^[N] c := |
| 168 | exists_subdivisionDegree_iterate_in_smallChainImage X U hopen hcover c |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicGeometry.CycleClass.Geometric.SmallChainImage.Cycles |