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.ComplexPoint.LocalHomologyVanishing |
| 7 | import OAI.AlgebraicTopology.Singular.RelativeHomotopyInvariance |
| 8 | |
| 9 | /-! # Normal Slice Purity -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicTopology.LocalHomology.NormalSlicePurity.Singular |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! |
| 16 | # Normal-slice reduction for a product support |
| 17 | |
| 18 | Contracting the tangent coordinate gives a chain homotopy equivalence from |
| 19 | `(E × ℂ^c, E × (ℂ^c \ {0}))` to the normal point-complement pair, so the homology and |
| 20 | cohomology identifications come from the projection and the zero section. The distinguished |
| 21 | relative class is the image of the normalized `standardComplexLocalClass`. This is the |
| 22 | product-model computation for smooth-support purity. |
| 23 | -/ |
| 24 | |
| 25 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 26 | |
| 27 | variable (E : Type) [NormedAddCommGroup E] [space : NormedSpace ℝ E] (c : ℕ) |
| 28 | |
| 29 | /-- Let `E` be a real normed vector space and `c ∈ ℕ`. This topological pair is `(E × ℂ^c, E × (ℂ^c |
| 30 | \ {0}))`: the subspace consists of points with nonzero normal coordinate. -/ |
| 31 | abbrev normalSlicePair : TopPair := |
| 32 | TopPair.ofSubset (X := TopCat.of (E × (Fin c → ℂ))) {z | z.2 ≠ 0} |
| 33 | |
| 34 | /-- Let `E` be a real normed vector space and `c ∈ ℕ`. This map of pairs `(E × ℂ^c, E × (ℂ^c \ {0})) |
| 35 | → (ℂ^c,ℂ^c \ {0})` is projection `(u,v) ↦ v`. -/ |
| 36 | def normalSliceProjection : normalSlicePair E c ⟶ FundamentalClass.Singular.puncturedPair ℂ c := |
| 37 | TopPair.ofHom (TopCat.ofHom ⟨Prod.snd, continuous_snd⟩) |
| 38 | (TopCat.ofHom ⟨fun z => ⟨z.1.2, z.2⟩, |
| 39 | by fun_prop⟩) (by ext z; rfl) |
| 40 | |
| 41 | /-- Let `E` be a real normed vector space and `c ∈ ℕ`. This map of pairs `(ℂ^c,ℂ^c \ {0}) → (E × |
| 42 | ℂ^c,E × (ℂ^c \ {0}))` sends `v` to `(0,v)`. -/ |
| 43 | def normalSliceSection : FundamentalClass.Singular.puncturedPair ℂ c ⟶ normalSlicePair E c := |
| 44 | TopPair.ofHom (TopCat.ofHom ⟨fun z => (0, z), continuous_const.prodMk continuous_id⟩) |
| 45 | (TopCat.ofHom ⟨fun z => ⟨(0, z.1), z.2⟩, by fun_prop⟩) (by ext z; rfl) |
| 46 | |
| 47 | omit [NormedSpace ℝ E] in |
| 48 | @[simp] theorem normalSliceSection_projection : |
| 49 | normalSliceSection E c ≫ normalSliceProjection E c = 𝟙 _ := rfl |
| 50 | |
| 51 | /-- Let `E` be a real normed vector space and `c ∈ ℕ`. On the pair `(E × ℂ^c,E × (ℂ^c \ {0}))`, the |
| 52 | formula `(t,(u,v)) ↦ (tu,v)` for `0 ≤ t ≤ 1` defines a homotopy from projection onto the zero |
| 53 | tangent section to the identity. The normal coordinate remains nonzero on the subspace |
| 54 | throughout. -/ |
| 55 | def normalSliceContraction : |
| 56 | TopPair.Homotopy (normalSliceProjection E c ≫ normalSliceSection E c) |
| 57 | (𝟙 (normalSlicePair E c)) where |
| 58 | fst := |
| 59 | { toFun := fun tz : unitInterval × (E × (Fin c → ℂ)) => |
| 60 | ((tz.1 : ℝ) • tz.2.1, tz.2.2) |
| 61 | continuous_toFun := by fun_prop |
| 62 | map_zero_left := fun z => Prod.ext (zero_smul ℝ z.1) rfl |
| 63 | map_one_left := fun z => Prod.ext (one_smul ℝ z.1) rfl } |
| 64 | snd := |
| 65 | { toFun := fun tz => ⟨((tz.1 : ℝ) • tz.2.1.1, tz.2.1.2), tz.2.2⟩ |
| 66 | continuous_toFun := by fun_prop |
| 67 | map_zero_left := fun z => Subtype.ext (Prod.ext (zero_smul ℝ z.1.1) rfl) |
| 68 | map_one_left := fun z => Subtype.ext (Prod.ext (one_smul ℝ z.1.1) rfl) } |
| 69 | w := rfl |
| 70 | |
| 71 | /-- Let `E` be a real normed vector space and `c ∈ ℕ`. The rational relative singular chain |
| 72 | complexes of `(E × ℂ^c,E × (ℂ^c \ {0}))` and `(ℂ^c,ℂ^c \ {0})` are homotopy equivalent. This |
| 73 | equivalence uses projection `(u,v) ↦ v`, section `v ↦ (0,v)`, and the prism chain homotopy |
| 74 | induced by `(t,(u,v)) ↦ (tu,v)`. -/ |
| 75 | def normalSliceRelativeChainHomotopyEquiv : |
| 76 | HomotopyEquiv ((Singular.Cohomology.relativeChainFunctor ℚ).obj (normalSlicePair E c)) |
| 77 | ((Singular.Cohomology.relativeChainFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℂ c)) where |
| 78 | hom := (Singular.Cohomology.relativeChainFunctor ℚ).map (normalSliceProjection E c) |
| 79 | inv := (Singular.Cohomology.relativeChainFunctor ℚ).map (normalSliceSection E c) |
| 80 | homotopyHomInvId := |
| 81 | (Homotopy.ofEq ((Singular.Cohomology.relativeChainFunctor ℚ).map_comp |
| 82 | (normalSliceProjection E c) (normalSliceSection E c)).symm).trans |
| 83 | ((Singular.RelativeHomotopyInvariance.TopPair.Homotopy.relativeChainHomotopy (R := ℚ) (normalSliceContraction E c)).trans |
| 84 | (Homotopy.ofEq ((Singular.Cohomology.relativeChainFunctor ℚ).map_id (normalSlicePair E c)))) |
| 85 | homotopyInvHomId := Homotopy.ofEq (by |
| 86 | rw [← CategoryTheory.Functor.map_comp, normalSliceSection_projection, |
| 87 | CategoryTheory.Functor.map_id]) |
| 88 | |
| 89 | /-- Let `E` be a real normed vector space and `c ∈ ℕ`. Projection to the normal coordinate induces |
| 90 | this isomorphism `H_n(E × ℂ^c,E × (ℂ^c \ {0});ℚ) ≅ H_n(ℂ^c,ℂ^c \ {0};ℚ)`. Its inverse is induced |
| 91 | by `v ↦ (0,v)`. -/ |
| 92 | def normalSliceRelativeHomologyIso (n : ℕ) : |
| 93 | Singular.Cohomology.RelativeHomology ℚ (normalSlicePair E c) n ≅ |
| 94 | Singular.Cohomology.RelativeHomology ℚ (FundamentalClass.Singular.puncturedPair ℂ c) n := |
| 95 | (normalSliceRelativeChainHomotopyEquiv E c).toHomologyIso n |
| 96 | |
| 97 | include space in |
| 98 | @[simp] theorem normalSliceRelativeHomologyIso_hom (n : ℕ) : |
| 99 | (normalSliceRelativeHomologyIso E c n).hom.hom = |
| 100 | Singular.CohomologyTo.relativeHomologyMap ℚ n (normalSliceProjection E c) := rfl |
| 101 | |
| 102 | include space in |
| 103 | @[simp] theorem normalSliceRelativeHomologyIso_inv (n : ℕ) : |
| 104 | (normalSliceRelativeHomologyIso E c n).inv.hom = |
| 105 | Singular.CohomologyTo.relativeHomologyMap ℚ n (normalSliceSection E c) := rfl |
| 106 | |
| 107 | /-- Let `E` be a real normed vector space and `c ∈ ℕ`. This class in `H_{2c}(E × ℂ^c,E × (ℂ^c \ |
| 108 | {0});ℚ)` is the image under `v ↦ (0,v)` of the chosen local class in `H_{2c}(ℂ^c,ℂ^c \ {0};ℚ)`. |
| 109 | The latter is obtained from the standard real simplex class using the ordered real and imaginary |
| 110 | coordinates on `ℂ^c`. -/ |
| 111 | def normalSliceClass : Singular.Cohomology.RelativeHomology ℚ (normalSlicePair E c) (2 * c) := |
| 112 | Singular.CohomologyTo.relativeHomologyMap ℚ (2 * c) (normalSliceSection E c) (ComplexClass.Singular.standardComplexLocalClass ℚ c) |
| 113 | |
| 114 | include space in |
| 115 | @[simp] theorem normalSliceProjection_class : |
| 116 | Singular.CohomologyTo.relativeHomologyMap ℚ (2 * c) (normalSliceProjection E c) (normalSliceClass E c) = |
| 117 | ComplexClass.Singular.standardComplexLocalClass ℚ c := by |
| 118 | exact ConcreteCategory.congr_hom (normalSliceRelativeHomologyIso E c (2 * c)).inv_hom_id _ |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicTopology.LocalHomology.NormalSlicePurity.Singular |