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.EventuallySmall |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SmallSubdivisionHomotopy |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.BinarySmallInclusion |
| 4 | |
| 5 | /-! # Small Singular Quasi Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.SmallSingularQuasiIso.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The actual open-cover small-chain inclusion is a quasi-isomorphism |
| 13 | |
| 14 | This module applies the eventual-smallness criterion to the constructed signed |
| 15 | barycentric subdivision chain maps and their constructed chain homotopies. |
| 16 | The only hypotheses are that the given family consists of open subsets and |
| 17 | covers the actual topological space. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory |
| 21 | |
| 22 | variable (X : TopCat.{0}) {J : Type} (U : J → Set X) |
| 23 | |
| 24 | /-- For an actual open cover, the canonical inclusion of cover-small integral |
| 25 | singular chains into all integral singular chains is a quasi-isomorphism. -/ |
| 26 | theorem smallIntegralChainInclusion_quasiIso |
| 27 | (hopen : ∀ i, IsOpen (U i)) (hcover : ∀ x : X, ∃ i, x ∈ U i) : |
| 28 | _root_.QuasiIso (SmallChainImage.Cycles.smallIntegralChainInclusion X U) := |
| 29 | EventuallySmall.Cycles.quasiIso_of_eventuallySmall |
| 30 | (SmallChainImage.Cycles.smallIntegralChainInclusion X U) |
| 31 | (SmallChainImage.Cycles.smallIntegralChainInclusion_injective X U) |
| 32 | (SmallSubdivision.Cycles.smallSubdivisionChainMap X U) |
| 33 | (SubdivisionBoundary.Cycles.subdivisionChainMap X) |
| 34 | (SmallSubdivision.Cycles.smallSubdivisionChainMap_intertwining X U) |
| 35 | (SmallSubdivisionHomotopy.Cycles.smallSubdivisionHomotopy X U) |
| 36 | (SubdivisionHomotopy.Cycles.subdivisionHomotopy X) |
| 37 | (fun _ c => SmallSubdivision.Cycles.exists_subdivisionChainMap_iterate_small_preimage X U hopen hcover c) |
| 38 | |
| 39 | /-- The induced homology map is bijective in every degree, including zero. -/ |
| 40 | theorem smallIntegralHomologyMap_bijective |
| 41 | (hopen : ∀ i, IsOpen (U i)) (hcover : ∀ x : X, ∃ i, x ∈ U i) (n : ℕ) : |
| 42 | Function.Bijective (HomologicalComplex.homologyMap (SmallChainImage.Cycles.smallIntegralChainInclusion X U) n) := by |
| 43 | let _ := smallIntegralChainInclusion_quasiIso X U hopen hcover |
| 44 | exact (ConcreteCategory.isIso_iff_bijective _).mp inferInstance |
| 45 | |
| 46 | /-- The genuine homology isomorphism induced by the canonical inclusion of |
| 47 | open-cover small singular chains. -/ |
| 48 | def smallIntegralHomologyIso |
| 49 | (hopen : ∀ i, IsOpen (U i)) (hcover : ∀ x : X, ∃ i, x ∈ U i) (n : ℕ) : |
| 50 | (SmallChainImage.Cycles.integralSmallSingularChains X U).homology n ≅ (LocalHomology.Cycles.integralSingularChains X).homology n := by |
| 51 | letI := smallIntegralChainInclusion_quasiIso X U hopen hcover |
| 52 | exact isoOfQuasiIsoAt (SmallChainImage.Cycles.smallIntegralChainInclusion X U) n |
| 53 | |
| 54 | @[simp] |
| 55 | theorem smallIntegralHomologyIso_hom |
| 56 | (hopen : ∀ i, IsOpen (U i)) (hcover : ∀ x : X, ∃ i, x ∈ U i) (n : ℕ) : |
| 57 | (smallIntegralHomologyIso X U hopen hcover n).hom = |
| 58 | HomologicalComplex.homologyMap (SmallChainImage.Cycles.smallIntegralChainInclusion X U) n := rfl |
| 59 | |
| 60 | @[reassoc (attr := simp)] |
| 61 | theorem smallIntegralHomologyMap_iso_inv |
| 62 | (hopen : ∀ i, IsOpen (U i)) (hcover : ∀ x : X, ∃ i, x ∈ U i) (n : ℕ) : |
| 63 | HomologicalComplex.homologyMap (SmallChainImage.Cycles.smallIntegralChainInclusion X U) n ≫ |
| 64 | (smallIntegralHomologyIso X U hopen hcover n).inv = 𝟙 _ := |
| 65 | (smallIntegralHomologyIso X U hopen hcover n).hom_inv_id |
| 66 | |
| 67 | @[reassoc (attr := simp)] |
| 68 | theorem smallIntegralHomologyIso_inv_map |
| 69 | (hopen : ∀ i, IsOpen (U i)) (hcover : ∀ x : X, ∃ i, x ∈ U i) (n : ℕ) : |
| 70 | (smallIntegralHomologyIso X U hopen hcover n).inv ≫ |
| 71 | HomologicalComplex.homologyMap (SmallChainImage.Cycles.smallIntegralChainInclusion X U) n = 𝟙 _ := |
| 72 | (smallIntegralHomologyIso X U hopen hcover n).inv_hom_id |
| 73 | |
| 74 | variable (A B : Set X) |
| 75 | |
| 76 | /-- Actual quasi-isomorphism for a binary open cover, in the presentation used |
| 77 | by the small-chain Mayer--Vietoris sequence. -/ |
| 78 | theorem binarySmallIntegralChainInclusion_quasiIso |
| 79 | (hA : IsOpen A) (hB : IsOpen B) (hcover : A ∪ B = Set.univ) : |
| 80 | _root_.QuasiIso (BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion X A B) := by |
| 81 | have hopen : ∀ b : Bool, IsOpen (if b then B else A) := by |
| 82 | intro b |
| 83 | cases b |
| 84 | · exact hA |
| 85 | · exact hB |
| 86 | have hcov : ∀ x : X, ∃ b : Bool, x ∈ if b then B else A := by |
| 87 | intro x |
| 88 | have hx : x ∈ A ∪ B := by rw [hcover]; trivial |
| 89 | rcases hx with hx | hx |
| 90 | · exact ⟨false, hx⟩ |
| 91 | · exact ⟨true, hx⟩ |
| 92 | let _ := smallIntegralChainInclusion_quasiIso X |
| 93 | (fun b : Bool => if b then B else A) hopen hcov |
| 94 | dsimp only [BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion] |
| 95 | infer_instance |
| 96 | |
| 97 | /-- The binary-cover small homology is canonically the ambient singular |
| 98 | homology for an actual binary open cover. -/ |
| 99 | def binarySmallIntegralHomologyIso |
| 100 | (hA : IsOpen A) (hB : IsOpen B) (hcover : A ∪ B = Set.univ) (n : ℕ) : |
| 101 | SmallMayerVietoris.Cycles.binarySmallSingularHomology X A B n ≅ (LocalHomology.Cycles.integralSingularChains X).homology n := by |
| 102 | letI := binarySmallIntegralChainInclusion_quasiIso X A B hA hB hcover |
| 103 | exact isoOfQuasiIsoAt (BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion X A B) n |
| 104 | |
| 105 | @[simp] |
| 106 | theorem binarySmallIntegralHomologyIso_hom |
| 107 | (hA : IsOpen A) (hB : IsOpen B) (hcover : A ∪ B = Set.univ) (n : ℕ) : |
| 108 | (binarySmallIntegralHomologyIso X A B hA hB hcover n).hom = |
| 109 | HomologicalComplex.homologyMap (BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion X A B) n := rfl |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.CycleClass.Geometric.SmallSingularQuasiIso.Cycles |