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