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.Thom.ProperImage.FiniteFundamental |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.LocalOrientation |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocallyFiniteRestrictionNaturality |
| 4 | import OAI.AlgebraicTopology.Duality.Poincare.LocallyFiniteCoefficients |
| 5 | |
| 6 | /-! # Covering Fundamental -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.CoveringFundamental.Constructions.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace OAI.AlgebraicGeometry.CycleClass.Geometric.LocallyFiniteRestrictionNaturality.Cycles OAI.AlgebraicTopology.Duality.Poincare.LocallyFiniteCoefficients |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | /-- The actual relative homology map from a fiber's complement to |
| 16 | the complement of its image point. -/ |
| 17 | def fiberHomologyPushforward {X Y : TopCat.{0}} (f : X ⟶ Y) (y : Y) (n : ℕ) : |
| 18 | Geometric.HomologyWithSupports.Cycles.singularHomologyWithSupport X (f ⁻¹' {y}) n ⟶ Geometric.LocalHomology.Cycles.localSingularHomology Y y n := |
| 19 | Geometric.LocalHomology.Cycles.relativeSingularHomologyMap f (A := (f ⁻¹' {y})ᶜ) (B := {y}ᶜ) (fun _ hx => hx) n |
| 20 | |
| 21 | variable (d : ℕ) {M N : Type} [TopologicalSpace M] [TopologicalSpace N] |
| 22 | variable [T2Space M] [T2Space N] |
| 23 | variable [ChartedSpace (Fin d → ℂ) M] [ChartedSpace (Fin d → ℂ) N] |
| 24 | variable [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 N] |
| 25 | |
| 26 | /-- One analytic sheet contributes exactly one canonical local generator |
| 27 | to the pushforward at its target point. -/ |
| 28 | theorem localSheet_push_generator |
| 29 | (f : TopCat.of M ⟶ TopCat.of N) |
| 30 | (e : PartialDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) M N ω) |
| 31 | (he : Set.EqOn f e e.source) (x : LocalOrientation.Constructions.Construction.analyticPartialSource e) (y : N) |
| 32 | (hxy : f x.val = y) |
| 33 | (hUK : ∀ z : LocalOrientation.Constructions.Construction.analyticPartialSource e, z.val ∈ f ⁻¹' {y} → z = x) : |
| 34 | fiberHomologyPushforward f y (2 * d) |
| 35 | (FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion (f ⁻¹' {y}) (LocalOrientation.Constructions.Construction.analyticPartialSource e) x hUK (2 * d) |
| 36 | (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := LocalOrientation.Constructions.Construction.analyticPartialSource e) x)) = |
| 37 | Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) y := by |
| 38 | let i : TopCat.of (LocalOrientation.Constructions.Construction.analyticPartialSource e) ⟶ TopCat.of M := |
| 39 | Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (LocalOrientation.Constructions.Construction.analyticPartialSource e : Set M) |
| 40 | have hi : Set.MapsTo i ({x} : Set (LocalOrientation.Constructions.Construction.analyticPartialSource e))ᶜ (f ⁻¹' {y})ᶜ := |
| 41 | fun z hz hzK => hz (hUK z hzK) |
| 42 | have hf : Set.MapsTo f (f ⁻¹' {y})ᶜ ({y} : Set N)ᶜ := fun _ hx => hx |
| 43 | have hfe : i ≫ f = LocalOrientation.Constructions.Construction.analyticPartialSourceMap d e := by |
| 44 | ext z |
| 45 | exact he z.property |
| 46 | have hey : e x.val = y := (he x.property).symm.trans hxy |
| 47 | have hmaps : FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion (f ⁻¹' {y}) (LocalOrientation.Constructions.Construction.analyticPartialSource e) x hUK |
| 48 | (2 * d) ≫ fiberHomologyPushforward f y (2 * d) = |
| 49 | Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMapTo (LocalOrientation.Constructions.Construction.analyticPartialSourceMap d e) |
| 50 | (LocalOrientation.Constructions.Construction.analyticPartialSourceMap_injective d e) x y hey (2 * d) := |
| 51 | (Geometric.LocalHomology.Cycles.relativeSingularHomologyMap_comp i f hi hf (2 * d)).trans |
| 52 | (Geometric.LocalChartMaps.Cycles.relativeSingularHomologyMap_congr hfe _ _ (2 * d)) |
| 53 | exact (ConcreteCategory.congr_hom hmaps |
| 54 | (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := LocalOrientation.Constructions.Construction.analyticPartialSource e) x)).trans |
| 55 | (LocalOrientation.Constructions.Construction.complexCanonicalLocalClass_partialSourceMap_to d e x y hey) |
| 56 | |
| 57 | /-- The local pushforward of a finite fiber's fundamental class is its |
| 58 | cardinality times the canonical target generator. -/ |
| 59 | theorem fiberHomologyPushforward_fundamental |
| 60 | (f : TopCat.of M ⟶ TopCat.of N) |
| 61 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) ω f) |
| 62 | (y : N) (hfinite : (f ⁻¹' {y}).Finite) : |
| 63 | fiberHomologyPushforward f y (2 * d) |
| 64 | (Geometric.ComplexCompactFundamental.Cycles.complexCompactFundamentalClass d (f ⁻¹' {y}) hfinite.isCompact) = |
| 65 | Nat.card (f ⁻¹' {y}) • Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) y := by |
| 66 | classical |
| 67 | let K : Set M := f ⁻¹' {y} |
| 68 | let : Fintype K := hfinite.fintype |
| 69 | choose e hx he using fun x : K => hl x.val |
| 70 | let U : K → Opens M := fun x => LocalOrientation.Constructions.Construction.analyticPartialSource (e x) |
| 71 | have hxU : ∀ x : K, x.val ∈ U x := hx |
| 72 | have hUK : ∀ (x : K) (z : U x), z.val ∈ K → z.val = x.val := by |
| 73 | intro x z hz |
| 74 | apply (e x).toPartialEquiv.injOn z.property (hx x) |
| 75 | exact (he x z.property).symm.trans |
| 76 | ((show f z.val = y from hz).trans |
| 77 | ((show f x.val = y from x.property).symm.trans (he x (hx x)))) |
| 78 | rw [← FiniteFundamental.Constructions.Construction.complexCompactFundamentalClass_finite_sum d K U hxU hUK, map_sum] |
| 79 | calc |
| 80 | _ = ∑ _x : K, Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) y := by |
| 81 | apply Finset.sum_congr rfl |
| 82 | intro x _ |
| 83 | exact localSheet_push_generator d f (e x) (he x) ⟨x.val, hxU x⟩ y x.property _ |
| 84 | _ = Nat.card K • Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) y := by |
| 85 | simp only [Finset.sum_const, Finset.card_univ, Nat.card_eq_fintype_card] |
| 86 | |
| 87 | variable [SecondCountableTopology M] |
| 88 | |
| 89 | /-- At every target point, proper pushforward of the locally finite |
| 90 | fundamental class has multiplicity equal to the actual fiber cardinality. -/ |
| 91 | theorem locallyFinite_push_fundamental_atPoint |
| 92 | (f : TopCat.of M ⟶ TopCat.of N) (hp : IsProperMap f) |
| 93 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) ω f) (y : N) : |
| 94 | Geometric.LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction (TopCat.of N) y (2 * d) |
| 95 | (Geometric.LocallyFiniteProperMap.Cycles.locallyFiniteProperHomologyMap ℤ f hp (2 * d) |
| 96 | (Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d M)) = |
| 97 | Nat.card (f ⁻¹' {y}) • Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) y := by |
| 98 | have hn := Geometric.LocallyFiniteRestrictionNaturality.Cycles.locallyFiniteCompactHomologyRestriction_naturality_apply f hp {y} |
| 99 | isCompact_singleton (2 * d) (Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d M) |
| 100 | have hr := Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass_restriction d M (f ⁻¹' {y}) |
| 101 | (hp.isCompact_preimage isCompact_singleton) |
| 102 | exact hn.trans ((congrArg (fiberHomologyPushforward f y (2 * d)) hr).trans |
| 103 | (fiberHomologyPushforward_fundamental d f hl y |
| 104 | (Covering.Constructions.Construction.finite_fiber_of_proper_localHomeomorph f hp hl.isLocalHomeomorph y))) |
| 105 | |
| 106 | variable [SecondCountableTopology N] |
| 107 | |
| 108 | /-- A proper analytic local diffeomorphism with `degree` points in each |
| 109 | fiber sends the fundamental class to `degree` times the target class. -/ |
| 110 | theorem locallyFinite_push_fundamental_degree |
| 111 | (f : TopCat.of M ⟶ TopCat.of N) (hp : IsProperMap f) |
| 112 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) ω f) |
| 113 | (degree : ℕ) (hdegree : ∀ y : N, Nat.card (f ⁻¹' {y}) = degree) : |
| 114 | Geometric.LocallyFiniteProperMap.Cycles.locallyFiniteProperHomologyMap ℤ f hp (2 * d) |
| 115 | (Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d M) = |
| 116 | degree • Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d N := by |
| 117 | apply Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteHomology_point_ext d N |
| 118 | intro y |
| 119 | rw [map_nsmul, Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass_atPoint, |
| 120 | locallyFinite_push_fundamental_atPoint d f hp hl y, hdegree y] |
| 121 | |
| 122 | /-- The degree formula with the actual rational coefficient-change map, |
| 123 | matching the coefficients used by geometric cycle classes. -/ |
| 124 | theorem rational_locallyFinite_push_fundamental_degree |
| 125 | (f : TopCat.of M ⟶ TopCat.of N) (hp : IsProperMap f) |
| 126 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) ω f) |
| 127 | (degree : ℕ) (hdegree : ∀ y : N, Nat.card (f ⁻¹' {y}) = degree) : |
| 128 | Geometric.LocallyFiniteProperMap.Cycles.locallyFiniteProperHomologyMap ℚ f hp (2 * d) |
| 129 | (AlgebraicTopology.Duality.Poincare.LocallyFiniteCoefficients.locallyFiniteIntegralToRationalHomology (TopCat.of M) (2 * d) |
| 130 | (Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d M)) = |
| 131 | (degree : ℚ) • AlgebraicTopology.Duality.Poincare.LocallyFiniteCoefficients.locallyFiniteIntegralToRationalHomology (TopCat.of N) (2 * d) |
| 132 | (Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d N) := by |
| 133 | rw [AlgebraicTopology.Duality.Poincare.LocallyFiniteCoefficients.locallyFiniteIntegralToRationalHomology_naturality, |
| 134 | locallyFinite_push_fundamental_degree d f hp hl degree hdegree, |
| 135 | map_nsmul, Nat.cast_smul_eq_nsmul] |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.CoveringFundamental.Constructions.Construction |