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.Analysis.DifferentialForms.Manifold.Basic |
| 2 | import Mathlib.Analysis.Normed.Module.Alternating.Basic |
| 3 | import Mathlib.Analysis.Normed.Operator.Mul |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | import Mathlib.Tactic.Ring |
| 6 | |
| 7 | /-! # Bidegree -/ |
| 8 | |
| 9 | namespace OAI.Analysis.DifferentialForms.Manifold.Bidegree |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | Pure bidegree for actual complex-valued real alternating covectors. |
| 15 | |
| 16 | The defining condition is the eigencharacter for pullback by multiplication |
| 17 | on a complex vector space. Its inverse-scalar formulation is the covector |
| 18 | action in the official Hodge statement. This file does not posit a Hodge |
| 19 | decomposition or any geometric comparison theorem. |
| 20 | -/ |
| 21 | |
| 22 | open scoped ContDiff |
| 23 | |
| 24 | variable (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 26 | |
| 27 | /-- Simultaneous complex scalar pullback on all the real tangent arguments. -/ |
| 28 | def scalarCovectorPullback (n : ℕ) (z : ℂ) : |
| 29 | (E [⋀^Fin n]→L[ℝ] ℂ) →ₗ[ℂ] (E [⋀^Fin n]→L[ℝ] ℂ) where |
| 30 | toFun form := form.compContinuousLinearMap (ContinuousLinearMap.lsmul ℝ ℂ z) |
| 31 | map_add' form η := by ext v; rfl |
| 32 | map_smul' c form := by ext v; rfl |
| 33 | |
| 34 | @[simp] |
| 35 | theorem scalarCovectorPullback_apply (n : ℕ) (z : ℂ) |
| 36 | (form : E [⋀^Fin n]→L[ℝ] ℂ) (v : Fin n → E) : |
| 37 | scalarCovectorPullback E n z form v = form (fun i => z • v i) := rfl |
| 38 | |
| 39 | @[simp] |
| 40 | theorem scalarCovectorPullback_one (n : ℕ) (form : E [⋀^Fin n]→L[ℝ] ℂ) : |
| 41 | scalarCovectorPullback E n 1 form = form := by |
| 42 | ext v |
| 43 | simp |
| 44 | |
| 45 | theorem scalarCovectorPullback_mul (n : ℕ) (z w : ℂ) |
| 46 | (form : E [⋀^Fin n]→L[ℝ] ℂ) : |
| 47 | scalarCovectorPullback E n (z * w) form = |
| 48 | scalarCovectorPullback E n w (scalarCovectorPullback E n z form) := by |
| 49 | ext v |
| 50 | simp only [scalarCovectorPullback_apply, mul_smul] |
| 51 | |
| 52 | /-- The direct pullback character for bidegree `(p,q)`. -/ |
| 53 | def bidegreeCharacter (p q : ℕ) (z : ℂˣ) : ℂ := |
| 54 | (z : ℂ) ^ p * (star (z : ℂ)) ^ q |
| 55 | |
| 56 | @[simp] |
| 57 | theorem bidegreeCharacter_one (p q : ℕ) : bidegreeCharacter p q 1 = 1 := by |
| 58 | simp [bidegreeCharacter] |
| 59 | |
| 60 | theorem bidegreeCharacter_mul (p q : ℕ) (z w : ℂˣ) : |
| 61 | bidegreeCharacter p q (z * w) = |
| 62 | bidegreeCharacter p q z * bidegreeCharacter p q w := by |
| 63 | simp only [bidegreeCharacter, Units.val_mul, star_mul, mul_pow] |
| 64 | ring |
| 65 | |
| 66 | /-- Inverse scalar pullback has the negative powers in the official convention. -/ |
| 67 | theorem bidegreeCharacter_inv (p q : ℕ) (z : ℂˣ) : |
| 68 | bidegreeCharacter p q z⁻¹ = |
| 69 | ((z : ℂ) ^ p)⁻¹ * ((star (z : ℂ)) ^ q)⁻¹ := by |
| 70 | simp [bidegreeCharacter, inv_pow] |
| 71 | |
| 72 | /-- A pure `(p,q)` covector, defined by the complex-scalar pullback character. -/ |
| 73 | def HasBidegree (p q : ℕ) (form : E [⋀^Fin (p + q)]→L[ℝ] ℂ) : Prop := |
| 74 | ∀ (z : ℂˣ) (v : Fin (p + q) → E), |
| 75 | form (fun i => (z : ℂ) • v i) = bidegreeCharacter p q z * form v |
| 76 | |
| 77 | /-- Pure covectors form a complex-linear subspace of real alternating covectors. -/ |
| 78 | def pureBidegreeSubmodule (p q : ℕ) : |
| 79 | Submodule ℂ (E [⋀^Fin (p + q)]→L[ℝ] ℂ) where |
| 80 | carrier := HasBidegree E p q |
| 81 | zero_mem' := by intro z v; simp |
| 82 | add_mem' := by |
| 83 | intro form η hform hη z v |
| 84 | change form (fun i => (z : ℂ) • v i) + η (fun i => (z : ℂ) • v i) = |
| 85 | bidegreeCharacter p q z * (form v + η v) |
| 86 | rw [hform z v, hη z v, mul_add] |
| 87 | smul_mem' := by |
| 88 | intro c form hform z v |
| 89 | change c * form (fun i => (z : ℂ) • v i) = |
| 90 | bidegreeCharacter p q z * (c * form v) |
| 91 | rw [hform z v] |
| 92 | ring |
| 93 | |
| 94 | omit [IsScalarTower ℝ ℂ E] in |
| 95 | @[simp] |
| 96 | theorem mem_pureBidegreeSubmodule (p q : ℕ) |
| 97 | (form : E [⋀^Fin (p + q)]→L[ℝ] ℂ) : |
| 98 | form ∈ pureBidegreeSubmodule E p q ↔ HasBidegree E p q form := Iff.rfl |
| 99 | |
| 100 | /-- Equivalence with the negative-character covector convention in the PDF. -/ |
| 101 | theorem hasBidegree_iff_inverse_pullback (p q : ℕ) |
| 102 | (form : E [⋀^Fin (p + q)]→L[ℝ] ℂ) : |
| 103 | HasBidegree E p q form ↔ ∀ z : ℂˣ, |
| 104 | scalarCovectorPullback E (p + q) (↑(z⁻¹) : ℂ) form = |
| 105 | (((z : ℂ) ^ p)⁻¹ * ((star (z : ℂ)) ^ q)⁻¹) • form := by |
| 106 | constructor |
| 107 | · intro h z |
| 108 | ext v |
| 109 | simpa only [scalarCovectorPullback_apply, ContinuousAlternatingMap.smul_apply, |
| 110 | smul_eq_mul, bidegreeCharacter_inv] using h z⁻¹ v |
| 111 | · intro h z v |
| 112 | have hz := congrArg (fun η : E [⋀^Fin (p + q)]→L[ℝ] ℂ => η v) (h z⁻¹) |
| 113 | simpa [scalarCovectorPullback_apply, bidegreeCharacter] using hz |
| 114 | |
| 115 | omit [IsScalarTower ℝ ℂ E] in |
| 116 | /-- Every degree-zero alternating covector is of bidegree `(0,0)`. -/ |
| 117 | theorem hasBidegree_zero (form : E [⋀^Fin (0 + 0)]→L[ℝ] ℂ) : |
| 118 | HasBidegree E 0 0 form := by |
| 119 | intro z v |
| 120 | have hv : (fun i => (z : ℂ) • v i) = v := by |
| 121 | funext i |
| 122 | exact Fin.elim0 i |
| 123 | simp [hv, bidegreeCharacter] |
| 124 | |
| 125 | /-- A complex-linear functional viewed as a complex-valued real one-form. -/ |
| 126 | def complexLinearCovector (f : E →L[ℂ] ℂ) : E [⋀^Fin 1]→L[ℝ] ℂ := |
| 127 | ContinuousAlternatingMap.ofSubsingleton ℝ E ℂ (0 : Fin 1) (f.restrictScalars ℝ) |
| 128 | |
| 129 | @[simp] |
| 130 | theorem complexLinearCovector_apply (f : E →L[ℂ] ℂ) (v : Fin 1 → E) : |
| 131 | complexLinearCovector E f v = f (v 0) := rfl |
| 132 | |
| 133 | /-- In particular, differentials of complex-linear coordinates have type `(1,0)`. -/ |
| 134 | theorem complexLinearCovector_hasBidegree (f : E →L[ℂ] ℂ) : |
| 135 | HasBidegree E 1 0 (complexLinearCovector E f) := by |
| 136 | intro z v |
| 137 | simp [bidegreeCharacter] |
| 138 | |
| 139 | /-- The conjugate of a complex-linear coordinate functional. -/ |
| 140 | def conjugateLinearCovector (f : E →L[ℂ] ℂ) : E [⋀^Fin 1]→L[ℝ] ℂ := |
| 141 | Complex.conjCLE.toContinuousLinearMap.compContinuousAlternatingMap |
| 142 | (complexLinearCovector E f) |
| 143 | |
| 144 | @[simp] |
| 145 | theorem conjugateLinearCovector_apply (f : E →L[ℂ] ℂ) (v : Fin 1 → E) : |
| 146 | conjugateLinearCovector E f v = star (f (v 0)) := rfl |
| 147 | |
| 148 | /-- Conjugate coordinate differentials have type `(0,1)`. -/ |
| 149 | theorem conjugateLinearCovector_hasBidegree (f : E →L[ℂ] ℂ) : |
| 150 | HasBidegree E 0 1 (conjugateLinearCovector E f) := by |
| 151 | intro z v |
| 152 | simp [bidegreeCharacter, star_mul, mul_comm] |
| 153 | |
| 154 | omit [IsScalarTower ℝ ℂ E] in |
| 155 | /-- Smooth pure forms are precisely the smooth sections with pure values. -/ |
| 156 | def pureSmoothFormSubmodule (p q : ℕ) : Submodule ℂ (Manifold.Basic.SmoothForm E (p + q)) := |
| 157 | ⨅ x : E, (pureBidegreeSubmodule E p q).comap (Manifold.Basic.SmoothForm.eval x) |
| 158 | |
| 159 | omit [IsScalarTower ℝ ℂ E] in |
| 160 | @[simp] |
| 161 | theorem mem_pureSmoothFormSubmodule (p q : ℕ) (form : Manifold.Basic.SmoothForm E (p + q)) : |
| 162 | form ∈ pureSmoothFormSubmodule E p q ↔ ∀ x : E, HasBidegree E p q (form x) := by |
| 163 | simp [pureSmoothFormSubmodule] |
| 164 | |
| 165 | omit [IsScalarTower ℝ ℂ E] in |
| 166 | /-- A smooth pure-type form, as an actual submodule of smooth real forms. -/ |
| 167 | abbrev PureSmoothForm (p q : ℕ) := ↥(pureSmoothFormSubmodule E p q) |
| 168 | |
| 169 | namespace PureSmoothForm |
| 170 | |
| 171 | variable {E} {p q : ℕ} |
| 172 | |
| 173 | omit [IsScalarTower ℝ ℂ E] in |
| 174 | instance : CoeFun (PureSmoothForm E p q) (fun _ => Manifold.Basic.RawForm E (p + q)) := |
| 175 | ⟨fun form => form.1⟩ |
| 176 | |
| 177 | omit [IsScalarTower ℝ ℂ E] in |
| 178 | theorem smooth (form : PureSmoothForm E p q) : ContDiff ℝ ∞ (form : Manifold.Basic.RawForm E (p + q)) := |
| 179 | form.1.smooth |
| 180 | |
| 181 | omit [IsScalarTower ℝ ℂ E] in |
| 182 | theorem hasBidegree (form : PureSmoothForm E p q) (x : E) : |
| 183 | HasBidegree E p q (form x) := |
| 184 | (mem_pureSmoothFormSubmodule E p q form.1).mp form.2 x |
| 185 | |
| 186 | end PureSmoothForm |
| 187 | |
| 188 | omit [IsScalarTower ℝ ℂ E] in |
| 189 | /-- Any pure covector defines a constant smooth pure form. -/ |
| 190 | def constantPureSmoothForm (p q : ℕ) (form : pureBidegreeSubmodule E p q) : |
| 191 | PureSmoothForm E p q := |
| 192 | ⟨Manifold.Basic.SmoothForm.ofSmooth (fun _ : E => form.1) contDiff_const, |
| 193 | (mem_pureSmoothFormSubmodule E p q _).mpr (fun _ => form.2)⟩ |
| 194 | |
| 195 | omit [IsScalarTower ℝ ℂ E] in |
| 196 | @[simp] |
| 197 | theorem constantPureSmoothForm_apply (p q : ℕ) (form : pureBidegreeSubmodule E p q) |
| 198 | (x : E) : constantPureSmoothForm E p q form x = form.1 := rfl |
| 199 | |
| 200 | end |
| 201 | |
| 202 | end OAI.Analysis.DifferentialForms.Manifold.Bidegree |