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.PuncturedLinearHomotopy |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLinearHomotopy |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeHomologyExact |
| 4 | |
| 5 | /-! # Complex Linear Punctured Homotopy -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLinearPuncturedHomotopy.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Complex linear changes act trivially on local homology |
| 13 | |
| 14 | Every invertible complex matrix is joined to the identity through invertible |
| 15 | matrices. The induced homotopy on the punctured normal space proves equality |
| 16 | on singular homology. Naturality of the actual connecting boundary of the |
| 17 | pair then gives equality on local homology in degrees at least two. |
| 18 | |
| 19 | The result concerns the map induced by the actual linear map of pairs. It |
| 20 | does not assume that a local homology group is cyclic or choose an orientation |
| 21 | generator. General homotopy invariance for arbitrary pairs is not claimed. |
| 22 | -/ |
| 23 | |
| 24 | open _root_.CategoryTheory _root_.AlgebraicTopology |
| 25 | open scoped _root_.Matrix |
| 26 | |
| 27 | variable {n : Type} [Fintype n] |
| 28 | |
| 29 | /-- The actual continuous linear map associated to a complex matrix. -/ |
| 30 | def complexMatrixMap (A : Matrix n n ℂ) : C(n → ℂ, n → ℂ) where |
| 31 | toFun := A.mulVec |
| 32 | continuous_toFun := continuous_const.matrix_mulVec continuous_id |
| 33 | |
| 34 | @[simp] theorem complexMatrixMap_apply (A : Matrix n n ℂ) (x : n → ℂ) : |
| 35 | complexMatrixMap A x = A *ᵥ x := rfl |
| 36 | |
| 37 | variable [DecidableEq n] |
| 38 | |
| 39 | /-- Invertibility makes the linear map a map of punctured-space pairs. -/ |
| 40 | theorem complexMatrixMap_preservesPuncture (A : Matrix n n ℂ) (hA : IsUnit A) : |
| 41 | Set.MapsTo (TopCat.ofHom (complexMatrixMap A)) |
| 42 | ({0}ᶜ : Set (n → ℂ)) ({0}ᶜ : Set (n → ℂ)) := |
| 43 | fun _ hx => PuncturedLinearHomotopy.Cycles.complexMatrix_mulVec_ne_zero A hA hx |
| 44 | |
| 45 | @[simp] theorem subspaceMap_complexMatrixMap (A : Matrix n n ℂ) (hA : IsUnit A) : |
| 46 | LocalHomology.Cycles.subspaceMap (TopCat.ofHom (complexMatrixMap A)) (complexMatrixMap_preservesPuncture A hA) = |
| 47 | TopCat.ofHom (PuncturedLinearHomotopy.Cycles.complexPuncturedMap A hA) := rfl |
| 48 | |
| 49 | /-- A concrete homotopy of the punctured normal space from the identity to |
| 50 | an arbitrary invertible complex linear change of coordinates. -/ |
| 51 | def complexPuncturedHomotopy (A : Matrix n n ℂ) (hA : IsUnit A) : |
| 52 | ContinuousMap.Homotopy (ContinuousMap.id (NormalSphere.Cycles.PuncturedNormal (n → ℂ))) |
| 53 | (PuncturedLinearHomotopy.Cycles.complexPuncturedMap A hA) := |
| 54 | PuncturedLinearHomotopy.Cycles.puncturedHomotopyOfMatrixPath A hA (ComplexLinearHomotopy.Cycles.complexMatrixPath A hA) |
| 55 | (ComplexLinearHomotopy.Cycles.complexMatrixPath_isUnit A hA) |
| 56 | |
| 57 | /-- Every invertible complex linear coordinate change acts as the identity |
| 58 | on genuine singular homology of the punctured normal space. -/ |
| 59 | theorem complexPunctured_homologyMap_eq_id |
| 60 | {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 61 | (A : Matrix n n ℂ) (hA : IsUnit A) (k : ℕ) : |
| 62 | HomologicalComplex.homologyMap |
| 63 | (((singularChainComplexFunctor (ModuleCat.{0} R)).obj M).map |
| 64 | (TopCat.ofHom (PuncturedLinearHomotopy.Cycles.complexPuncturedMap A hA))) k = |
| 65 | 𝟙 ((((singularChainComplexFunctor (ModuleCat.{0} R)).obj M).obj |
| 66 | (TopCat.of (NormalSphere.Cycles.PuncturedNormal (n → ℂ)))).homology k) := |
| 67 | PuncturedLinearHomotopy.Cycles.puncturedMatrixPath_homologyMap_eq_id M A hA (ComplexLinearHomotopy.Cycles.complexMatrixPath A hA) |
| 68 | (ComplexLinearHomotopy.Cycles.complexMatrixPath_isUnit A hA) k |
| 69 | |
| 70 | /-- The map on actual local integral homology induced by an invertible |
| 71 | complex matrix, viewed as a map of the pair `(C^n, C^n \ {0})`. -/ |
| 72 | def complexMatrixLocalHomologyMap (A : Matrix n n ℂ) (hA : IsUnit A) (k : ℕ) : |
| 73 | LocalHomology.Cycles.localSingularHomology (TopCat.of (n → ℂ)) 0 k ⟶ |
| 74 | LocalHomology.Cycles.localSingularHomology (TopCat.of (n → ℂ)) 0 k := |
| 75 | LocalHomology.Cycles.relativeSingularHomologyMap (TopCat.ofHom (complexMatrixMap A)) |
| 76 | (complexMatrixMap_preservesPuncture A hA) k |
| 77 | |
| 78 | /-- In local degrees `k+1 ≥ 2`, the actual induced local map is the identity. |
| 79 | This follows from boundary naturality and the proved ambient contractibility. -/ |
| 80 | theorem complexMatrixLocalHomologyMap_succ_eq_id |
| 81 | (A : Matrix n n ℂ) (hA : IsUnit A) (k : ℕ) (hk : k ≠ 0) : |
| 82 | complexMatrixLocalHomologyMap A hA (k + 1) = |
| 83 | 𝟙 (LocalHomology.Cycles.localSingularHomology (TopCat.of (n → ℂ)) 0 (k + 1)) := by |
| 84 | let X := TopCat.of (n → ℂ) |
| 85 | let U : Set X := {0}ᶜ |
| 86 | let e := RelativeHomologyExact.Cycles.relativeHomologyBoundaryIso X U k |
| 87 | (ContractibleModel.Cycles.isZero_integralSingularHomology_of_contractible X (k + 1) (Nat.succ_ne_zero k)) |
| 88 | (ContractibleModel.Cycles.isZero_integralSingularHomology_of_contractible X k hk) |
| 89 | apply (cancel_mono e.hom).mp |
| 90 | rw [Category.id_comp] |
| 91 | change LocalHomology.Cycles.relativeSingularHomologyMap (TopCat.ofHom (complexMatrixMap A)) |
| 92 | (complexMatrixMap_preservesPuncture A hA) (k + 1) ≫ |
| 93 | RelativeHomologyExact.Cycles.relativeHomologyBoundary X U k = RelativeHomologyExact.Cycles.relativeHomologyBoundary X U k |
| 94 | have h := RelativeHomologyExact.Cycles.relativeHomologyBoundary_naturality |
| 95 | (TopCat.ofHom (complexMatrixMap A)) (complexMatrixMap_preservesPuncture A hA) k |
| 96 | rw [subspaceMap_complexMatrixMap A hA] at h |
| 97 | have hp := complexPunctured_homologyMap_eq_id (ModuleCat.of ℤ ℤ) A hA k |
| 98 | change RelativeHomologyExact.Cycles.integralSingularHomologyMap (TopCat.ofHom (PuncturedLinearHomotopy.Cycles.complexPuncturedMap A hA)) k = 𝟙 _ at hp |
| 99 | rw [hp, Category.comp_id] at h |
| 100 | exact h.symm |
| 101 | |
| 102 | /-- Degree-independent form of complex linear invariance above degree one. -/ |
| 103 | theorem complexMatrixLocalHomologyMap_eq_id |
| 104 | (A : Matrix n n ℂ) (hA : IsUnit A) (k : ℕ) (hk : 1 < k) : |
| 105 | complexMatrixLocalHomologyMap A hA k = |
| 106 | 𝟙 (LocalHomology.Cycles.localSingularHomology (TopCat.of (n → ℂ)) 0 k) := by |
| 107 | cases k with |
| 108 | | zero => exact (Nat.not_lt_zero 1 hk).elim |
| 109 | | succ k => |
| 110 | apply complexMatrixLocalHomologyMap_succ_eq_id A hA k |
| 111 | intro hzero |
| 112 | subst k |
| 113 | exact (Nat.lt_irrefl 1) hk |
| 114 | |
| 115 | /-- In positive complex dimension, complex linear coordinate changes fix |
| 116 | the entire local homology group in the real orientation degree. -/ |
| 117 | theorem complexMatrixLocalHomologyMap_orientationDegree_eq_id |
| 118 | (p : ℕ) (hp : 0 < p) (A : Matrix (Fin p) (Fin p) ℂ) (hA : IsUnit A) : |
| 119 | complexMatrixLocalHomologyMap A hA (2 * p) = |
| 120 | 𝟙 (LocalHomology.Cycles.localSingularHomology (TopCat.of (Fin p → ℂ)) 0 (2 * p)) := by |
| 121 | apply complexMatrixLocalHomologyMap_eq_id A hA (2 * p) |
| 122 | have hle : 2 ≤ 2 * p := by |
| 123 | simpa only [Nat.mul_one] using Nat.mul_le_mul_left 2 (Nat.succ_le_of_lt hp) |
| 124 | exact lt_of_lt_of_le (by decide : 1 < 2) hle |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLinearPuncturedHomotopy.Cycles |