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.Cycles.Functoriality.Covering |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexFundamentalNaturality |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.OpenFundamental |
| 4 | |
| 5 | /-! # Local Orientation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.LocalOrientation.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | |
| 16 | section Partial |
| 17 | |
| 18 | variable {E F M N : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 19 | variable [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 20 | variable [TopologicalSpace M] [ChartedSpace E M] |
| 21 | variable [TopologicalSpace N] [ChartedSpace F N] |
| 22 | |
| 23 | def analyticPartialSource (e : PartialDiffeomorph (𝓘(ℂ, E)) (𝓘(ℂ, F)) M N ω) : |
| 24 | Opens M := ⟨e.source, e.open_source⟩ |
| 25 | |
| 26 | def analyticPartialTarget (e : PartialDiffeomorph (𝓘(ℂ, E)) (𝓘(ℂ, F)) M N ω) : |
| 27 | Opens N := ⟨e.target, e.open_target⟩ |
| 28 | |
| 29 | /-- A partial analytic diffeomorphism restricts to a genuine complex |
| 30 | C1 diffeomorphism between its open source and target. -/ |
| 31 | def analyticPartialSourceTarget |
| 32 | (e : PartialDiffeomorph (𝓘(ℂ, E)) (𝓘(ℂ, F)) M N ω) : |
| 33 | Diffeomorph (𝓘(ℂ, E)) (𝓘(ℂ, F)) (analyticPartialSource e) (analyticPartialTarget e) 1 := by |
| 34 | let h : analyticPartialSource e ≃ₜ analyticPartialTarget e := |
| 35 | e.toOpenPartialHomeomorph.toHomeomorphSourceTarget |
| 36 | have hf : ContMDiff (𝓘(ℂ, E)) (𝓘(ℂ, F)) ∞ h := by |
| 37 | apply (ContMDiff.subtypeVal_comp_iff (analyticPartialTarget e) h).mp |
| 38 | intro x |
| 39 | change ContMDiffAt (𝓘(ℂ, E)) (𝓘(ℂ, F)) ∞ |
| 40 | (fun z : analyticPartialSource e => e z.val) x |
| 41 | apply contMDiffAt_subtype_iff.mpr |
| 42 | exact (e.contMDiffOn_toFun.of_le (show (∞ : ℕ∞ω) ≤ ω from le_top)).contMDiffAt |
| 43 | (e.open_source.mem_nhds x.property) |
| 44 | have hi : ContMDiff (𝓘(ℂ, F)) (𝓘(ℂ, E)) ∞ h.symm := by |
| 45 | apply (ContMDiff.subtypeVal_comp_iff (analyticPartialSource e) h.symm).mp |
| 46 | intro x |
| 47 | change ContMDiffAt (𝓘(ℂ, F)) (𝓘(ℂ, E)) ∞ |
| 48 | (fun z : analyticPartialTarget e => e.invFun z.val) x |
| 49 | apply contMDiffAt_subtype_iff.mpr |
| 50 | exact (e.contMDiffOn_invFun.of_le (show (∞ : ℕ∞ω) ≤ ω from le_top)).contMDiffAt |
| 51 | (e.open_target.mem_nhds x.property) |
| 52 | exact { __ := h |
| 53 | contMDiff_toFun := hf.of_le (by simp) |
| 54 | contMDiff_invFun := hi.of_le (by simp) } |
| 55 | |
| 56 | end Partial |
| 57 | |
| 58 | variable (d : ℕ) {M N : Type} [TopologicalSpace M] [TopologicalSpace N] |
| 59 | variable [ChartedSpace (Fin d → ℂ) M] [ChartedSpace (Fin d → ℂ) N] |
| 60 | |
| 61 | def analyticPartialSourceMap |
| 62 | (e : PartialDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) M N ω) : |
| 63 | TopCat.of (analyticPartialSource e) ⟶ TopCat.of N := |
| 64 | (TopCat.isoOfHomeo (X := TopCat.of (analyticPartialSource e)) |
| 65 | (Y := TopCat.of (analyticPartialTarget e)) |
| 66 | e.toOpenPartialHomeomorph.toHomeomorphSourceTarget).hom ≫ |
| 67 | CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of N) (analyticPartialTarget e : Set N) |
| 68 | |
| 69 | theorem analyticPartialSourceMap_injective |
| 70 | (e : PartialDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) M N ω) : |
| 71 | Function.Injective (analyticPartialSourceMap d e) := by |
| 72 | intro x y hxy |
| 73 | exact Subtype.ext (e.toPartialEquiv.injOn x.property y.property hxy) |
| 74 | |
| 75 | variable [T2Space M] [T2Space N] |
| 76 | variable [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 N] |
| 77 | |
| 78 | /-- Every analytic local sheet preserves the canonical complex local |
| 79 | generator on its open source. -/ |
| 80 | theorem complexCanonicalLocalClass_partialSourceMap |
| 81 | (e : PartialDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) M N ω) |
| 82 | (x : analyticPartialSource e) : |
| 83 | CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap (X := TopCat.of (analyticPartialSource e)) |
| 84 | (Y := TopCat.of N) (analyticPartialSourceMap d e) |
| 85 | (analyticPartialSourceMap_injective d e) x (2 * d) |
| 86 | (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := analyticPartialSource e) x) = |
| 87 | CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (e x.val) := by |
| 88 | let h := analyticPartialSourceTarget e |
| 89 | let i : TopCat.of (analyticPartialTarget e) ⟶ TopCat.of N := |
| 90 | CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of N) (analyticPartialTarget e : Set N) |
| 91 | let j : TopCat.of (analyticPartialSource e) ⟶ TopCat.of (analyticPartialTarget e) := |
| 92 | (TopCat.isoOfHomeo (X := TopCat.of (analyticPartialSource e)) |
| 93 | (Y := TopCat.of (analyticPartialTarget e)) h.toHomeomorph).hom |
| 94 | have hj : Function.Injective j := h.toHomeomorph.injective |
| 95 | have hcomp := CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap_comp j i hj Subtype.val_injective x (2 * d) |
| 96 | have hd := CycleClass.Geometric.ComplexFundamentalNaturality.Cycles.complexCanonicalLocalClass_diffeomorph h x |
| 97 | have hi := CycleClass.Geometric.ComplexOpenOrientation.Cycles.complexCanonicalLocalClass_open_inclusion (p := d) (analyticPartialTarget e) (h x) |
| 98 | exact (ConcreteCategory.congr_hom hcomp |
| 99 | (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := analyticPartialSource e) x)).symm.trans |
| 100 | ((congrArg (CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap i Subtype.val_injective (h x) (2 * d)) hd).trans hi) |
| 101 | |
| 102 | /-- The same orientation identity with a specified target point. -/ |
| 103 | theorem complexCanonicalLocalClass_partialSourceMap_to |
| 104 | (e : PartialDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) M N ω) |
| 105 | (x : analyticPartialSource e) (y : N) (hxy : e x.val = y) : |
| 106 | CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMapTo (analyticPartialSourceMap d e) |
| 107 | (analyticPartialSourceMap_injective d e) x y hxy (2 * d) |
| 108 | (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := analyticPartialSource e) x) = |
| 109 | CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) y := by |
| 110 | subst y |
| 111 | exact complexCanonicalLocalClass_partialSourceMap d e x |
| 112 | |
| 113 | end |
| 114 | |
| 115 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 116 | open scoped _root_.Manifold ContDiff |
| 117 | |
| 118 | variable (d : ℕ) {M N : Type} [TopologicalSpace M] [TopologicalSpace N] |
| 119 | variable [T2Space M] [T2Space N] |
| 120 | variable [ChartedSpace (Fin d → ℂ) M] [ChartedSpace (Fin d → ℂ) N] |
| 121 | variable [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 N] |
| 122 | |
| 123 | /-- An injective analytic local diffeomorphism preserves each canonical |
| 124 | complex local orientation class, even when its image is not the entire target. -/ |
| 125 | theorem complexCanonicalLocalClass_injective_localDiffeomorph |
| 126 | (f : TopCat.of M ⟶ TopCat.of N) (hf : Function.Injective f) |
| 127 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) ω f) (x : M) : |
| 128 | CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap f hf x (2 * d) (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) x) = |
| 129 | CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (f x) := by |
| 130 | obtain ⟨e, hx, he⟩ := hl x |
| 131 | let U := analyticPartialSource e |
| 132 | let x' : U := ⟨x, hx⟩ |
| 133 | let i : TopCat.of U ⟶ TopCat.of M := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M) |
| 134 | have hi : Set.MapsTo i ({x'} : Set U)ᶜ ({x} : Set M)ᶜ := by |
| 135 | intro y hy heq |
| 136 | exact hy (Subtype.ext heq) |
| 137 | have hf' : Set.MapsTo f ({x} : Set M)ᶜ ({f x} : Set N)ᶜ := by |
| 138 | intro y hy heq |
| 139 | exact hy (hf heq) |
| 140 | have hfe : i ≫ f = analyticPartialSourceMap d e := by |
| 141 | ext z |
| 142 | exact he z.property |
| 143 | have hmaps : CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap i Subtype.val_injective x' (2 * d) ≫ |
| 144 | CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap f hf x (2 * d) = |
| 145 | CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMapTo (analyticPartialSourceMap d e) |
| 146 | (analyticPartialSourceMap_injective d e) x' (f x) (he hx).symm (2 * d) := |
| 147 | (CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap_comp i f hi hf' (2 * d)).trans |
| 148 | (CycleClass.Geometric.LocalChartMaps.Cycles.relativeSingularHomologyMap_congr hfe _ _ (2 * d)) |
| 149 | have h := ConcreteCategory.congr_hom hmaps (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x') |
| 150 | have ho : CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap i Subtype.val_injective x' (2 * d) |
| 151 | (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x') = CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) x := |
| 152 | CycleClass.Geometric.ComplexOpenOrientation.Cycles.complexCanonicalLocalClass_open_inclusion (p := d) U x' |
| 153 | change CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap f hf x (2 * d) |
| 154 | (CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap i Subtype.val_injective x' (2 * d) |
| 155 | (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x')) = _ at h |
| 156 | rw [ho] at h |
| 157 | exact h.trans (complexCanonicalLocalClass_partialSourceMap_to d e x' (f x) (he hx).symm) |
| 158 | |
| 159 | /-- Consequently an injective analytic local diffeomorphism preserves |
| 160 | the actual compact-support fundamental class on every compact set. -/ |
| 161 | theorem complexCompactFundamentalClass_injective_localDiffeomorph |
| 162 | (f : TopCat.of M ⟶ TopCat.of N) (hf : Function.Injective f) |
| 163 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) ω f) |
| 164 | (K : Set M) (hK : IsCompact K) : |
| 165 | CycleClass.Geometric.OpenFundamental.Cycles.injectiveSupportHomologyMap f hf K (2 * d) (CycleClass.Geometric.ComplexCompactFundamental.Cycles.complexCompactFundamentalClass d K hK) = |
| 166 | CycleClass.Geometric.ComplexCompactFundamental.Cycles.complexCompactFundamentalClass d (f '' K) (hK.image f.hom.continuous) := |
| 167 | CycleClass.Geometric.OpenFundamental.Cycles.complexCompactFundamentalClass_map_of_local d f hf |
| 168 | (complexCanonicalLocalClass_injective_localDiffeomorph d f hf hl) K hK |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicGeometry.Cycles.Functoriality.LocalOrientation.Construction |