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 Mathlib.LinearAlgebra.Complex.FiniteDimensional |
| 2 | import Mathlib.LinearAlgebra.Dimension.RankNullity |
| 3 | import Mathlib.LinearAlgebra.Dimension.DivisionRing |
| 4 | import Mathlib.LinearAlgebra.Isomorphisms |
| 5 | import Mathlib.LinearAlgebra.Prod |
| 6 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexOrientation |
| 7 | |
| 8 | /-! # Complex Normal Eq -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexNormalEq.Cycles |
| 11 | |
| 12 | /-! |
| 13 | # Linear normal spaces of complex coordinate submanifolds |
| 14 | |
| 15 | These are concrete local linear models for normal directions to a smooth |
| 16 | complex submanifold. The normal space is the actual quotient of the ambient |
| 17 | complex vector space by its tangent subspace. No cycle class or Thom class is |
| 18 | postulated here. |
| 19 | -/ |
| 20 | |
| 21 | variable {V W U : Type*} |
| 22 | variable [AddCommGroup V] [Module ℂ V] |
| 23 | variable [AddCommGroup W] [Module ℂ W] |
| 24 | variable [AddCommGroup U] [Module ℂ U] |
| 25 | |
| 26 | /-- The complex linear normal space to a complex subspace. -/ |
| 27 | abbrev ComplexNormal (S : Submodule ℂ V) := V ⧸ S |
| 28 | |
| 29 | /-- Normal vectors are ambient vectors modulo the tangent subspace. -/ |
| 30 | abbrev normalProjection (S : Submodule ℂ V) : V →ₗ[ℂ] ComplexNormal S := S.mkQ |
| 31 | |
| 32 | @[simp] |
| 33 | theorem normalProjection_eq_zero (S : Submodule ℂ V) (v : V) : |
| 34 | normalProjection S v = 0 ↔ v ∈ S := by |
| 35 | exact Submodule.Quotient.mk_eq_zero S |
| 36 | |
| 37 | /-- An ambient complex coordinate change carrying tangent spaces to tangent |
| 38 | spaces induces a complex linear change of normal coordinates. -/ |
| 39 | def complexNormalEquiv (S : Submodule ℂ V) (T : Submodule ℂ W) |
| 40 | (e : V ≃ₗ[ℂ] W) (he : S.map e.toLinearMap = T) : |
| 41 | ComplexNormal S ≃ₗ[ℂ] ComplexNormal T := |
| 42 | Submodule.Quotient.equiv S T e he |
| 43 | |
| 44 | @[simp] |
| 45 | theorem complexNormalEquiv_projection (S : Submodule ℂ V) (T : Submodule ℂ W) |
| 46 | (e : V ≃ₗ[ℂ] W) (he : S.map e.toLinearMap = T) (v : V) : |
| 47 | complexNormalEquiv S T e he (normalProjection S v) = normalProjection T (e v) := by |
| 48 | rfl |
| 49 | |
| 50 | theorem complexNormalEquiv_trans (S : Submodule ℂ V) (T : Submodule ℂ W) |
| 51 | (R : Submodule ℂ U) (e : V ≃ₗ[ℂ] W) (f : W ≃ₗ[ℂ] U) |
| 52 | (he : S.map e.toLinearMap = T) (hf : T.map f.toLinearMap = R) |
| 53 | (hef : S.map (e.trans f).toLinearMap = R) : |
| 54 | complexNormalEquiv S R (e.trans f) hef = |
| 55 | (complexNormalEquiv S T e he).trans (complexNormalEquiv T R f hf) := by |
| 56 | exact Submodule.Quotient.equiv_trans S T R e f he hf hef |
| 57 | |
| 58 | /-- The real linear normal quotient agrees with restriction of scalars of the |
| 59 | complex normal quotient. -/ |
| 60 | def realNormalEquiv (S : Submodule ℂ V) : |
| 61 | (V ⧸ S.restrictScalars ℝ) ≃ₗ[ℝ] ComplexNormal S := |
| 62 | Submodule.Quotient.restrictScalarsEquiv ℝ S |
| 63 | |
| 64 | @[simp] |
| 65 | theorem realNormalEquiv_projection (S : Submodule ℂ V) (v : V) : |
| 66 | realNormalEquiv S ((S.restrictScalars ℝ).mkQ v) = normalProjection S v := by |
| 67 | rfl |
| 68 | |
| 69 | theorem complexNormal_finrank [FiniteDimensional ℂ V] (S : Submodule ℂ V) : |
| 70 | Module.finrank ℂ (ComplexNormal S) = Module.finrank ℂ V - Module.finrank ℂ S := by |
| 71 | exact S.finrank_quotient |
| 72 | |
| 73 | /-- A complex normal space of dimension `p` has real dimension `2 * p`. -/ |
| 74 | theorem complexNormal_real_finrank (S : Submodule ℂ V) : |
| 75 | Module.finrank ℝ (ComplexNormal S) = 2 * Module.finrank ℂ (ComplexNormal S) := by |
| 76 | exact finrank_real_of_complex (ComplexNormal S) |
| 77 | |
| 78 | theorem realNormal_finrank [FiniteDimensional ℂ V] (S : Submodule ℂ V) : |
| 79 | Module.finrank ℝ (V ⧸ S.restrictScalars ℝ) = |
| 80 | 2 * (Module.finrank ℂ V - Module.finrank ℂ S) := by |
| 81 | rw [(realNormalEquiv S).finrank_eq, complexNormal_real_finrank, complexNormal_finrank] |
| 82 | |
| 83 | theorem complexNormal_finrank_invariant (S : Submodule ℂ V) (T : Submodule ℂ W) |
| 84 | (e : V ≃ₗ[ℂ] W) (he : S.map e.toLinearMap = T) : |
| 85 | Module.finrank ℂ (ComplexNormal S) = Module.finrank ℂ (ComplexNormal T) := |
| 86 | (complexNormalEquiv S T e he).finrank_eq |
| 87 | |
| 88 | /-- A complex coordinate change preserving the tangent space induces a |
| 89 | positive real determinant on the normal space. -/ |
| 90 | theorem complexNormalEquiv_realDet_pos (S : Submodule ℂ V) |
| 91 | (e : V ≃ₗ[ℂ] V) (he : S.map e.toLinearMap = S) : |
| 92 | 0 < LinearMap.det (((complexNormalEquiv S S e he).restrictScalars ℝ).toLinearMap) := by |
| 93 | exact ComplexOrientation.complexLinearEquiv_realDet_pos (complexNormalEquiv S S e he) |
| 94 | |
| 95 | /-- The canonical complex orientation of the normal quotient, expressed using |
| 96 | its finite complex basis. Independence of that basis is proved below. -/ |
| 97 | noncomputable def complexNormalOrientation [FiniteDimensional ℂ V] (S : Submodule ℂ V) : |
| 98 | Orientation ℝ (ComplexNormal S) |
| 99 | (Fin (Module.finrank ℂ (ComplexNormal S)) × Fin 2) := |
| 100 | ComplexOrientation.complexOrientationOfBasis (Module.finBasis ℂ (ComplexNormal S)) |
| 101 | |
| 102 | theorem complexNormalOrientation_eq_basis [FiniteDimensional ℂ V] (S : Submodule ℂ V) |
| 103 | (b : Module.Basis (Fin (Module.finrank ℂ (ComplexNormal S))) ℂ (ComplexNormal S)) : |
| 104 | complexNormalOrientation S = ComplexOrientation.complexOrientationOfBasis b := by |
| 105 | exact ComplexOrientation.complexOrientationOfBasis_eq (Module.finBasis ℂ (ComplexNormal S)) b |
| 106 | |
| 107 | /-- The quotient orientation is preserved by every ambient complex linear |
| 108 | coordinate change preserving the tangent subspace. -/ |
| 109 | theorem complexNormalEquiv_preserves_orientation [FiniteDimensional ℂ V] |
| 110 | (S : Submodule ℂ V) (e : V ≃ₗ[ℂ] V) (he : S.map e.toLinearMap = S) : |
| 111 | Orientation.map (Fin (Module.finrank ℂ (ComplexNormal S)) × Fin 2) |
| 112 | ((complexNormalEquiv S S e he).restrictScalars ℝ) (complexNormalOrientation S) = |
| 113 | complexNormalOrientation S := by |
| 114 | exact ComplexOrientation.complexLinearEquiv_preserves_realBasis_orientation |
| 115 | (ComplexOrientation.complexRealBasis (Module.finBasis ℂ (ComplexNormal S))) (complexNormalEquiv S S e he) |
| 116 | |
| 117 | /-- In local product coordinates, the coordinate submanifold has zero normal |
| 118 | coordinate. -/ |
| 119 | def coordinateTangent (n p : ℕ) : |
| 120 | Submodule ℂ ((Fin n → ℂ) × (Fin p → ℂ)) := |
| 121 | LinearMap.ker (LinearMap.snd ℂ (Fin n → ℂ) (Fin p → ℂ)) |
| 122 | |
| 123 | @[simp] |
| 124 | theorem mem_coordinateTangent (n p : ℕ) (x : (Fin n → ℂ) × (Fin p → ℂ)) : |
| 125 | x ∈ coordinateTangent n p ↔ x.2 = 0 := by |
| 126 | rfl |
| 127 | |
| 128 | /-- The quotient normal space to a coordinate `n`-plane in `ℂⁿ × ℂᵖ` |
| 129 | is precisely the displayed `ℂᵖ` factor. -/ |
| 130 | noncomputable def coordinateNormalEquiv (n p : ℕ) : |
| 131 | ComplexNormal (coordinateTangent n p) ≃ₗ[ℂ] (Fin p → ℂ) := |
| 132 | (LinearMap.snd ℂ (Fin n → ℂ) (Fin p → ℂ)).quotKerEquivOfSurjective |
| 133 | (fun y => ⟨(0, y), rfl⟩) |
| 134 | |
| 135 | @[simp] |
| 136 | theorem coordinateNormalEquiv_projection (n p : ℕ) |
| 137 | (x : (Fin n → ℂ) × (Fin p → ℂ)) : |
| 138 | coordinateNormalEquiv n p (normalProjection (coordinateTangent n p) x) = x.2 := by |
| 139 | exact LinearMap.quotKerEquivOfSurjective_apply_mk _ _ _ |
| 140 | |
| 141 | @[simp] |
| 142 | theorem coordinateNormal_complex_finrank (n p : ℕ) : |
| 143 | Module.finrank ℂ (ComplexNormal (coordinateTangent n p)) = p := by |
| 144 | rw [(coordinateNormalEquiv n p).finrank_eq] |
| 145 | simp |
| 146 | |
| 147 | @[simp] |
| 148 | theorem coordinateNormal_real_finrank (n p : ℕ) : |
| 149 | Module.finrank ℝ (ComplexNormal (coordinateTangent n p)) = 2 * p := by |
| 150 | rw [complexNormal_real_finrank, coordinateNormal_complex_finrank] |
| 151 | |
| 152 | end OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexNormalEq.Cycles |