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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | This file has been modified. |
| 5 | -/ |
| 6 | import OAI.AlgebraicTopology.LocalHomology.NormalProjectionCoclass |
| 7 | |
| 8 | /-! # Normal Projection Top -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicTopology.LocalHomology.NormalProjectionTop.Singular |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # Normal projections and the local support coclass |
| 16 | |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.Topology |
| 20 | |
| 21 | variable {M : Type} [TopologicalSpace M] |
| 22 | |
| 23 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] (c : ℕ) |
| 24 | (e : OpenPartialHomeomorph M (E × (Fin c → ℂ))) (S : Set M) |
| 25 | (hS : ∀ y ∈ e.source, y ∈ S ↔ (e y).2 = 0) |
| 26 | |
| 27 | omit [NormedSpace ℝ E] in |
| 28 | theorem neighborhoodSupportInclusion_comp_chartNormalProjection |
| 29 | {W V : Set M} (hWV : W ⊆ V) (hV : V ⊆ e.source) : |
| 30 | NormalProjectionCoclass.Singular.neighborhoodSupportInclusionPairMap hWV S ≫ NormalProjectionCoclass.Singular.chartNormalProjectionPair E c e S hS V hV = |
| 31 | NormalProjectionCoclass.Singular.chartNormalProjectionPair E c e S hS W (hWV.trans hV) := rfl |
| 32 | |
| 33 | omit [NormedSpace ℝ E] in |
| 34 | /-- The chart coclass is compatible with neighborhood inclusion. -/ |
| 35 | theorem chartNormalProjectionCoclass_restrict {W V : Set M} (hWV : W ⊆ V) (hV : V ⊆ e.source) : |
| 36 | Singular.Cohomology.relativeCohomologyMap ℚ (2 * c) (NormalProjectionCoclass.Singular.neighborhoodSupportInclusionPairMap hWV S) |
| 37 | (NormalProjectionCoclass.Singular.chartNormalProjectionCoclass E c e S hS V hV) = |
| 38 | NormalProjectionCoclass.Singular.chartNormalProjectionCoclass E c e S hS W (hWV.trans hV) := by |
| 39 | unfold NormalProjectionCoclass.Singular.chartNormalProjectionCoclass |
| 40 | rw [← LinearMap.comp_apply, ← Singular.CohomologyTo.relativeCohomologyMap_comp, |
| 41 | neighborhoodSupportInclusion_comp_chartNormalProjection] |
| 42 | |
| 43 | /-- On a zero-tangent fiber, the product radial compression has exactly the usual |
| 44 | normal radial compression, including its scale. -/ |
| 45 | theorem univBall_zero_tangent_normal (a : E) (r : ℝ) (hr : 0 < r) (v : Fin c → ℂ) : |
| 46 | (OpenPartialHomeomorph.univBall (a, (0 : Fin c → ℂ)) r (0, v)).2 = |
| 47 | OpenPartialHomeomorph.univBall (0 : Fin c → ℂ) r v := by |
| 48 | rw [OpenPartialHomeomorph.univBall, dite_eq_left hr, OpenPartialHomeomorph.univBall, dite_eq_left hr] |
| 49 | change (r • ((Real.sqrt (1 + ‖((0 : E), v)‖ ^ 2))⁻¹ • ((0 : E), v)) + (a, 0)).2 = |
| 50 | r • ((Real.sqrt (1 + ‖v‖ ^ 2))⁻¹ • v) + 0 |
| 51 | simp |
| 52 | |
| 53 | variable (x : M) (hx : x ∈ e.source) (h0 : (e x).2 = 0) |
| 54 | |
| 55 | /-- The normal fiber, local pair homeomorphism, and normal projection compose to the standard |
| 56 | radial point-complement map, scale included. -/ |
| 57 | theorem normalFiber_comp_chartNormalProjection : |
| 58 | NormalSlicePurity.Singular.normalSliceSection E c ≫ (FlattenedSupport.Singular.flattenedSupportPairIso E c e x hx S hS h0).hom ≫ |
| 59 | NormalProjectionCoclass.Singular.chartNormalProjectionPair E c e S hS (FlattenedSupport.Singular.flattenedSupportNeighborhood E c e x hx) |
| 60 | (FlattenedSupport.Singular.flattenedSupportNeighborhood_subset_source E c e x hx) = |
| 61 | CenteredComplexOrientation.Singular.centeredComplexEmbeddingPair c |
| 62 | (OpenPartialHomeomorph.univBall (0 : Fin c → ℂ) (FlattenedSupport.Singular.flattenedSupportRadius E c e x hx)) |
| 63 | (CenteredComplexOrientation.Singular.continuous_complexUnivBall c _ _) (CenteredComplexOrientation.Singular.injective_complexUnivBall c _ _) 0 := by |
| 64 | have hp (v : Fin c → ℂ) : |
| 65 | (e (FlattenedSupport.Singular.flattenedSupportHomeomorph E c e x hx (0, v))).2 = |
| 66 | OpenPartialHomeomorph.univBall (0 : Fin c → ℂ) (FlattenedSupport.Singular.flattenedSupportRadius E c e x hx) v := by |
| 67 | rw [FlattenedSupport.Singular.flattenedSupportHomeomorph_coordinates] |
| 68 | have he : e x = ((e x).1, (0 : Fin c → ℂ)) := Prod.ext rfl h0 |
| 69 | rw [he] |
| 70 | exact univBall_zero_tangent_normal E c _ _ (FlattenedSupport.Singular.flattenedSupportRadius_pos E c e x hx) v |
| 71 | apply MorphismProperty.Arrow.Hom.ext |
| 72 | · ext v |
| 73 | apply Subtype.ext |
| 74 | change (e (FlattenedSupport.Singular.flattenedSupportHomeomorph E c e x hx (0, v.1))).2 = |
| 75 | OpenPartialHomeomorph.univBall (0 : Fin c → ℂ) (FlattenedSupport.Singular.flattenedSupportRadius E c e x hx) (v.1 + 0) - |
| 76 | OpenPartialHomeomorph.univBall (0 : Fin c → ℂ) (FlattenedSupport.Singular.flattenedSupportRadius E c e x hx) 0 |
| 77 | simpa only [add_zero, OpenPartialHomeomorph.univBall_apply_zero, sub_zero] using hp v.1 |
| 78 | · ext v |
| 79 | change Fin c → ℂ at v |
| 80 | change (e (FlattenedSupport.Singular.flattenedSupportHomeomorph E c e x hx (0, v))).2 = |
| 81 | OpenPartialHomeomorph.univBall (0 : Fin c → ℂ) (FlattenedSupport.Singular.flattenedSupportRadius E c e x hx) (v + 0) - |
| 82 | OpenPartialHomeomorph.univBall (0 : Fin c → ℂ) (FlattenedSupport.Singular.flattenedSupportRadius E c e x hx) 0 |
| 83 | simpa only [add_zero, OpenPartialHomeomorph.univBall_apply_zero, sub_zero] using hp v |
| 84 | |
| 85 | /-- The flattened-support normal class is the image of the fixed class on this normal |
| 86 | fiber. -/ |
| 87 | theorem flattenedSupportNormalClass_eq_normalFiber : |
| 88 | FlattenedSupport.Singular.flattenedSupportNormalClass E c e x hx S hS h0 = |
| 89 | Singular.CohomologyTo.relativeHomologyMap ℚ (2 * c) |
| 90 | (NormalSlicePurity.Singular.normalSliceSection E c ≫ (FlattenedSupport.Singular.flattenedSupportPairIso E c e x hx S hS h0).hom) |
| 91 | (ComplexClass.Singular.standardComplexLocalClass ℚ c) := by aesop |
| 92 | |
| 93 | /-- Normal projection sends the local normal class to the exactly normalized standard |
| 94 | class. -/ |
| 95 | theorem chartNormalProjection_normalClass : |
| 96 | Singular.CohomologyTo.relativeHomologyMap ℚ (2 * c) |
| 97 | (NormalProjectionCoclass.Singular.chartNormalProjectionPair E c e S hS (FlattenedSupport.Singular.flattenedSupportNeighborhood E c e x hx) |
| 98 | (FlattenedSupport.Singular.flattenedSupportNeighborhood_subset_source E c e x hx)) |
| 99 | (FlattenedSupport.Singular.flattenedSupportNormalClass E c e x hx S hS h0) = ComplexClass.Singular.standardComplexLocalClass ℚ c := by |
| 100 | rw [flattenedSupportNormalClass_eq_normalFiber, ← LinearMap.comp_apply, |
| 101 | ← Singular.CohomologyTo.relativeHomologyMap_comp, Category.assoc, normalFiber_comp_chartNormalProjection] |
| 102 | exact CenteredComplexOrientation.Singular.centeredComplexUnivBall_preserves_standardComplexLocalClass c _ _ |
| 103 | (FlattenedSupport.Singular.flattenedSupportRadius_pos E c e x hx) 0 |
| 104 | |
| 105 | /-- The chart-projection coclass has precisely the required normalization. -/ |
| 106 | theorem chartNormalProjectionCoclass_apply_normalClass : |
| 107 | Singular.Cohomology.relativeCohomologyEquivDualHomology ℚ |
| 108 | (FundamentalClass.Singular.neighborhoodSupportComplementPair (FlattenedSupport.Singular.flattenedSupportNeighborhood E c e x hx) S) (2 * c) |
| 109 | (NormalProjectionCoclass.Singular.chartNormalProjectionCoclass E c e S hS (FlattenedSupport.Singular.flattenedSupportNeighborhood E c e x hx) |
| 110 | (FlattenedSupport.Singular.flattenedSupportNeighborhood_subset_source E c e x hx)) |
| 111 | (FlattenedSupport.Singular.flattenedSupportNormalClass E c e x hx S hS h0) = 1 := by |
| 112 | simp [NormalProjectionCoclass.Singular.chartNormalProjectionCoclass, Singular.CohomologyTo.relativeCohomologyEquivDualHomology_relativeCohomologyMap, |
| 113 | AlgebraicGeometry.Cycle.LocalPurityOf.AlgebraicTopology.Singular.relativeCohomologyEquivDualHomology_normalizedRelativeCoclass, |
| 114 | chartNormalProjection_normalClass, AlgebraicGeometry.Cycle.LocalPurityOf.AlgebraicTopology.Singular.normalizedDual_apply_self] |
| 115 | |
| 116 | /-- Generation follows from the pair isomorphism and contraction. -/ |
| 117 | theorem span_flattenedSupportNormalClass_eq_top : |
| 118 | Submodule.span ℚ {FlattenedSupport.Singular.flattenedSupportNormalClass E c e x hx S hS h0} = ⊤ := by |
| 119 | let eH := (FlattenedSupport.Singular.flattenedSupportRelativeHomologyIso E c e x hx S hS h0 (2 * c)).symm.toLinearEquiv |
| 120 | have h := congrArg (Submodule.map eH.toLinearMap) (ChartFundamentalClassGenerator.Singular.span_standardComplexLocalClass_eq_top_for_chart c) |
| 121 | rwa [Submodule.map_span, Set.image_singleton, Submodule.map_top, LinearEquiv.range] at h |
| 122 | |
| 123 | include h0 in |
| 124 | /-- In top normal degree the normal projection is injective, by the pair computation and its |
| 125 | exact normalization. -/ |
| 126 | theorem chartNormalProjection_relativeHomologyMap_injective : |
| 127 | Function.Injective (Singular.CohomologyTo.relativeHomologyMap ℚ (2 * c) |
| 128 | (NormalProjectionCoclass.Singular.chartNormalProjectionPair E c e S hS (FlattenedSupport.Singular.flattenedSupportNeighborhood E c e x hx) |
| 129 | (FlattenedSupport.Singular.flattenedSupportNeighborhood_subset_source E c e x hx))) := by |
| 130 | intro v w hvw |
| 131 | have hg := (Submodule.span_singleton_eq_top_iff ℚ |
| 132 | (FlattenedSupport.Singular.flattenedSupportNormalClass E c e x hx S hS h0)).mp |
| 133 | (span_flattenedSupportNormalClass_eq_top E c e S hS x hx h0) |
| 134 | obtain ⟨r, rfl⟩ := hg v |
| 135 | obtain ⟨s, rfl⟩ := hg w |
| 136 | rw [map_smul, map_smul, chartNormalProjection_normalClass] at hvw |
| 137 | rw [smul_left_injective ℚ (ChartFundamentalClassGenerator.Singular.standardComplexLocalClass_ne_zero_for_chart c) hvw] |
| 138 | |
| 139 | /-- A local supported coclass equals the normal-projection coclass precisely when |
| 140 | it evaluates to one on the normal class. -/ |
| 141 | theorem chartNormalProjectionCoclass_unique |
| 142 | (α : Singular.Cohomology.RelativeCohomology ℚ |
| 143 | (FundamentalClass.Singular.neighborhoodSupportComplementPair (FlattenedSupport.Singular.flattenedSupportNeighborhood E c e x hx) S) (2 * c)) |
| 144 | (hα : Singular.Cohomology.relativeCohomologyEquivDualHomology ℚ |
| 145 | (FundamentalClass.Singular.neighborhoodSupportComplementPair (FlattenedSupport.Singular.flattenedSupportNeighborhood E c e x hx) S) (2 * c) α |
| 146 | (FlattenedSupport.Singular.flattenedSupportNormalClass E c e x hx S hS h0) = 1) : |
| 147 | α = NormalProjectionCoclass.Singular.chartNormalProjectionCoclass E c e S hS (FlattenedSupport.Singular.flattenedSupportNeighborhood E c e x hx) |
| 148 | (FlattenedSupport.Singular.flattenedSupportNeighborhood_subset_source E c e x hx) := by |
| 149 | have hne : FlattenedSupport.Singular.flattenedSupportNormalClass E c e x hx S hS h0 ≠ 0 := by |
| 150 | intro hz |
| 151 | have h := chartNormalProjectionCoclass_apply_normalClass E c e S hS x hx h0 |
| 152 | rw [hz, map_zero] at h |
| 153 | exact zero_ne_one h |
| 154 | exact (AlgebraicGeometry.Cycle.LocalPurityOf.AlgebraicTopology.Singular.normalizedRelativeCoclass_unique hne |
| 155 | (span_flattenedSupportNormalClass_eq_top E c e S hS x hx h0) α hα).trans |
| 156 | (AlgebraicGeometry.Cycle.LocalPurityOf.AlgebraicTopology.Singular.normalizedRelativeCoclass_unique hne |
| 157 | (span_flattenedSupportNormalClass_eq_top E c e S hS x hx h0) _ |
| 158 | (chartNormalProjectionCoclass_apply_normalClass E c e S hS x hx h0)).symm |
| 159 | |
| 160 | end |
| 161 | |
| 162 | end OAI.AlgebraicTopology.LocalHomology.NormalProjectionTop.Singular |