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.CompactProjection |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleTraceCharacterization |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains |
| 4 | |
| 5 | /-! # Cycle Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.CycleSupport.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 12 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles |
| 13 | |
| 14 | /-- A relative rational homology map vanishes when its full image lies |
| 15 | in the discarded subspace. -/ |
| 16 | theorem relativeRationalHomologyMap_eq_zero_of_range_subset |
| 17 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 18 | (hAB : Set.MapsTo f A B) (hB : ∀ x, f x ∈ B) (n : ℕ) : |
| 19 | HomologicalComplex.homologyMap (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ f hAB) n = 0 := by |
| 20 | have hz : IsZero (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X Set.univ n) := |
| 21 | CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomology_isZero X Set.univ n (by |
| 22 | simpa only [CycleClass.Geometric.HomologyWithSupports.Cycles.singularHomologyWithSupport, Set.compl_empty] using |
| 23 | CycleClass.Geometric.CompactSupportAssembly.Cycles.homologyWithSupport_empty_isZero X n) |
| 24 | have hcomp := CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomologyMap_comp ℚ (𝟙 X) f |
| 25 | (A := A) (B := Set.univ) (C := B) (fun _ _ => trivial) (fun x _ => hB x) n |
| 26 | simp only [Category.id_comp] at hcomp |
| 27 | rw [← hcomp, hz.eq_of_tgt (HomologicalComplex.homologyMap |
| 28 | (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (𝟙 X) (A := A) (B := Set.univ) |
| 29 | (fun _ _ => trivial)) n) 0, zero_comp] |
| 30 | |
| 31 | /-- Compact traces of a proper locally finite class vanish away from |
| 32 | the image of the proper map. -/ |
| 33 | theorem properLocallyFiniteCompactTrace_eq_zero_of_disjoint |
| 34 | {X Y : TopCat.{0}} (f : X ⟶ Y) (hf : IsProperMap f) |
| 35 | (K : Set Y) (hK : IsCompact K) (hd : ∀ x, f x ∉ K) (n : ℕ) : |
| 36 | CycleClass.Geometric.RegularFundamentalTrace.Cycles.properLocallyFiniteCompactTrace ℚ f hf K hK n = 0 := by |
| 37 | rw [CycleClass.Geometric.RegularFundamentalTrace.Cycles.properLocallyFiniteCompactTrace_def] |
| 38 | have he := relativeRationalHomologyMap_eq_zero_of_range_subset f |
| 39 | (A := (f ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx) hd n |
| 40 | exact (congrArg (fun t => CycleClass.Geometric.LocallyFiniteScalarRestriction.Cycles.locallyFiniteScalarCompactHomologyRestriction ℚ X |
| 41 | (f ⁻¹' K) (hf.isCompact_preimage hK) n ≫ t) he).trans (comp_zero) |
| 42 | |
| 43 | /-- The geometric fundamental class has zero compact projection |
| 44 | where the compact set is disjoint from the algebraic support. -/ |
| 45 | theorem geometricCycleFundamentalClass_projection_eq_zero |
| 46 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 47 | (L : Compacts V.analyticSpace) |
| 48 | (hL : ∀ x ∈ (L : Set V.analyticSpace), x ∉ Set.range Z.analyticInclusion) : |
| 49 | HomologicalComplex.homologyMap |
| 50 | (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainProjection ℚ (TopCat.of V.analyticSpace) |
| 51 | (L : Set V.analyticSpace)ᶜ) (2 * Z.regularComplexDimension) |
| 52 | Z.geometricCycleFundamentalClass = 0 := by |
| 53 | have hLU : (L : Set V.analyticSpace) ⊆ Z.regularAmbientOpen := by |
| 54 | intro x hx hs |
| 55 | exact hL x hx (Z.analyticSingularBoundary_subset_range hs) |
| 56 | let K : Compacts Z.regularAmbientSpace := |
| 57 | (AlgebraicTopology.Duality.Poincare.CompactOpenIndex.openCompactsOrderIso Z.regularAmbientOpen).symm ⟨L, hLU⟩ |
| 58 | have himage : AlgebraicTopology.Duality.Poincare.CompactSupportExcision.openSupportImage (X := TopCat.of V.analyticSpace) Z.regularAmbientOpen K = L := |
| 59 | congrArg Subtype.val ((AlgebraicTopology.Duality.Poincare.CompactOpenIndex.openCompactsOrderIso Z.regularAmbientOpen).apply_symm_apply ⟨L, hLU⟩) |
| 60 | have ht : Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) |
| 61 | Z.geometricCycleFundamentalClass = 0 := by |
| 62 | rw [Z.geometricCycleFundamentalClass_compactTrace] |
| 63 | have hd : ∀ x, Z.regularComplementTopCatMap x ∉ (K : Set Z.regularAmbientSpace) := by |
| 64 | intro x hx |
| 65 | have hxL : Z.regularAnalyticToAmbient x ∈ (L : Set V.analyticSpace) := hx |
| 66 | exact hL _ hxL (Z.range_regularAnalyticToAmbient_subset (Set.mem_range_self x)) |
| 67 | rw [properLocallyFiniteCompactTrace_eq_zero_of_disjoint |
| 68 | Z.regularComplementTopCatMap Z.isProperMap_regularComplementTopCatMap |
| 69 | (K : Set Z.regularAmbientSpace) K.isCompact hd (2 * Z.regularComplexDimension)] |
| 70 | rfl |
| 71 | have hp := (CompactProjection.Construction.openCompactRelativeTrace_eq_zero_iff |
| 72 | (X := TopCat.of V.analyticSpace) Z.regularAmbientOpen K |
| 73 | (2 * Z.regularComplexDimension) Z.geometricCycleFundamentalClass).mp ht |
| 74 | exact himage ▸ hp |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Cycles.Functoriality.CycleSupport.Construction |