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.LocallyFiniteCompactRestriction |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocallyFiniteComparisonNaturality |
| 3 | |
| 4 | /-! # Locally Finite Restriction Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.LocallyFiniteRestrictionNaturality.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Proper pushforward commutes with compact relative restriction |
| 12 | |
| 13 | A proper map carries agreement near the inverse image of a compact set to |
| 14 | agreement near that compact set. Applying this to the genuine finite compact |
| 15 | truncation identifies the two actual chain maps to relative singular chains. |
| 16 | The induced homology square follows by functoriality. Neither ambient space |
| 17 | is assumed compact. |
| 18 | -/ |
| 19 | |
| 20 | open Set Function _root_.CategoryTheory |
| 21 | open scoped Simplicial |
| 22 | |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | |
| 26 | variable {X Y : TopCat.{0}} |
| 27 | |
| 28 | /-- Proper coefficient pushforward preserves agreement near a subset when |
| 29 | the original coefficients agree near its inverse image. -/ |
| 30 | theorem locallyFiniteProperMap_agrees_of_agrees_near {R : Type*} [Semiring R] |
| 31 | (f : X ⟶ Y) (hf : IsProperMap f) (K : Set Y) (n : ℕ) |
| 32 | (c d : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains R X n) |
| 33 | (hcd : ∀ σ, (LocallyFiniteChains.Cycles.singularSimplexImage X n σ ∩ f ⁻¹' K).Nonempty → c σ = d σ) |
| 34 | (τ : (TopCat.toSSet.obj Y).obj (.op ⦋n⦌)) |
| 35 | (hτ : (LocallyFiniteChains.Cycles.singularSimplexImage Y n τ ∩ K).Nonempty) : |
| 36 | LocallyFiniteProperMap.Cycles.locallyFiniteProperMap R f hf n c τ = LocallyFiniteProperMap.Cycles.locallyFiniteProperMap R f hf n d τ := by |
| 37 | simp only [LocallyFiniteProperMap.Cycles.locallyFiniteProperMap_apply] |
| 38 | apply finsum_mem_congr rfl |
| 39 | intro σ hσ |
| 40 | apply hcd σ |
| 41 | obtain ⟨y, hy, hyK⟩ := hτ |
| 42 | have hyimage : y ∈ f '' LocallyFiniteChains.Cycles.singularSimplexImage X n σ := by |
| 43 | rw [← LocallyFiniteProperMap.Cycles.singularSimplexImage_postcompose f n σ, hσ] |
| 44 | exact hy |
| 45 | obtain ⟨x, hx, hxy⟩ := hyimage |
| 46 | exact ⟨x, hx, by simpa only [Set.mem_preimage, hxy] using hyK⟩ |
| 47 | |
| 48 | /-- Coefficients of the ordinary pushforward are the coefficients of the |
| 49 | actual proper locally finite pushforward of the same finite chain. -/ |
| 50 | theorem ordinarySingularPushforward_coefficients (f : X ⟶ Y) (hf : IsProperMap f) |
| 51 | (n : ℕ) (a : (LocalHomology.Cycles.integralSingularChains X).X n) |
| 52 | (τ : (TopCat.toSSet.obj Y).obj (.op ⦋n⦌)) : |
| 53 | LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ Y n ((LocalHomology.Cycles.integralSingularChainFunctor.map f).f n a) τ = |
| 54 | LocallyFiniteProperMap.Cycles.locallyFiniteProperMap ℤ f hf n (LocallyFiniteCompact.Cycles.ordinaryToLocallyFinite ℤ X n a) τ := by |
| 55 | have h := ConcreteCategory.congr_hom |
| 56 | (HomologicalComplex.congr_hom (LocallyFiniteComparisonNaturality.Cycles.ordinaryToLocallyFiniteChainMap_naturality ℤ f hf) n) a |
| 57 | change LocallyFiniteCompact.Cycles.ordinaryToLocallyFinite ℤ Y n ((LocalHomology.Cycles.integralSingularChainFunctor.map f).f n a) = |
| 58 | LocallyFiniteProperMap.Cycles.locallyFiniteProperMap ℤ f hf n (LocallyFiniteCompact.Cycles.ordinaryToLocallyFinite ℤ X n a) at h |
| 59 | exact congrArg (fun z : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ Y n => z τ) h |
| 60 | |
| 61 | /-- Pushing forward the finite source truncation near the compact inverse |
| 62 | image agrees near K with pushing forward the entire locally finite chain. -/ |
| 63 | theorem locallyFiniteProperMap_truncation_agrees (f : X ⟶ Y) (hf : IsProperMap f) |
| 64 | (K : Set Y) (hK : IsCompact K) (n : ℕ) (c : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ X n) |
| 65 | (τ : (TopCat.toSSet.obj Y).obj (.op ⦋n⦌)) |
| 66 | (hτ : (LocallyFiniteChains.Cycles.singularSimplexImage Y n τ ∩ K).Nonempty) : |
| 67 | LocallyFiniteProperMap.Cycles.locallyFiniteProperMap ℤ f hf n c τ = |
| 68 | LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ Y n |
| 69 | ((LocalHomology.Cycles.integralSingularChainFunctor.map f).f n |
| 70 | (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactTruncation X (f ⁻¹' K) (hf.isCompact_preimage hK) n c)) τ := by |
| 71 | rw [ordinarySingularPushforward_coefficients f hf] |
| 72 | apply locallyFiniteProperMap_agrees_of_agrees_near f hf K n c _ ?_ τ hτ |
| 73 | intro σ hσ |
| 74 | change c σ = LocallyFiniteCompact.Cycles.ordinarySingularChainCoefficients ℤ X n |
| 75 | (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactTruncation X (f ⁻¹' K) (hf.isCompact_preimage hK) n c) σ |
| 76 | rw [LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactTruncation_coefficients, ite_eq_left hσ] |
| 77 | |
| 78 | /-- Degreewise compact restriction commutes with actual proper pushforward |
| 79 | and the ordinary map of relative singular chains. -/ |
| 80 | theorem locallyFiniteCompactRestrictionDegree_naturality (f : X ⟶ Y) |
| 81 | (hf : IsProperMap f) (K : Set Y) (hK : IsCompact K) (n : ℕ) |
| 82 | (c : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ X n) : |
| 83 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestrictionDegree Y K hK n (LocallyFiniteProperMap.Cycles.locallyFiniteProperMap ℤ f hf n c) = |
| 84 | (LocalHomology.Cycles.relativeSingularChainsMap f (A := (f ⁻¹' K)ᶜ) (B := Kᶜ) |
| 85 | (fun _ hx => hx)).f n |
| 86 | (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestrictionDegree X (f ⁻¹' K) |
| 87 | (hf.isCompact_preimage hK) n c) := by |
| 88 | let a := LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactTruncation X (f ⁻¹' K) (hf.isCompact_preimage hK) n c |
| 89 | calc |
| 90 | _ = (LocalHomology.Cycles.relativeChainProjection Y Kᶜ).f n |
| 91 | ((LocalHomology.Cycles.integralSingularChainFunctor.map f).f n a) := by |
| 92 | apply LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestrictionDegree_eq_of_agrees |
| 93 | intro τ hτ |
| 94 | exact locallyFiniteProperMap_truncation_agrees f hf K hK n c τ hτ |
| 95 | _ = _ := by |
| 96 | have h := ConcreteCategory.congr_hom |
| 97 | (HomologicalComplex.congr_hom |
| 98 | (LocalHomology.Cycles.relativeChainProjection_naturality f (A := (f ⁻¹' K)ᶜ) (B := Kᶜ) |
| 99 | (fun _ hx => hx)) n) a |
| 100 | exact h.symm |
| 101 | |
| 102 | /-- The genuine chain-level naturality square for compact relative |
| 103 | restriction. Compactness of the inverse image follows from properness. -/ |
| 104 | @[reassoc] |
| 105 | theorem locallyFiniteCompactRestriction_naturality (f : X ⟶ Y) |
| 106 | (hf : IsProperMap f) (K : Set Y) (hK : IsCompact K) : |
| 107 | LocallyFiniteProperMap.Cycles.locallyFiniteProperChainMap ℤ f hf ≫ LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction Y K hK = |
| 108 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (f ⁻¹' K) (hf.isCompact_preimage hK) ≫ |
| 109 | LocalHomology.Cycles.relativeSingularChainsMap f (A := (f ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx) := by |
| 110 | apply HomologicalComplex.hom_ext |
| 111 | intro n |
| 112 | apply ModuleCat.hom_ext |
| 113 | apply LinearMap.ext |
| 114 | intro c |
| 115 | exact locallyFiniteCompactRestrictionDegree_naturality f hf K hK n c |
| 116 | |
| 117 | /-- Proper pushforward has the corresponding naturality square on genuine |
| 118 | locally finite and relative integral singular homology. -/ |
| 119 | @[reassoc] |
| 120 | theorem locallyFiniteCompactHomologyRestriction_naturality (f : X ⟶ Y) |
| 121 | (hf : IsProperMap f) (K : Set Y) (hK : IsCompact K) (n : ℕ) : |
| 122 | LocallyFiniteProperMap.Cycles.locallyFiniteProperHomologyMap ℤ f hf n ≫ |
| 123 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction Y K hK n = |
| 124 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X (f ⁻¹' K) (hf.isCompact_preimage hK) n ≫ |
| 125 | LocalHomology.Cycles.relativeSingularHomologyMap f (A := (f ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx) n := by |
| 126 | simpa only [HomologicalComplex.homologyMap_comp] using |
| 127 | congrArg (fun g => HomologicalComplex.homologyMap g n) |
| 128 | (locallyFiniteCompactRestriction_naturality f hf K hK) |
| 129 | |
| 130 | /-- Elementwise compact-restriction compatibility, for applying the square |
| 131 | to an actual locally finite homology class. -/ |
| 132 | theorem locallyFiniteCompactHomologyRestriction_naturality_apply (f : X ⟶ Y) |
| 133 | (hf : IsProperMap f) (K : Set Y) (hK : IsCompact K) (n : ℕ) |
| 134 | (c : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X).homology n) : |
| 135 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction Y K hK n |
| 136 | (LocallyFiniteProperMap.Cycles.locallyFiniteProperHomologyMap ℤ f hf n c) = |
| 137 | LocalHomology.Cycles.relativeSingularHomologyMap f (A := (f ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx) n |
| 138 | (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X (f ⁻¹' K) |
| 139 | (hf.isCompact_preimage hK) n c) := |
| 140 | ConcreteCategory.congr_hom (locallyFiniteCompactHomologyRestriction_naturality f hf K hK n) c |
| 141 | |
| 142 | /-- The local restriction of a proper pushforward at a point comes from |
| 143 | restriction to the whole compact fiber over that point. -/ |
| 144 | @[reassoc] |
| 145 | theorem locallyFinitePointHomologyRestriction_naturality (f : X ⟶ Y) |
| 146 | (hf : IsProperMap f) (y : Y) (n : ℕ) : |
| 147 | LocallyFiniteProperMap.Cycles.locallyFiniteProperHomologyMap ℤ f hf n ≫ LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction Y y n = |
| 148 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X (f ⁻¹' {y}) |
| 149 | (hf.isCompact_preimage isCompact_singleton) n ≫ |
| 150 | LocalHomology.Cycles.relativeSingularHomologyMap f (A := (f ⁻¹' {y})ᶜ) (B := {y}ᶜ) |
| 151 | (fun _ hx => hx) n := |
| 152 | locallyFiniteCompactHomologyRestriction_naturality f hf {y} isCompact_singleton n |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.CycleClass.Geometric.LocallyFiniteRestrictionNaturality.Cycles |