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.CoveringFundamental |
| 2 | import OAI.AlgebraicTopology.Duality.Poincare.LocallyFiniteRestrictionCoefficients |
| 3 | |
| 4 | /-! # Rational Compact Fundamental -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.RationalCompactFundamental.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.CategoryTheory OAI.AlgebraicTopology.Duality.Poincare.LocallyFiniteRestrictionCoefficients |
| 11 | open scoped TensorProduct ChangeOfRings _root_.Manifold ContDiff |
| 12 | |
| 13 | /-- Unit rational coefficient applied to an actual integral relative class. -/ |
| 14 | def rationalizeRelativeClass (X : TopCat.{0}) (A : Set X) (n : ℕ) |
| 15 | (a : CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X A n) : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A n := |
| 16 | (CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomologyIso X A n).inv ((1 : ℚ) ⊗ₜ[ℤ, Int.castRingHom ℚ] a) |
| 17 | |
| 18 | /-- Inverse scalar-extension comparison commutes with maps of pairs. -/ |
| 19 | theorem rationalRelativeHomologyIso_inv_naturality |
| 20 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 21 | (hf : Set.MapsTo f A B) (n : ℕ) : |
| 22 | (CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomologyIso X A n).inv ≫ |
| 23 | HomologicalComplex.homologyMap (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ f hf) n = |
| 24 | CycleClass.Geometric.RationalScalarExtension.Cycles.rationalizeModules.map (CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap f hf n) ≫ |
| 25 | (CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomologyIso Y B n).inv := by |
| 26 | apply (cancel_mono (CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomologyIso Y B n).hom).mp |
| 27 | rw [Category.assoc, CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomologyIso_hom_naturality, |
| 28 | Iso.inv_hom_id_assoc, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 29 | |
| 30 | /-- Unit rational coefficients commute with the genuine maps of pairs. -/ |
| 31 | theorem rationalizeRelativeClass_naturality |
| 32 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 33 | (hf : Set.MapsTo f A B) (n : ℕ) (a : CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X A n) : |
| 34 | HomologicalComplex.homologyMap (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ f hf) n |
| 35 | (rationalizeRelativeClass X A n a) = |
| 36 | rationalizeRelativeClass Y B n (CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap f hf n a) := by |
| 37 | have h := ConcreteCategory.congr_hom (rationalRelativeHomologyIso_inv_naturality f hf n) |
| 38 | ((1 : ℚ) ⊗ₜ[ℤ, Int.castRingHom ℚ] a) |
| 39 | change HomologicalComplex.homologyMap (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ f hf) n |
| 40 | (rationalizeRelativeClass X A n a) = |
| 41 | (CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomologyIso Y B n).inv |
| 42 | ((CycleClass.Geometric.RationalScalarExtension.Cycles.rationalizeModules.map (CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap f hf n)) |
| 43 | ((1 : ℚ) ⊗ₜ[ℤ, Int.castRingHom ℚ] a)) at h |
| 44 | have ht := ModuleCat.ExtendScalars.map_tmul (Int.castRingHom ℚ) |
| 45 | (CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap f hf n) (1 : ℚ) a |
| 46 | exact h.trans (congrArg (CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomologyIso Y B n).inv ht) |
| 47 | |
| 48 | /-- The canonical compact fundamental class with unit rational coefficient. -/ |
| 49 | def rationalCompactFundamentalClass (d : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] |
| 50 | [ChartedSpace (Fin d → ℂ) M] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] |
| 51 | (K : Set M) (hK : IsCompact K) : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ (TopCat.of M) Kᶜ (2 * d) := |
| 52 | rationalizeRelativeClass (TopCat.of M) Kᶜ (2 * d) (CycleClass.Geometric.ComplexCompactFundamental.Cycles.complexCompactFundamentalClass d K hK) |
| 53 | |
| 54 | /-- Compact restriction of the rational locally finite fundamental class. -/ |
| 55 | theorem rationalCompactFundamentalClass_eq_restriction |
| 56 | (d : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] [SecondCountableTopology M] |
| 57 | [ChartedSpace (Fin d → ℂ) M] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] |
| 58 | (K : Set M) (hK : IsCompact K) : |
| 59 | rationalCompactFundamentalClass d K hK = |
| 60 | CycleClass.Geometric.LocallyFiniteScalarRestriction.Cycles.locallyFiniteScalarCompactHomologyRestriction ℚ (TopCat.of M) K hK (2 * d) |
| 61 | (AlgebraicTopology.Duality.Poincare.LocallyFiniteCoefficients.locallyFiniteIntegralToRationalHomology (TopCat.of M) (2 * d) |
| 62 | (CycleClass.Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d M)) := by |
| 63 | rw [AlgebraicTopology.Duality.Poincare.LocallyFiniteRestrictionCoefficients.locallyFiniteIntegralToRationalHomology_compactRestriction, |
| 64 | CycleClass.Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass_restriction] |
| 65 | rfl |
| 66 | |
| 67 | /-- Every compact relative trace of a proper finite analytic covering |
| 68 | has the covering degree as its fundamental-class multiplicity. -/ |
| 69 | theorem rationalCompactFundamentalClass_map_degree |
| 70 | (d : ℕ) {M N : Type} [TopologicalSpace M] [TopologicalSpace N] |
| 71 | [T2Space M] [T2Space N] [SecondCountableTopology M] [SecondCountableTopology N] |
| 72 | [ChartedSpace (Fin d → ℂ) M] [ChartedSpace (Fin d → ℂ) N] |
| 73 | [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 N] |
| 74 | (f : TopCat.of M ⟶ TopCat.of N) (hp : IsProperMap f) |
| 75 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin d → ℂ)) ω f) |
| 76 | (degree : ℕ) (hdegree : ∀ y : N, Nat.card (f ⁻¹' {y}) = degree) |
| 77 | (K : Set N) (hK : IsCompact K) : |
| 78 | HomologicalComplex.homologyMap |
| 79 | (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ f (A := (f ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx)) (2 * d) |
| 80 | (rationalCompactFundamentalClass d (f ⁻¹' K) (hp.isCompact_preimage hK)) = |
| 81 | (degree : ℚ) • rationalCompactFundamentalClass d K hK := by |
| 82 | rw [rationalCompactFundamentalClass_eq_restriction, |
| 83 | rationalCompactFundamentalClass_eq_restriction] |
| 84 | have h := ConcreteCategory.congr_hom |
| 85 | (CycleClass.Geometric.LocallyFiniteScalarRestriction.Cycles.locallyFiniteScalarCompactHomologyRestriction_naturality ℚ f hp K hK (2 * d)) |
| 86 | (AlgebraicTopology.Duality.Poincare.LocallyFiniteCoefficients.locallyFiniteIntegralToRationalHomology (TopCat.of M) (2 * d) |
| 87 | (CycleClass.Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d M)) |
| 88 | change CycleClass.Geometric.LocallyFiniteScalarRestriction.Cycles.locallyFiniteScalarCompactHomologyRestriction ℚ (TopCat.of N) K hK (2 * d) |
| 89 | (CycleClass.Geometric.LocallyFiniteProperMap.Cycles.locallyFiniteProperHomologyMap ℚ f hp (2 * d) |
| 90 | (AlgebraicTopology.Duality.Poincare.LocallyFiniteCoefficients.locallyFiniteIntegralToRationalHomology (TopCat.of M) (2 * d) |
| 91 | (CycleClass.Geometric.ComplexLocallyFiniteFundamental.Cycles.complexLocallyFiniteFundamentalClass d M))) = _ at h |
| 92 | rw [CoveringFundamental.Construction.rational_locallyFinite_push_fundamental_degree d f hp hl degree hdegree, map_smul] at h |
| 93 | exact h.symm |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.Cycles.Functoriality.RationalCompactFundamental.Construction |