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.Projection |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.FundamentalDegreeTransport |
| 3 | |
| 4 | /-! # Compact Diagram -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.CompactDiagram.Constructions.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | /-- Compactness is retained on an open subspace containing the whole |
| 16 | compact preimage of the ambient support. -/ |
| 17 | theorem isCompact_openRegularPreimage |
| 18 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 19 | {P : TopCat.{0}} (j : P ⟶ TopCat.of Z.regularAnalyticSpace) |
| 20 | (hj : Topology.IsOpenEmbedding j) (L : Compacts V.analyticSpace) |
| 21 | (hL : (L : Set V.analyticSpace) ⊆ Z.regularAmbientOpen) |
| 22 | (hRange : Projection.Constructions.Construction.regularAmbientMap Z ⁻¹' (L : Set V.analyticSpace) ⊆ Set.range j) : |
| 23 | IsCompact ((j ≫ Projection.Constructions.Construction.regularAmbientMap Z) ⁻¹' (L : Set V.analyticSpace)) := |
| 24 | hj.isEmbedding.isInducing.isCompact_preimage' |
| 25 | (Projection.Constructions.Construction.isCompact_regularAmbientMap_preimage Z L hL) hRange |
| 26 | |
| 27 | /-- Compact projections of the geometric class can be computed on any |
| 28 | analytic smooth open containing the retained support. -/ |
| 29 | theorem geometricCycleFundamentalClass_projection_from_open |
| 30 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 31 | (d : ℕ) {P : Type} [TopologicalSpace P] [T2Space P] |
| 32 | [ChartedSpace (Fin d → ℂ) P] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 P] |
| 33 | (j : TopCat.of P ⟶ TopCat.of Z.regularAnalyticSpace) |
| 34 | (hj : Topology.IsOpenEmbedding j) |
| 35 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Z.regularAnalyticModel)) ω j) |
| 36 | (hd : 2 * d = 2 * Z.regularComplexDimension) |
| 37 | (L : Compacts V.analyticSpace) (hL : (L : Set V.analyticSpace) ⊆ Z.regularAmbientOpen) |
| 38 | (hRange : Projection.Constructions.Construction.regularAmbientMap Z ⁻¹' (L : Set V.analyticSpace) ⊆ Set.range j) : |
| 39 | HomologicalComplex.homologyMap |
| 40 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainProjection ℚ (TopCat.of V.analyticSpace) (L : Set V.analyticSpace)ᶜ) |
| 41 | (2 * Z.regularComplexDimension) Z.geometricCycleFundamentalClass = |
| 42 | HomologicalComplex.homologyMap |
| 43 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (j ≫ Projection.Constructions.Construction.regularAmbientMap Z) |
| 44 | (A := ((j ≫ Projection.Constructions.Construction.regularAmbientMap Z) ⁻¹' (L : Set V.analyticSpace))ᶜ) |
| 45 | (B := (L : Set V.analyticSpace)ᶜ) (fun _ hx => hx)) (2 * Z.regularComplexDimension) |
| 46 | (FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree d |
| 47 | ((j ≫ Projection.Constructions.Construction.regularAmbientMap Z) ⁻¹' (L : Set V.analyticSpace)) |
| 48 | (isCompact_openRegularPreimage Z j hj L hL hRange) (2 * Z.regularComplexDimension) hd) := by |
| 49 | let K := Projection.Constructions.Construction.regularAmbientMap Z ⁻¹' (L : Set V.analyticSpace) |
| 50 | let J := j ⁻¹' K |
| 51 | have hK : IsCompact K := Projection.Constructions.Construction.isCompact_regularAmbientMap_preimage Z L hL |
| 52 | have hJ : IsCompact J := isCompact_openRegularPreimage Z j hj L hL hRange |
| 53 | have hJK : j '' J = K := Set.image_preimage_eq_of_subset hRange |
| 54 | have hclass := FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree_injective_toSupport d Z.regularComplexDimension |
| 55 | j hj.injective hl J hJ K hK hJK (fun _ hx => hx) |
| 56 | (2 * Z.regularComplexDimension) hd rfl |
| 57 | have hc := Geometric.RelativeScalarChains.Cycles.relativeScalarHomologyMap_comp ℚ j (Projection.Constructions.Construction.regularAmbientMap Z) |
| 58 | (A := Jᶜ) (B := Kᶜ) (C := (L : Set V.analyticSpace)ᶜ) |
| 59 | (fun _ hx => hx) (fun _ hx => hx) (2 * Z.regularComplexDimension) |
| 60 | have hc' := ConcreteCategory.congr_hom hc |
| 61 | (FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree d J hJ (2 * Z.regularComplexDimension) hd) |
| 62 | have hp := Projection.Constructions.Construction.geometricCycleFundamentalClass_projection Z L hL |
| 63 | exact hp.trans ((congrArg |
| 64 | (HomologicalComplex.homologyMap |
| 65 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (Projection.Constructions.Construction.regularAmbientMap Z) (A := Kᶜ) |
| 66 | (B := (L : Set V.analyticSpace)ᶜ) (fun _ hx => hx)) (2 * Z.regularComplexDimension)) |
| 67 | hclass.symm).trans hc') |
| 68 | |
| 69 | /-- The smooth-open projection formula in any equal ambient homology degree. -/ |
| 70 | theorem poincareCycleClass_projection_from_open |
| 71 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 72 | (d : ℕ) {P : Type} [TopologicalSpace P] [T2Space P] |
| 73 | [ChartedSpace (Fin d → ℂ) P] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 P] |
| 74 | (j : TopCat.of P ⟶ TopCat.of Z.regularAnalyticSpace) |
| 75 | (hj : Topology.IsOpenEmbedding j) |
| 76 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Z.regularAnalyticModel)) ω j) |
| 77 | (L : Compacts V.analyticSpace) (hL : (L : Set V.analyticSpace) ⊆ Z.regularAmbientOpen) |
| 78 | (hRange : Projection.Constructions.Construction.regularAmbientMap Z ⁻¹' (L : Set V.analyticSpace) ⊆ Set.range j) |
| 79 | (n : ℕ) (hd : 2 * d = n) (hZ : 2 * Z.regularComplexDimension = n) |
| 80 | (hpn : (p + p) + n = 2 * V.complexDimension) : |
| 81 | HomologicalComplex.homologyMap |
| 82 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainProjection ℚ (TopCat.of V.analyticSpace) (L : Set V.analyticSpace)ᶜ) n |
| 83 | ((V.poincareDuality (p + p) n hpn).hom Z.geometricCycleClass) = |
| 84 | HomologicalComplex.homologyMap |
| 85 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (j ≫ Projection.Constructions.Construction.regularAmbientMap Z) |
| 86 | (A := ((j ≫ Projection.Constructions.Construction.regularAmbientMap Z) ⁻¹' (L : Set V.analyticSpace))ᶜ) |
| 87 | (B := (L : Set V.analyticSpace)ᶜ) (fun _ hx => hx)) n |
| 88 | (FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree d |
| 89 | ((j ≫ Projection.Constructions.Construction.regularAmbientMap Z) ⁻¹' (L : Set V.analyticSpace)) |
| 90 | (isCompact_openRegularPreimage Z j hj L hL hRange) n hd) := by |
| 91 | cases hZ |
| 92 | exact geometricCycleFundamentalClass_projection_from_open Z d j hj hl hd L hL hRange |
| 93 | |
| 94 | end |
| 95 | |
| 96 | open _root_.CategoryTheory |
| 97 | open scoped _root_.Manifold ContDiff |
| 98 | |
| 99 | /-- Equal continuous maps have equal compact fundamental-class |
| 100 | pushforwards, including the induced equality of their retained source sets. -/ |
| 101 | theorem rationalCompactFundamentalClassInDegree_push_congr |
| 102 | (d : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] |
| 103 | [ChartedSpace (Fin d → ℂ) M] [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] |
| 104 | {Y : TopCat.{0}} (f g : TopCat.of M ⟶ Y) (h : f = g) (K : Set Y) |
| 105 | (hf : IsCompact (f ⁻¹' K)) (hg : IsCompact (g ⁻¹' K)) |
| 106 | (n : ℕ) (hn : 2 * d = n) : |
| 107 | HomologicalComplex.homologyMap |
| 108 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ f (A := (f ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx)) n |
| 109 | (FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree d (f ⁻¹' K) hf n hn) = |
| 110 | HomologicalComplex.homologyMap |
| 111 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ g (A := (g ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx)) n |
| 112 | (FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree d (g ⁻¹' K) hg n hn) := by |
| 113 | subst g |
| 114 | rfl |
| 115 | |
| 116 | /-- Composing a compact fundamental-class pushforward with a finite |
| 117 | covering multiplies it by the covering degree. -/ |
| 118 | theorem rationalCompactFundamentalClassInDegree_comp_degree |
| 119 | (d e : ℕ) {M N : Type} [TopologicalSpace M] [TopologicalSpace N] |
| 120 | [T2Space M] [T2Space N] [SecondCountableTopology M] [SecondCountableTopology N] |
| 121 | [ChartedSpace (Fin d → ℂ) M] [ChartedSpace (Fin e → ℂ) N] |
| 122 | [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] [IsManifold (𝓘(ℂ, Fin e → ℂ)) 1 N] |
| 123 | {Y : TopCat.{0}} (h : TopCat.of M ⟶ TopCat.of N) (hp : IsProperMap h) |
| 124 | (hl : IsLocalDiffeomorph (𝓘(ℂ, Fin d → ℂ)) (𝓘(ℂ, Fin e → ℂ)) ω h) |
| 125 | (degree : ℕ) (hdegree : ∀ y : N, Nat.card (h ⁻¹' {y}) = degree) |
| 126 | (g : TopCat.of N ⟶ Y) (K : Set Y) (hK : IsCompact (g ⁻¹' K)) |
| 127 | (n : ℕ) (hd : 2 * d = n) (he : 2 * e = n) : |
| 128 | HomologicalComplex.homologyMap |
| 129 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ (h ≫ g) (A := ((h ≫ g) ⁻¹' K)ᶜ) (B := Kᶜ) |
| 130 | (fun _ hx => hx)) n |
| 131 | (FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree d ((h ≫ g) ⁻¹' K) |
| 132 | (hp.isCompact_preimage hK) n hd) = |
| 133 | (degree : ℚ) • |
| 134 | HomologicalComplex.homologyMap |
| 135 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ g (A := (g ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx)) n |
| 136 | (FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree e (g ⁻¹' K) hK n he) := by |
| 137 | have hfund := FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree_map_degree d e h hp hl degree hdegree |
| 138 | (g ⁻¹' K) hK n hd he |
| 139 | have hc := ConcreteCategory.congr_hom |
| 140 | (Geometric.RelativeScalarChains.Cycles.relativeScalarHomologyMap_comp ℚ h g (A := ((h ≫ g) ⁻¹' K)ᶜ) |
| 141 | (B := (g ⁻¹' K)ᶜ) (C := Kᶜ) (fun _ hx => hx) (fun _ hx => hx) n) |
| 142 | (FundamentalDegreeTransport.Constructions.Construction.rationalCompactFundamentalClassInDegree d ((h ≫ g) ⁻¹' K) (hp.isCompact_preimage hK) n hd) |
| 143 | let r := HomologicalComplex.homologyMap |
| 144 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ g (A := (g ⁻¹' K)ᶜ) (B := Kᶜ) (fun _ hx => hx)) n |
| 145 | exact hc.symm.trans ((congrArg r hfund).trans (r.hom.map_smul _ _)) |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.CompactDiagram.Constructions.Construction |