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.HodgeConjecture.HeckeCycles.Constructed.AdelicCharacter |
| 2 | import OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 3 | |
| 4 | /-! # Finite Operators -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.FiniteOperators.CM.Sections |
| 11 | |
| 12 | /-! Real and finite sections of actual adelic Schwartz functions. |
| 13 | Their membership is derived from the defining finite tensor span. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction |
| 17 | variable {I : Type*} [Fintype I] |
| 18 | |
| 19 | def join (x : I → ℝ) (y : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQ := fun i => (x i, y i) |
| 20 | |
| 21 | theorem realSection_mem (y : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (F : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQ) → ℂ) (hF : F ∈ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I) : |
| 22 | (fun x => F (join x y)) ∈ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I := by |
| 23 | induction hF using Submodule.span_induction with |
| 24 | | mem F hF => |
| 25 | obtain ⟨f, φ, rfl⟩ := hF |
| 26 | have he : (fun x => RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.pureTensor f φ (join x y)) = (φ.val y) • f.val := by |
| 27 | funext x |
| 28 | exact mul_comm (f.val x) (φ.val y) |
| 29 | rw [he] |
| 30 | exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I).smul_mem _ f.property |
| 31 | | zero => exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I).zero_mem |
| 32 | | add F G _ _ hF hG => exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I).add_mem hF hG |
| 33 | | smul c F _ hF => exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I).smul_mem c hF |
| 34 | |
| 35 | theorem finiteSection_mem (x : I → ℝ) (F : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQ) → ℂ) (hF : F ∈ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I) : |
| 36 | (fun y => F (join x y)) ∈ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I := by |
| 37 | induction hF using Submodule.span_induction with |
| 38 | | mem F hF => |
| 39 | obtain ⟨f, φ, rfl⟩ := hF |
| 40 | exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I).smul_mem (f.val x) φ.property |
| 41 | | zero => exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I).zero_mem |
| 42 | | add F G _ _ hF hG => exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I).add_mem hF hG |
| 43 | | smul c F _ hF => exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I).smul_mem c hF |
| 44 | |
| 45 | def realSection (y : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I where |
| 46 | toFun F := ⟨fun x => F.val (join x y), realSection_mem y F.val F.property⟩ |
| 47 | map_add' _ _ := rfl |
| 48 | map_smul' _ _ := rfl |
| 49 | |
| 50 | def finiteSection (x : I → ℝ) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I where |
| 51 | toFun F := ⟨fun y => F.val (join x y), finiteSection_mem x F.val F.property⟩ |
| 52 | map_add' _ _ := rfl |
| 53 | map_smul' _ _ := rfl |
| 54 | |
| 55 | theorem realSection_tensor (y : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I) (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : |
| 56 | realSection y (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ) = (φ.val y) • f := by |
| 57 | apply Subtype.ext |
| 58 | funext x |
| 59 | exact mul_comm (f.val x) (φ.val y) |
| 60 | |
| 61 | theorem finiteSection_tensor (x : I → ℝ) (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I) (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : |
| 62 | finiteSection x (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ) = (f.val x) • φ := rfl |
| 63 | |
| 64 | theorem linear_ext {M : Type*} [AddCommMonoid M] [Module ℂ M] |
| 65 | (U V : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I →ₗ[ℂ] M) |
| 66 | (h : ∀ (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I) (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I), U (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ) = V (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ)) : U = V := by |
| 67 | apply LinearMap.ext |
| 68 | intro F |
| 69 | obtain ⟨F, hF⟩ := F |
| 70 | induction hF using Submodule.span_induction with |
| 71 | | mem F hF => |
| 72 | obtain ⟨f, φ, rfl⟩ := hF |
| 73 | exact h f φ |
| 74 | | zero => exact U.map_zero.trans V.map_zero.symm |
| 75 | | add F G hF hG ihF ihG => |
| 76 | change U (⟨F, hF⟩ + ⟨G, hG⟩) = V (⟨F, hF⟩ + ⟨G, hG⟩) |
| 77 | rw [map_add, map_add, ihF, ihG] |
| 78 | | smul c F hF ih => |
| 79 | change U (c • ⟨F, hF⟩) = V (c • ⟨F, hF⟩) |
| 80 | rw [map_smul, map_smul, ih] |
| 81 | |
| 82 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.FiniteOperators.CM.Sections |
| 83 | |
| 84 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.FiniteOperators.CM |
| 85 | |
| 86 | /-! Extend an actual finite Schwartz operator to adelic Schwartz |
| 87 | functions by applying it to each finite section. -/ |
| 88 | |
| 89 | open scoped Classical |
| 90 | open OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction |
| 91 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.FiniteOperators.CM.Sections |
| 92 | variable {I : Type*} [Fintype I] |
| 93 | |
| 94 | def raw (U : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : |
| 95 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I →ₗ[ℂ] ((I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQ) → ℂ) where |
| 96 | toFun F x := (U (Sections.finiteSection (fun i => (x i).1) F)).val (fun i => (x i).2) |
| 97 | map_add' F G := by |
| 98 | funext x |
| 99 | rw [map_add, map_add] |
| 100 | rfl |
| 101 | map_smul' c F := by |
| 102 | funext x |
| 103 | rw [map_smul, map_smul] |
| 104 | rfl |
| 105 | |
| 106 | theorem raw_tensor (U : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) |
| 107 | (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I) (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : raw U (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ) = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.pureTensor f (U φ) := by |
| 108 | funext x |
| 109 | change (U (Sections.finiteSection (fun i => (x i).1) (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ))).val (fun i => (x i).2) = _ |
| 110 | rw [Sections.finiteSection_tensor, map_smul] |
| 111 | rfl |
| 112 | |
| 113 | theorem raw_mem (U : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (F : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I) : |
| 114 | raw U F ∈ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I := by |
| 115 | obtain ⟨F, hF⟩ := F |
| 116 | induction hF using Submodule.span_induction with |
| 117 | | mem F hF => |
| 118 | obtain ⟨f, φ, rfl⟩ := hF |
| 119 | change raw U (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ) ∈ _ |
| 120 | rw [raw_tensor] |
| 121 | exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f (U φ)).property |
| 122 | | zero => |
| 123 | change raw U 0 ∈ _ |
| 124 | rw [map_zero] |
| 125 | exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I).zero_mem |
| 126 | | add F G hF hG ihF ihG => |
| 127 | change raw U (⟨F, hF⟩ + ⟨G, hG⟩) ∈ _ |
| 128 | rw [map_add] |
| 129 | exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I).add_mem ihF ihG |
| 130 | | smul c F hF ih => |
| 131 | change raw U (c • ⟨F, hF⟩) ∈ _ |
| 132 | rw [map_smul] |
| 133 | exact (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I).smul_mem c ih |
| 134 | |
| 135 | def extend (U : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I := |
| 136 | (raw U).codRestrict (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I) (raw_mem U) |
| 137 | |
| 138 | theorem extend_tensor (U : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) |
| 139 | (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I) (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : extend U (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ) = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f (U φ) := |
| 140 | Subtype.ext (raw_tensor U f φ) |
| 141 | |
| 142 | theorem extend_id : extend (LinearMap.id (R := ℂ) (M := RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I)) = LinearMap.id := by |
| 143 | apply Sections.linear_ext |
| 144 | intro f φ |
| 145 | rw [extend_tensor] |
| 146 | rfl |
| 147 | |
| 148 | theorem extend_comp (U V : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : |
| 149 | extend (U.comp V) = (extend U).comp (extend V) := by |
| 150 | apply Sections.linear_ext |
| 151 | intro f φ |
| 152 | simp only [LinearMap.comp_apply, extend_tensor] |
| 153 | |
| 154 | def operator : (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) →* |
| 155 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I) where |
| 156 | toFun U := { |
| 157 | toLinearMap := extend U.toLinearMap |
| 158 | invFun := extend U.symm.toLinearMap |
| 159 | left_inv F := by |
| 160 | have h := congrArg (fun T : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I => T F) |
| 161 | (extend_comp U.symm.toLinearMap U.toLinearMap).symm |
| 162 | change extend U.symm.toLinearMap (extend U.toLinearMap F) = _ at h |
| 163 | have hi : U.symm.toLinearMap.comp U.toLinearMap = LinearMap.id := by |
| 164 | apply LinearMap.ext |
| 165 | exact U.symm_apply_apply |
| 166 | rw [hi, extend_id] at h |
| 167 | exact h |
| 168 | right_inv F := by |
| 169 | have h := congrArg (fun T : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I →ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.adelicSchwartz I => T F) |
| 170 | (extend_comp U.toLinearMap U.symm.toLinearMap).symm |
| 171 | change extend U.toLinearMap (extend U.symm.toLinearMap F) = _ at h |
| 172 | have hi : U.toLinearMap.comp U.symm.toLinearMap = LinearMap.id := by |
| 173 | apply LinearMap.ext |
| 174 | exact U.apply_symm_apply |
| 175 | rw [hi, extend_id] at h |
| 176 | exact h } |
| 177 | map_one' := by |
| 178 | apply LinearEquiv.toLinearMap_injective |
| 179 | exact extend_id |
| 180 | map_mul' U V := by |
| 181 | apply LinearEquiv.toLinearMap_injective |
| 182 | exact extend_comp U.toLinearMap V.toLinearMap |
| 183 | |
| 184 | theorem operator_tensor (U : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) |
| 185 | (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realSchwartz I) (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : operator U (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f φ) = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.tensor f (U φ) := |
| 186 | extend_tensor U.toLinearMap f φ |
| 187 | |
| 188 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.FiniteOperators.CM |
| 189 | |
| 190 | end |
| 191 | |
| 192 | end OAI |