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.LocalHomology |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.CokernelHomotopyDescent |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.HomotopyNaturality |
| 4 | import Mathlib.AlgebraicTopology.SingularHomology.HomotopyInvariance |
| 5 | |
| 6 | /-! # Relative Homotopy -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeHomotopy.Cycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Homotopy invariance for genuine relative singular chains |
| 14 | |
| 15 | A continuous homotopy of pairs restricts to an actual homotopy on their |
| 16 | subspaces. The compatible absolute singular-chain homotopies descend through |
| 17 | the cokernel defining relative chains. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits MonoidalCategory |
| 21 | |
| 22 | variable {X Y : TopCat.{0}} {f g : X ⟶ Y} {A : Set X} {B : Set Y} |
| 23 | |
| 24 | /-- The initial map of a homotopy preserving the subspaces is a map of pairs. -/ |
| 25 | theorem homotopy_start_mapsTo (H : TopCat.Homotopy f g) |
| 26 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) : |
| 27 | Set.MapsTo f A B := by |
| 28 | intro x hx |
| 29 | exact (H.map_zero_left x) ▸ hH 0 hx |
| 30 | |
| 31 | /-- The terminal map of a homotopy preserving the subspaces is a map of pairs. -/ |
| 32 | theorem homotopy_end_mapsTo (H : TopCat.Homotopy f g) |
| 33 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) : |
| 34 | Set.MapsTo g A B := by |
| 35 | intro x hx |
| 36 | exact (H.map_one_left x) ▸ hH 1 hx |
| 37 | |
| 38 | /-- Restriction of an actual homotopy of pairs to the subspaces. -/ |
| 39 | def subspaceHomotopy (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) |
| 40 | (H : TopCat.Homotopy f g) |
| 41 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) : |
| 42 | TopCat.Homotopy (LocalHomology.Cycles.subspaceMap f hf) (LocalHomology.Cycles.subspaceMap g hg) where |
| 43 | toFun p := ⟨H (p.1, p.2.val), hH p.1 p.2.property⟩ |
| 44 | continuous_toFun := |
| 45 | (H.continuous.comp (continuous_fst.prodMk |
| 46 | (continuous_subtype_val.comp continuous_snd))).subtype_mk _ |
| 47 | map_zero_left x := Subtype.ext (H.map_zero_left x.val) |
| 48 | map_one_left x := Subtype.ext (H.map_one_left x.val) |
| 49 | |
| 50 | @[simp] |
| 51 | theorem subspaceHomotopy_apply (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) |
| 52 | (H : TopCat.Homotopy f g) |
| 53 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) |
| 54 | (t : unitInterval) (x : A) : |
| 55 | (subspaceHomotopy hf hg H hH (t, x)).val = H (t, x.val) := rfl |
| 56 | |
| 57 | /-- The square of actual homotopy maps commutes with the subspace inclusions. -/ |
| 58 | theorem subspaceHomotopy_square (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) |
| 59 | (H : TopCat.Homotopy f g) |
| 60 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) : |
| 61 | (LocalHomology.Cycles.subspaceInclusion X A ▷ TopCat.I) ≫ H.h = |
| 62 | (subspaceHomotopy hf hg H hH).h ≫ LocalHomology.Cycles.subspaceInclusion Y B := by |
| 63 | ext p |
| 64 | rfl |
| 65 | |
| 66 | /-- The actual singular-chain homotopy commutes with the actual inclusions |
| 67 | of the subspaces, by naturality of its prism construction. -/ |
| 68 | theorem singularHomotopy_subspace_naturality |
| 69 | (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) |
| 70 | (H : TopCat.Homotopy f g) |
| 71 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) (a b : ℕ) : |
| 72 | (LocalHomology.Cycles.subspaceChainInclusion X A).f a ≫ |
| 73 | (H.singularChainComplexFunctorObjMap (ModuleCat.of ℤ ℤ)).hom a b = |
| 74 | ((subspaceHomotopy hf hg H hH).singularChainComplexFunctorObjMap |
| 75 | (ModuleCat.of ℤ ℤ)).hom a b ≫ (LocalHomology.Cycles.subspaceChainInclusion Y B).f b := |
| 76 | OAI.AlgebraicTopology.Cohomology.Singular.HomotopyNaturality.topologicalHomotopy_chain_naturality H (subspaceHomotopy hf hg H hH) |
| 77 | (LocalHomology.Cycles.subspaceInclusion X A) (LocalHomology.Cycles.subspaceInclusion Y B) |
| 78 | (subspaceHomotopy_square hf hg H hH) (ModuleCat.of ℤ ℤ) a b |
| 79 | |
| 80 | /-- The ambient homotopy vanishes on subspace chains after relative projection. -/ |
| 81 | theorem singularHomotopy_subspace_projection_zero |
| 82 | (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) |
| 83 | (H : TopCat.Homotopy f g) |
| 84 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) (a b : ℕ) : |
| 85 | (LocalHomology.Cycles.subspaceChainInclusion X A).f a ≫ |
| 86 | (H.singularChainComplexFunctorObjMap (ModuleCat.of ℤ ℤ)).hom a b ≫ |
| 87 | (LocalHomology.Cycles.relativeChainProjection Y B).f b = 0 := by |
| 88 | have hz : (LocalHomology.Cycles.subspaceChainInclusion Y B).f b ≫ |
| 89 | (LocalHomology.Cycles.relativeChainProjection Y B).f b = 0 := |
| 90 | HomologicalComplex.congr_hom (LocalHomology.Cycles.subspaceChainInclusion_projection Y B) b |
| 91 | rw [← Category.assoc, singularHomotopy_subspace_naturality hf hg H hH, |
| 92 | Category.assoc, hz, comp_zero] |
| 93 | |
| 94 | /-- A continuous homotopy of pairs induces a genuine homotopy between |
| 95 | their induced maps on the relative singular-chain complexes. -/ |
| 96 | def relativeSingularChainsHomotopy |
| 97 | (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) |
| 98 | (H : TopCat.Homotopy f g) |
| 99 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) : |
| 100 | Homotopy (LocalHomology.Cycles.relativeSingularChainsMap f hf) (LocalHomology.Cycles.relativeSingularChainsMap g hg) := |
| 101 | CokernelHomotopyDescent.Cycles.descendHomotopy (LocalHomology.Cycles.relativeChainSequence X A) (LocalHomology.Cycles.relativeChainSequence Y B) |
| 102 | (LocalHomology.Cycles.relativeChainSequence_shortExact X A) |
| 103 | (LocalHomology.Cycles.relativeChainProjection_naturality f hf) (LocalHomology.Cycles.relativeChainProjection_naturality g hg) |
| 104 | (H.singularChainComplexFunctorObjMap (ModuleCat.of ℤ ℤ)) |
| 105 | (singularHomotopy_subspace_projection_zero hf hg H hH) |
| 106 | |
| 107 | /-- Projection of the constructed relative homotopy agrees with the actual |
| 108 | absolute singular-chain homotopy. -/ |
| 109 | @[reassoc] |
| 110 | theorem relativeSingularChainsHomotopy_projection |
| 111 | (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) |
| 112 | (H : TopCat.Homotopy f g) |
| 113 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) (a b : ℕ) : |
| 114 | (LocalHomology.Cycles.relativeChainProjection X A).f a ≫ |
| 115 | (relativeSingularChainsHomotopy hf hg H hH).hom a b = |
| 116 | (H.singularChainComplexFunctorObjMap (ModuleCat.of ℤ ℤ)).hom a b ≫ |
| 117 | (LocalHomology.Cycles.relativeChainProjection Y B).f b := |
| 118 | CokernelHomotopyDescent.Cycles.descendHomotopy_projection (LocalHomology.Cycles.relativeChainSequence X A) (LocalHomology.Cycles.relativeChainSequence Y B) |
| 119 | (LocalHomology.Cycles.relativeChainSequence_shortExact X A) |
| 120 | (LocalHomology.Cycles.relativeChainProjection_naturality f hf) (LocalHomology.Cycles.relativeChainProjection_naturality g hg) |
| 121 | (H.singularChainComplexFunctorObjMap (ModuleCat.of ℤ ℤ)) |
| 122 | (singularHomotopy_subspace_projection_zero hf hg H hH) a b |
| 123 | |
| 124 | /-- Homotopic maps of pairs induce the same map on genuine relative |
| 125 | singular homology in every degree. -/ |
| 126 | theorem relativeSingularHomologyMap_eq_of_homotopy |
| 127 | (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) |
| 128 | (H : TopCat.Homotopy f g) |
| 129 | (hH : ∀ t : unitInterval, Set.MapsTo (fun x => H (t, x)) A B) (n : ℕ) : |
| 130 | LocalHomology.Cycles.relativeSingularHomologyMap f hf n = LocalHomology.Cycles.relativeSingularHomologyMap g hg n := |
| 131 | (relativeSingularChainsHomotopy hf hg H hH).homologyMap_eq n |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeHomotopy.Cycles |