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.Geometric.ComplexLinearPuncturedHomotopy |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainHomotopy |
| 3 | import Mathlib.LinearAlgebra.Matrix.ToLin |
| 4 | |
| 5 | /-! # Complex Linear Local Cohomology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLinearLocalCohomology.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Complex linear invariance of actual local cohomology |
| 13 | |
| 14 | The proved path of invertible complex matrices acts on the entire vector |
| 15 | space and preserves its punctured complement at every time. It therefore |
| 16 | gives a homotopy of the actual pair `(ℂ^p, ℂ^p \ {0})`. The induced pullback |
| 17 | on genuine relative singular cohomology is the identity in every degree. |
| 18 | The construction includes `p = 0` and uses no orientation or purity theorem. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainHomotopy.Cohomology |
| 23 | open scoped _root_.Matrix |
| 24 | |
| 25 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 26 | |
| 27 | /-- The actual ambient homotopy induced by the path of invertible matrices. -/ |
| 28 | def complexMatrixAmbientHomotopy (A : Matrix ι ι ℂ) (hA : IsUnit A) : |
| 29 | TopCat.Homotopy (𝟙 (TopCat.of (ι → ℂ))) |
| 30 | (TopCat.ofHom (ComplexLinearPuncturedHomotopy.Cycles.complexMatrixMap A)) where |
| 31 | toFun q := ComplexLinearHomotopy.Cycles.complexMatrixPath A hA q.1 *ᵥ q.2 |
| 32 | continuous_toFun := |
| 33 | ((ComplexLinearHomotopy.Cycles.complexMatrixPath A hA).continuous.comp continuous_fst).matrix_mulVec continuous_snd |
| 34 | map_zero_left x := by simp |
| 35 | map_one_left x := by simp [ComplexLinearPuncturedHomotopy.Cycles.complexMatrixMap] |
| 36 | |
| 37 | /-- No nonzero vector reaches the puncture during the ambient homotopy. -/ |
| 38 | theorem complexMatrixAmbientHomotopy_preservesPuncture |
| 39 | (A : Matrix ι ι ℂ) (hA : IsUnit A) (t : unitInterval) : |
| 40 | Set.MapsTo (fun x => complexMatrixAmbientHomotopy A hA (t, x)) |
| 41 | ({0}ᶜ : Set (ι → ℂ)) ({0}ᶜ : Set (ι → ℂ)) := |
| 42 | fun _ hx => PuncturedLinearHomotopy.Cycles.complexMatrix_mulVec_ne_zero _ (ComplexLinearHomotopy.Cycles.complexMatrixPath_isUnit A hA t) hx |
| 43 | |
| 44 | /-- An invertible complex matrix induces the identity on actual local |
| 45 | cohomology, with any coefficient module and in every degree. -/ |
| 46 | theorem complexMatrixLocalCohomologyMap_eq_id |
| 47 | {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 48 | (A : Matrix ι ι ℂ) (hA : IsUnit A) (n : ℕ) : |
| 49 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (TopCat.ofHom (ComplexLinearPuncturedHomotopy.Cycles.complexMatrixMap A)) |
| 50 | (ComplexLinearPuncturedHomotopy.Cycles.complexMatrixMap_preservesPuncture A hA) n = |
| 51 | 𝟙 (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (ι → ℂ)) ({0}ᶜ : Set (ι → ℂ)) n) := by |
| 52 | have h := RelativeCochainHomotopy.Cohomology.relativeSingularCohomologyMap_eq_of_homotopy M |
| 53 | (A := ({0}ᶜ : Set (ι → ℂ))) (B := ({0}ᶜ : Set (ι → ℂ))) |
| 54 | (fun _ hx => hx) (ComplexLinearPuncturedHomotopy.Cycles.complexMatrixMap_preservesPuncture A hA) |
| 55 | (complexMatrixAmbientHomotopy A hA) |
| 56 | (complexMatrixAmbientHomotopy_preservesPuncture A hA) n |
| 57 | simpa only [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id] using h.symm |
| 58 | |
| 59 | private theorem complexLinearMatrix_isUnit {p : ℕ} |
| 60 | (L : (Fin p → ℂ) ≃L[ℂ] (Fin p → ℂ)) : |
| 61 | IsUnit (LinearMap.toMatrix' L.toLinearEquiv.toLinearMap) := |
| 62 | LinearMap.isUnit_toMatrix'_iff.mpr ((Module.End.isUnit_iff _).mpr L.bijective) |
| 63 | |
| 64 | /-- The ambient homotopy ends at the given continuous complex-linear map |
| 65 | itself, using its actual matrix in the standard coordinates. -/ |
| 66 | def complexLinearAmbientHomotopy {p : ℕ} |
| 67 | (L : (Fin p → ℂ) ≃L[ℂ] (Fin p → ℂ)) : |
| 68 | TopCat.Homotopy (𝟙 (TopCat.of (Fin p → ℂ))) |
| 69 | (TopCat.isoOfHomeo (X := TopCat.of (Fin p → ℂ)) |
| 70 | (Y := TopCat.of (Fin p → ℂ)) L.toHomeomorph).hom := |
| 71 | (complexMatrixAmbientHomotopy (LinearMap.toMatrix' L.toLinearEquiv.toLinearMap) |
| 72 | (complexLinearMatrix_isUnit L)).cast rfl (by |
| 73 | apply ContinuousMap.ext |
| 74 | intro x |
| 75 | exact LinearMap.toMatrix'_mulVec L.toLinearEquiv.toLinearMap x) |
| 76 | |
| 77 | theorem complexLinearAmbientHomotopy_preservesPuncture {p : ℕ} |
| 78 | (L : (Fin p → ℂ) ≃L[ℂ] (Fin p → ℂ)) (t : unitInterval) : |
| 79 | Set.MapsTo (fun x => complexLinearAmbientHomotopy L (t, x)) |
| 80 | ({0}ᶜ : Set (Fin p → ℂ)) ({0}ᶜ : Set (Fin p → ℂ)) := |
| 81 | complexMatrixAmbientHomotopy_preservesPuncture |
| 82 | (LinearMap.toMatrix' L.toLinearEquiv.toLinearMap) (complexLinearMatrix_isUnit L) t |
| 83 | |
| 84 | /-- The identity theorem for the pullback induced by the actual continuous |
| 85 | complex-linear equivalence, with arbitrary coefficients. -/ |
| 86 | theorem complexLinearLocalCohomologyMap_eq_id_withCoefficients |
| 87 | {R : Type} [Ring R] (M : ModuleCat.{0} R) {p : ℕ} |
| 88 | (L : (Fin p → ℂ) ≃L[ℂ] (Fin p → ℂ)) |
| 89 | (hL : Set.MapsTo L |
| 90 | ({0}ᶜ : Set (Fin p → ℂ)) ({0}ᶜ : Set (Fin p → ℂ))) (n : ℕ) : |
| 91 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M |
| 92 | (X := TopCat.of (Fin p → ℂ)) (Y := TopCat.of (Fin p → ℂ)) |
| 93 | (A := ({0}ᶜ : Set (Fin p → ℂ))) (B := ({0}ᶜ : Set (Fin p → ℂ))) |
| 94 | (TopCat.isoOfHomeo (X := TopCat.of (Fin p → ℂ)) |
| 95 | (Y := TopCat.of (Fin p → ℂ)) L.toHomeomorph).hom hL n = |
| 96 | 𝟙 (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (Fin p → ℂ)) |
| 97 | ({0}ᶜ : Set (Fin p → ℂ)) n) := by |
| 98 | have h := RelativeCochainHomotopy.Cohomology.relativeSingularCohomologyMap_eq_of_homotopy M |
| 99 | (X := TopCat.of (Fin p → ℂ)) (Y := TopCat.of (Fin p → ℂ)) |
| 100 | (f := 𝟙 (TopCat.of (Fin p → ℂ))) |
| 101 | (g := (TopCat.isoOfHomeo (X := TopCat.of (Fin p → ℂ)) |
| 102 | (Y := TopCat.of (Fin p → ℂ)) L.toHomeomorph).hom) |
| 103 | (A := ({0}ᶜ : Set (Fin p → ℂ))) (B := ({0}ᶜ : Set (Fin p → ℂ))) |
| 104 | (fun _ hx => hx) hL (complexLinearAmbientHomotopy L) |
| 105 | (complexLinearAmbientHomotopy_preservesPuncture L) n |
| 106 | simpa only [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id] using h.symm |
| 107 | |
| 108 | /-- In every degree, including in complex dimension zero, the actual rational |
| 109 | local cohomology pullback of an invertible complex-linear map is the identity. -/ |
| 110 | theorem complexLinearLocalCohomologyMap_eq_id {p : ℕ} |
| 111 | (L : (Fin p → ℂ) ≃L[ℂ] (Fin p → ℂ)) |
| 112 | (hL : Set.MapsTo L |
| 113 | ({0}ᶜ : Set (Fin p → ℂ)) ({0}ᶜ : Set (Fin p → ℂ))) (n : ℕ) : |
| 114 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 115 | (X := TopCat.of (Fin p → ℂ)) (Y := TopCat.of (Fin p → ℂ)) |
| 116 | (A := ({0}ᶜ : Set (Fin p → ℂ))) (B := ({0}ᶜ : Set (Fin p → ℂ))) |
| 117 | (TopCat.isoOfHomeo (X := TopCat.of (Fin p → ℂ)) |
| 118 | (Y := TopCat.of (Fin p → ℂ)) L.toHomeomorph).hom hL n = |
| 119 | 𝟙 (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (Fin p → ℂ)) |
| 120 | ({0}ᶜ : Set (Fin p → ℂ)) n) := |
| 121 | complexLinearLocalCohomologyMap_eq_id_withCoefficients (ModuleCat.of ℚ ℚ) L hL n |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLinearLocalCohomology.Cycles |