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.EmbeddingChartPoint |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.ProductCoordinates |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegreeNaturality |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Finite.PointProjection |
| 5 | |
| 6 | /-! # Finite Point Projection -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.CycleClass.Thom.Open.FinitePointProjection.Constructions.Product |
| 13 | |
| 14 | /-! The actual canonical point in an open normal product projects to the open normal generator. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.ProductCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.EmbeddingComplexChart.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EmbeddingChartPoint.Constructions.Class |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.SingleChartComplexManifold.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.CanonicalLocalDual.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.LocalDualLocalInverse.Constructions.CanonicalNaturality |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegree.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegreeNaturality.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.PointProjection.Constructions |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | variable {p d : ℕ} (U : Opens (Fin p → ℂ)) [Nonempty U] |
| 26 | (e : ((Fin p → ℂ) × (Fin d → ℂ)) ≃L[ℂ] (Fin (p + d) → ℂ)) |
| 27 | |
| 28 | @[instance_reducible] |
| 29 | def openProductCharted : ChartedSpace (Fin (p + d) → ℂ) (U × (Fin d → ℂ)) := |
| 30 | EmbeddingComplexChart.Constructions.embeddingChartedSpace (p + d) (ProductCoordinates.Constructions.flatOpenCoordinate U e) (ProductCoordinates.Constructions.flatOpenCoordinate_isOpenEmbedding U e) |
| 31 | |
| 32 | omit [Nonempty U] in |
| 33 | theorem openSingletonBound (h0 : (0 : Fin p → ℂ) ∈ U) (x : Fin d → ℂ) |
| 34 | (K : Set (Fin d → ℂ)) (hx : x ∈ K) : |
| 35 | ({(⟨0, h0⟩, x)} : Set (U × (Fin d → ℂ))) ⊆ ({⟨0, h0⟩} : Set U) ×ˢ K := by |
| 36 | rintro z rfl |
| 37 | exact ⟨rfl, hx⟩ |
| 38 | |
| 39 | theorem openSingleton_project (h0 : (0 : Fin p → ℂ) ∈ U) (x : Fin d → ℂ) |
| 40 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) (hx : x ∈ K) : |
| 41 | letI := openProductCharted U e |
| 42 | Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) {⟨0, h0⟩} K hK {(⟨0, h0⟩, x)} |
| 43 | (openSingletonBound U h0 x K hx) (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm |
| 44 | (CanonicalLocalDual.Constructions.canonicalLocalDual (p + d) (M := U × (Fin d → ℂ)) ((⟨0, h0⟩ : U), x)) = |
| 45 | HodgeConjecture.DegreeTwo.NestedOpenPointClass.Constructions.openOriginRelativeDualClass U h0 := by |
| 46 | let := SingleChartComplexManifold.Constructions.coordinateChartedSpace (p + d) e.toHomeomorph |
| 47 | let := openProductCharted U e |
| 48 | let z : U × (Fin d → ℂ) := (⟨0, h0⟩, x) |
| 49 | let J := HodgeConjecture.DegreeTwo.OpenNormal.Constructions.normalOpenProductInclusion U (TopCat.of (Fin d → ℂ)) |
| 50 | have hJ := HodgeConjecture.DegreeTwo.OpenNormal.Constructions.normalOpenProductInclusion_isOpenEmbedding U (TopCat.of (Fin d → ℂ)) |
| 51 | have hr := EmbeddingChartPoint.Constructions.Class.canonicalPoint_restriction (p + d) e.toHomeomorph J hJ z |
| 52 | have hn := Supported.ProjectionDegreeNaturality.Constructions.projectAt_natural d (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (Fin p → ℂ)) U) |
| 53 | {⟨0, h0⟩} {0} {z} {(0, x)} K hK (openSingletonBound U h0 x K hx) |
| 54 | (Finite.PointProjection.Constructions.singletonBound p d x K hx) (HodgeConjecture.DegreeTwo.NestedOpenPointClass.Constructions.openOrigin_mapsTo_complement U h0) |
| 55 | (LocalDualLocalInverse.Constructions.CanonicalNaturality.injectivePunctureMapsTo J hJ.injective z) (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm |
| 56 | (CanonicalLocalDual.Constructions.canonicalLocalDual (p + d) (0, x)) |
| 57 | refine (congrArg (Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) {⟨0, h0⟩} K hK {z} |
| 58 | (openSingletonBound U h0 x K hx) (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm) |
| 59 | hr).symm.trans (hn.trans ?_) |
| 60 | exact congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 61 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (Fin p → ℂ)) U) (HodgeConjecture.DegreeTwo.NestedOpenPointClass.Constructions.openOrigin_mapsTo_complement U h0) (2 * p)) |
| 62 | (Finite.PointProjection.Constructions.singleton_project p d x K hK hx e) |
| 63 | |
| 64 | end AlgebraicGeometry.CycleClass.Thom.Open.FinitePointProjection.Constructions.Product |
| 65 | |
| 66 | namespace AlgebraicGeometry.CycleClass.Thom.Open.FinitePointProjection.Constructions |
| 67 | |
| 68 | /-! The supported projection from an open normal product sums its actual finite local point coefficients. -/ |
| 69 | |
| 70 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 71 | open scoped _root_.Manifold ContDiff |
| 72 | |
| 73 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.FinitePointProjection.Constructions.Product OAI.AlgebraicGeometry.CycleClass.Thom.Open.ProductCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.EmbeddingComplexChart.Constructions |
| 74 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegree.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Projection.SupportEnlargement.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.CompactPointIntegration.Constructions |
| 75 | open OAI.AlgebraicGeometry.CycleClass.Thom.CanonicalLocalDual.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions.LocalCoefficients |
| 76 | |
| 77 | set_option backward.isDefEq.respectTransparency false |
| 78 | set_option backward.isDefEq.respectTransparency.types false |
| 79 | |
| 80 | variable {p d : ℕ} (U : Opens (Fin p → ℂ)) [Nonempty U] |
| 81 | (e : ((Fin p → ℂ) × (Fin d → ℂ)) ≃L[ℂ] (Fin (p + d) → ℂ)) |
| 82 | |
| 83 | theorem openProductManifold : |
| 84 | letI := Product.openProductCharted U e |
| 85 | IsManifold 𝓘(ℂ, Fin (p + d) → ℂ) ω (U × (Fin d → ℂ)) := |
| 86 | EmbeddingComplexChart.Constructions.embeddingManifold (p + d) (ProductCoordinates.Constructions.flatOpenCoordinate U e) (ProductCoordinates.Constructions.flatOpenCoordinate_isOpenEmbedding U e) |
| 87 | |
| 88 | theorem openPoint_project (h0 : (0 : Fin p → ℂ) ∈ U) (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 89 | (T : Set (U × (Fin d → ℂ))) (hT : T ⊆ {⟨0, h0⟩} ×ˢ K) (z : T) : |
| 90 | letI := Product.openProductCharted U e |
| 91 | Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) {⟨0, h0⟩} K hK T hT |
| 92 | (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm |
| 93 | (CompactPointIntegration.Constructions.compactPointClass (p + d) T z.val z.property) = HodgeConjecture.DegreeTwo.NestedOpenPointClass.Constructions.openOriginRelativeDualClass U h0 := by |
| 94 | let := Product.openProductCharted U e |
| 95 | have hz0 : z.val.1 = ⟨0, h0⟩ := (hT z.property).1 |
| 96 | have hzK : z.val.2 ∈ K := (hT z.property).2 |
| 97 | have hsingle : {z.val} ⊆ T := Set.singleton_subset_iff.mpr z.property |
| 98 | have hsbound : {z.val} ⊆ ({⟨0, h0⟩} : Set U) ×ˢ K := hsingle.trans hT |
| 99 | refine (Projection.SupportEnlargement.Constructions.projectAt_support d (TopCat.of U) {⟨0, h0⟩} K hK {z.val} T hsbound hT hsingle |
| 100 | (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm (CanonicalLocalDual.Constructions.canonicalLocalDual (p + d) z.val)).trans ?_ |
| 101 | generalize hz : z.val = w at * |
| 102 | rcases w with ⟨a, b⟩ |
| 103 | change a = ⟨0, h0⟩ at hz0 |
| 104 | subst a |
| 105 | exact Product.openSingleton_project U e h0 b K hK hzK |
| 106 | |
| 107 | theorem openPointSum_project (h0 : (0 : Fin p → ℂ) ∈ U) (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 108 | (T : Set (U × (Fin d → ℂ))) [Fintype T] (hT : T ⊆ {⟨0, h0⟩} ×ˢ K) (w : T → ℚ) : |
| 109 | letI := Product.openProductCharted U e |
| 110 | Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) {⟨0, h0⟩} K hK T hT |
| 111 | (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm |
| 112 | (∑ z : T, w z • CompactPointIntegration.Constructions.compactPointClass (p + d) T z.val z.property) = |
| 113 | (∑ z : T, w z) • HodgeConjecture.DegreeTwo.NestedOpenPointClass.Constructions.openOriginRelativeDualClass U h0 := by |
| 114 | let := Product.openProductCharted U e |
| 115 | rw [map_sum, Finset.sum_smul] |
| 116 | apply Finset.sum_congr rfl |
| 117 | intro z _ |
| 118 | rw [map_smul, openPoint_project U e h0 K hK T hT z] |
| 119 | |
| 120 | theorem openFiniteClass_project_of_local (h0 : (0 : Fin p → ℂ) ∈ U) |
| 121 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 122 | (T : Set (U × (Fin d → ℂ))) [Fintype T] (hT : T ⊆ {⟨0, h0⟩} ×ˢ K) |
| 123 | (V : T → Opens (U × (Fin d → ℂ))) (hxV : ∀ x : T, x.val ∈ V x) |
| 124 | (hVT : ∀ (x : T) (y : V x), y.val ∈ T → y.val = x.val) |
| 125 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (U × (Fin d → ℂ))) Tᶜ (2 * (p + d))) |
| 126 | (w : T → ℚ) : |
| 127 | letI := Product.openProductCharted U e |
| 128 | (∀ x : T, AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 129 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (U × (Fin d → ℂ))) (V x : Set _)) |
| 130 | (Finite.PointCohomology.Constructions.LocalCoefficients.isolationMapsTo T (V x) ⟨x.val, hxV x⟩ (fun y hy => Subtype.ext (hVT x y hy))) |
| 131 | (2 * (p + d)) a = w x • CanonicalLocalDual.Constructions.canonicalLocalDual (p + d) (⟨x.val, hxV x⟩ : V x)) → |
| 132 | Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) {⟨0, h0⟩} K hK T hT |
| 133 | (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm a = |
| 134 | (∑ z : T, w z) • HodgeConjecture.DegreeTwo.NestedOpenPointClass.Constructions.openOriginRelativeDualClass U h0 := by |
| 135 | let := Product.openProductCharted U e |
| 136 | let := openProductManifold U e |
| 137 | intro ha |
| 138 | exact (congrArg (Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) {⟨0, h0⟩} K hK T hT |
| 139 | (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm) |
| 140 | (Finite.PointCohomology.Constructions.LocalCoefficients.cohomology_eq_sum_of_local (p + d) T V hxV hVT a w ha)).trans |
| 141 | (openPointSum_project U e h0 K hK T hT w) |
| 142 | |
| 143 | end AlgebraicGeometry.CycleClass.Thom.Open.FinitePointProjection.Constructions |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI |