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.AlgebraicGeometry.ClosedImmersion.NormalCoordinatesAt |
| 7 | import OAI.AlgebraicGeometry.Cycle.LocalPurityOf |
| 8 | import OAI.AlgebraicTopology.LocalHomology.FlattenedSupport |
| 9 | import OAI.AlgebraicTopology.Singular.RelativeCochainG |
| 10 | |
| 11 | /-! # Local Local Homology -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open _root_.AlgebraicGeometry |
| 18 | |
| 19 | /-! |
| 20 | # Local relative homology for smooth closed supports |
| 21 | |
| 22 | Every prescribed open neighborhood of a point on a smooth closed complex subvariety contains |
| 23 | a smaller open neighborhood whose support-complement pair has rational |
| 24 | relative homology and cohomology only in degree twice the complex codimension. The comparison |
| 25 | and the exactly normalized normal class come from flattening, radial compression, and tangent |
| 26 | contraction. |
| 27 | |
| 28 | This is a cofinal local singular calculation. The identification with derived sheaf sections |
| 29 | with support, and gluing its normalizations across overlapping charts, are separate theorems. |
| 30 | -/ |
| 31 | |
| 32 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.Topology _root_.TopologicalSpace |
| 33 | open OAI.AlgebraicTopology.Singular |
| 34 | |
| 35 | variable (X Y : Over (Spec ↧ℂ)) |
| 36 | (i : Y ⟶ X) (m d : ℕ) |
| 37 | [SmoothOfRelativeDimension m Y.hom] [SmoothOfRelativeDimension d X.hom] |
| 38 | [IsClosedImmersion i.left] (z : ComplexPoint.Basic.ComplexSchemePoint Y) |
| 39 | (V : Opens (ComplexPoint.Basic.ComplexSchemePoint X)) (hzV : ComplexPoint.Basic.Point.map i z ∈ V) |
| 40 | |
| 41 | /-- Let `i: Y → X` be a closed immersion of smooth schemes over `ℂ` of dimensions `m` and `d`, |
| 42 | respectively. For `z ∈ Y(ℂ)` and an ambient open `V ⊆ X(ℂ)`, this is the chart at `i(z)` with |
| 43 | source restricted to `V`. Its coordinates lie in `ℂ^m × ℂ^{d-m}`, and the image of `Y(ℂ)` is |
| 44 | given by vanishing of the second coordinate. -/ |
| 45 | def ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart : |
| 46 | OpenPartialHomeomorph (ComplexPoint.Basic.ComplexSchemePoint X) |
| 47 | ((Fin m → ℂ) × (Fin (d - m) → ℂ)) := |
| 48 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart X Y i m d z).restrOpen V V.isOpen |
| 49 | |
| 50 | include hzV in |
| 51 | theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart_mem_source : |
| 52 | ComplexPoint.Basic.Point.map i z ∈ |
| 53 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart X Y i m d z V).source := |
| 54 | ⟨ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_mem_source X Y i m d z, hzV⟩ |
| 55 | |
| 56 | @[simp] theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart_center : |
| 57 | ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart X Y i m d z V (ComplexPoint.Basic.Point.map i z) = |
| 58 | (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0) := |
| 59 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_center X Y i m d z |
| 60 | |
| 61 | theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart_mem_range_iff (y : ComplexPoint.Basic.ComplexSchemePoint X) |
| 62 | (hy : y ∈ (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart X Y i m d z V).source) : |
| 63 | y ∈ Set.range (ComplexPoint.Basic.Point.map i) ↔ |
| 64 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart X Y i m d z V y).2 = 0 := |
| 65 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_mem_range_iff X Y i m d z y hy.1 |
| 66 | |
| 67 | /-- A small open support-model neighborhood inside the prescribed open. -/ |
| 68 | def ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhood : Opens (ComplexPoint.Basic.ComplexSchemePoint X) := |
| 69 | AlgebraicTopology.LocalHomology.FlattenedSupport.Singular.flattenedSupportNeighborhood (Fin m → ℂ) (d - m) |
| 70 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart X Y i m d z V) |
| 71 | (ComplexPoint.Basic.Point.map i z) |
| 72 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart_mem_source X Y i m d z V hzV) |
| 73 | |
| 74 | theorem ComplexPoint.Basic.ComplexSchemePoint.mem_smoothClosedSupportNeighborhood : |
| 75 | ComplexPoint.Basic.Point.map i z ∈ ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhood X Y i m d z V hzV := |
| 76 | AlgebraicTopology.LocalHomology.FlattenedSupport.Singular.mem_flattenedSupportNeighborhood _ _ _ _ _ |
| 77 | |
| 78 | theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhood_le : |
| 79 | ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhood X Y i m d z V hzV ≤ V := |
| 80 | fun _ hy ↦ (AlgebraicTopology.LocalHomology.FlattenedSupport.Singular.flattenedSupportNeighborhood_subset_source (Fin m → ℂ) (d - m) |
| 81 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart X Y i m d z V) |
| 82 | (ComplexPoint.Basic.Point.map i z) |
| 83 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart_mem_source X Y i m d z V hzV) |
| 84 | hy).2 |
| 85 | |
| 86 | /-- The local support-complement pair, with the image as support. -/ |
| 87 | abbrev ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPair : TopPair := |
| 88 | AlgebraicTopology.LocalHomology.FundamentalClass.Singular.neighborhoodSupportComplementPair |
| 89 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhood X Y i m d z V hzV) |
| 90 | (Set.range (ComplexPoint.Basic.Point.map i)) |
| 91 | |
| 92 | /-- The pair homeomorphism to the product normal model. -/ |
| 93 | def ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPairIso : |
| 94 | AlgebraicTopology.LocalHomology.NormalSlicePurity.Singular.normalSlicePair (Fin m → ℂ) (d - m) ≅ |
| 95 | ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPair X Y i m d z V hzV := |
| 96 | AlgebraicTopology.LocalHomology.FlattenedSupport.Singular.flattenedSupportPairIso (Fin m → ℂ) (d - m) |
| 97 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart X Y i m d z V) |
| 98 | (ComplexPoint.Basic.Point.map i z) |
| 99 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart_mem_source X Y i m d z V hzV) |
| 100 | (Set.range (ComplexPoint.Basic.Point.map i)) |
| 101 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart_mem_range_iff X Y i m d z V) |
| 102 | (congrArg Prod.snd (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRestrictionChart_center X Y i m d z V)) |
| 103 | |
| 104 | /-- All-degree local relative homology, computed from the pair maps. -/ |
| 105 | def ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRelativeHomologyIso (n : ℕ) : |
| 106 | AlgebraicTopology.Singular.Cohomology.RelativeHomology ℚ |
| 107 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPair X Y i m d z V hzV) n ≅ |
| 108 | AlgebraicTopology.Singular.Cohomology.RelativeHomology ℚ (AlgebraicTopology.LocalHomology.FundamentalClass.Singular.puncturedPair ℂ (d - m)) n := |
| 109 | ((AlgebraicTopology.Singular.Cohomology.relativeHomologyFunctor ℚ n).mapIso |
| 110 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPairIso X Y i m d z V hzV).symm) ≪≫ |
| 111 | AlgebraicTopology.LocalHomology.NormalSlicePurity.Singular.normalSliceRelativeHomologyIso (Fin m → ℂ) (d - m) n |
| 112 | |
| 113 | theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRelativeHomology_isZero_of_ne (n : ℕ) (hn : n ≠ 2 * (d - m)) : |
| 114 | IsZero (AlgebraicTopology.Singular.Cohomology.RelativeHomology ℚ |
| 115 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPair X Y i m d z V hzV) n) := |
| 116 | (ComplexPoint.LocalHomologyVanishing.AlgebraicTopology.Singular.standardComplexLocalHomology_isZero_of_ne (d - m) n hn).of_iso |
| 117 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRelativeHomologyIso X Y i m d z V hzV n) |
| 118 | |
| 119 | /-- The exact complex-normal class in the local support pair. -/ |
| 120 | def ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass : |
| 121 | AlgebraicTopology.Singular.Cohomology.RelativeHomology ℚ |
| 122 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPair X Y i m d z V hzV) (2 * (d - m)) := |
| 123 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRelativeHomologyIso X Y i m d z V hzV |
| 124 | (2 * (d - m))).inv.hom (AlgebraicTopology.LocalHomology.ComplexClass.Singular.standardComplexLocalClass ℚ (d - m)) |
| 125 | |
| 126 | @[simp] theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass_normalization : |
| 127 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRelativeHomologyIso X Y i m d z V hzV |
| 128 | (2 * (d - m))).hom.hom |
| 129 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass X Y i m d z V hzV) = |
| 130 | AlgebraicTopology.LocalHomology.ComplexClass.Singular.standardComplexLocalClass ℚ (d - m) := |
| 131 | ConcreteCategory.congr_hom |
| 132 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRelativeHomologyIso X Y i m d z V hzV |
| 133 | (2 * (d - m))).inv_hom_id _ |
| 134 | |
| 135 | theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass_ne_zero : |
| 136 | ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass X Y i m d z V hzV ≠ 0 := by |
| 137 | intro hzero |
| 138 | have h := ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass_normalization X Y i m d z V hzV |
| 139 | rw [hzero, map_zero] at h |
| 140 | exact AlgebraicTopology.LocalHomology.ChartFundamentalClassGenerator.Singular.standardComplexLocalClass_ne_zero_for_chart (d - m) h.symm |
| 141 | |
| 142 | /-- The coclass normalized to pair to one with the exact complex normal class. -/ |
| 143 | def ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalCoclass : |
| 144 | AlgebraicTopology.Singular.Cohomology.RelativeCohomology ℚ |
| 145 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPair X Y i m d z V hzV) |
| 146 | (2 * (d - m)) := |
| 147 | Cycle.LocalPurity.AlgebraicTopology.Singular.normalizedRelativeCoclass (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass X Y i m d z V hzV) |
| 148 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass_ne_zero X Y i m d z V hzV) |
| 149 | |
| 150 | @[simp] theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalCoclass_apply_class : |
| 151 | AlgebraicTopology.Singular.Cohomology.relativeCohomologyEquivDualHomology ℚ |
| 152 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPair X Y i m d z V hzV) (2 * (d - m)) |
| 153 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalCoclass X Y i m d z V hzV) |
| 154 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNormalClass X Y i m d z V hzV) = 1 := |
| 155 | Cycle.LocalPurityOf.AlgebraicTopology.Singular.normalizedRelativeCoclass_pairing_self _ _ |
| 156 | |
| 157 | theorem ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRelativeCohomology_isZero_of_ne (n : ℕ) (hn : n ≠ 2 * (d - m)) : |
| 158 | IsZero (AlgebraicTopology.Singular.Cohomology.RelativeCohomology ℚ |
| 159 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportNeighborhoodPair X Y i m d z V hzV) n) := |
| 160 | AlgebraicTopology.Singular.CohomologyTo.relativeCohomology_isZero ℚ _ n |
| 161 | (ComplexPoint.Basic.ComplexSchemePoint.smoothClosedSupportRelativeHomology_isZero_of_ne X Y i m d z V hzV n hn) |
| 162 | |
| 163 | end |
| 164 | |
| 165 | end OAI.AlgebraicGeometry |