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 Mathlib.Algebra.Category.ModuleCat.Adjunctions |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 3 | import Mathlib.Algebra.Homology.SingleHomology |
| 4 | import Mathlib.AlgebraicTopology.ExtraDegeneracy |
| 5 | import Mathlib.AlgebraicTopology.SingularSet |
| 6 | |
| 7 | /-! # Cech Cover Rows -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicTopology.DeRham.Comparison.CechCoverRows |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # A Čech row resolution of small singular simplices |
| 15 | |
| 16 | The projection from the disjoint union of a set cover has a section. Its |
| 17 | augmented Čech nerve therefore has an extra degeneracy, and applying the free |
| 18 | module functor gives a chain homotopy equivalence to the covered set in degree |
| 19 | zero. We apply this to the actual singular simplices whose images lie in at |
| 20 | least one member of a family of subsets. |
| 21 | |
| 22 | This is a row resolution only. It does not identify the full singular complex |
| 23 | with its small-simplex subcomplex and does not assert a nerve theorem. |
| 24 | -/ |
| 25 | |
| 26 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicTopology |
| 27 | open scoped Simplicial |
| 28 | |
| 29 | universe u |
| 30 | |
| 31 | variable {α ι : Type u} |
| 32 | |
| 33 | /-- The actual projection from the disjoint union of a family of subsets. -/ |
| 34 | def coverProjection (U : ι → Set α) : (Σ i, U i) ⟶ α := |
| 35 | TypeCat.ofHom (fun z => z.2.1) |
| 36 | |
| 37 | /-- The projection is surjective precisely when the subsets cover. -/ |
| 38 | theorem coverProjection_surjective (U : ι → Set α) |
| 39 | (hU : ∀ x, ∃ i, x ∈ U i) : Function.Surjective (coverProjection U) := by |
| 40 | intro x |
| 41 | obtain ⟨i, hi⟩ := hU x |
| 42 | exact ⟨⟨i, x, hi⟩, rfl⟩ |
| 43 | |
| 44 | /-- A set-theoretic section of a covering projection. -/ |
| 45 | def coverProjectionSplit (U : ι → Set α) (hU : ∀ x, ∃ i, x ∈ U i) : |
| 46 | SplitEpi (coverProjection U) where |
| 47 | section_ := TypeCat.ofHom (fun x => |
| 48 | ⟨Classical.choose (hU x), x, Classical.choose_spec (hU x)⟩) |
| 49 | id := by |
| 50 | ext x |
| 51 | rfl |
| 52 | |
| 53 | /-- The augmented Čech nerve of the actual covering projection. -/ |
| 54 | def coverCechNerve (U : ι → Set α) : SimplicialObject.Augmented (Type u) := |
| 55 | (Arrow.mk (coverProjection U)).augmentedCechNerve |
| 56 | |
| 57 | /-- The chosen section supplies an extra degeneracy, with all identities proved |
| 58 | by mathlib's split Čech nerve construction. -/ |
| 59 | def coverCechExtraDegeneracy (U : ι → Set α) (hU : ∀ x, ∃ i, x ∈ U i) : |
| 60 | SimplicialObject.Augmented.ExtraDegeneracy (coverCechNerve U) := |
| 61 | Arrow.AugmentedCechNerve.extraDegeneracy |
| 62 | (Arrow.mk (coverProjection U)) (coverProjectionSplit U hU) |
| 63 | |
| 64 | variable (R : Type u) [Ring R] |
| 65 | |
| 66 | /-- Free-module Čech chains of the projection from the disjoint union. -/ |
| 67 | def coverCechModuleNerve (U : ι → Set α) : |
| 68 | SimplicialObject.Augmented (ModuleCat R) := |
| 69 | ((SimplicialObject.Augmented.whiskering _ _).obj (ModuleCat.free R)).obj |
| 70 | (coverCechNerve U) |
| 71 | |
| 72 | /-- The alternating face complex resolving the covered set. -/ |
| 73 | def coverCechChains (U : ι → Set α) : ChainComplex (ModuleCat R) ℕ := |
| 74 | AlternatingFaceMapComplex.obj (coverCechModuleNerve R U).left |
| 75 | |
| 76 | /-- The augmented Čech chain resolution of a set cover contracts onto the free |
| 77 | module on the covered set, concentrated in degree zero. -/ |
| 78 | def coverCechHomotopyEquiv (U : ι → Set α) (hU : ∀ x, ∃ i, x ∈ U i) : |
| 79 | HomotopyEquiv (coverCechChains R U) |
| 80 | ((ChainComplex.single₀ (ModuleCat R)).obj ((ModuleCat.free R).obj α)) := |
| 81 | ((coverCechExtraDegeneracy U hU).map (ModuleCat.free R)).homotopyEquiv |
| 82 | |
| 83 | /-- Positive homology vanishes in this actual Čech row complex. -/ |
| 84 | theorem coverCech_exactAt_succ (U : ι → Set α) |
| 85 | (hU : ∀ x, ∃ i, x ∈ U i) (k : ℕ) : |
| 86 | (coverCechChains R U).ExactAt (k + 1) := by |
| 87 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 88 | exact IsZero.of_iso |
| 89 | (ChainComplex.exactAt_succ_single_obj ((ModuleCat.free R).obj α) k).isZero_homology |
| 90 | ((coverCechHomotopyEquiv R U hU).toHomologyIso (k + 1)) |
| 91 | |
| 92 | /-- The zeroth homology of the Čech row is the free module on the covered set. -/ |
| 93 | def coverCechHomologyZeroIso (U : ι → Set α) (hU : ∀ x, ∃ i, x ∈ U i) : |
| 94 | (coverCechChains R U).homology 0 ≅ (ModuleCat.free R).obj α := |
| 95 | (coverCechHomotopyEquiv R U hU).toHomologyIso 0 ≪≫ |
| 96 | HomologicalComplex.singleObjHomologySelfIso (.down ℕ) 0 ((ModuleCat.free R).obj α) |
| 97 | |
| 98 | variable (X : TopCat.{u}) (U : ι → Set X) (n : ℕ) |
| 99 | |
| 100 | /-- Actual singular n-simplices whose image is contained in one cover member. -/ |
| 101 | def SmallSingularSimplex := |
| 102 | {σ : (TopCat.toSSet.obj X).obj (.op ⦋n⦌) // |
| 103 | ∃ i, Set.range (X.toSSetObjEquiv (.op ⦋n⦌) σ) ⊆ U i} |
| 104 | |
| 105 | /-- The member of the simplex cover corresponding to the spatial subset U i. -/ |
| 106 | def smallSingularSimplexCover (i : ι) : Set (SmallSingularSimplex X U n) := |
| 107 | {σ | Set.range (X.toSSetObjEquiv (.op ⦋n⦌) σ.1) ⊆ U i} |
| 108 | |
| 109 | /-- Smallness supplies the required covering property, without an extra |
| 110 | topological or comparison assumption. -/ |
| 111 | theorem smallSingularSimplexCover_covers (σ : SmallSingularSimplex X U n) : |
| 112 | ∃ i, σ ∈ smallSingularSimplexCover X U n i := |
| 113 | σ.2 |
| 114 | |
| 115 | /-- The actual Čech row of free modules on small singular n-simplices is chain |
| 116 | homotopy equivalent to the free module on those simplices in degree zero. -/ |
| 117 | def smallSingularCechHomotopyEquiv : |
| 118 | HomotopyEquiv (coverCechChains R (smallSingularSimplexCover X U n)) |
| 119 | ((ChainComplex.single₀ (ModuleCat R)).obj |
| 120 | ((ModuleCat.free R).obj (SmallSingularSimplex X U n))) := |
| 121 | coverCechHomotopyEquiv R (smallSingularSimplexCover X U n) |
| 122 | (smallSingularSimplexCover_covers X U n) |
| 123 | |
| 124 | /-- Every positive Čech degree in a fixed singular-simplex row is exact. -/ |
| 125 | theorem smallSingularCech_exactAt_succ (k : ℕ) : |
| 126 | (coverCechChains R (smallSingularSimplexCover X U n)).ExactAt (k + 1) := |
| 127 | coverCech_exactAt_succ R (smallSingularSimplexCover X U n) |
| 128 | (smallSingularSimplexCover_covers X U n) k |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicTopology.DeRham.Comparison.CechCoverRows |