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.RepresentationTheory.Hecke.RadialDilation.Archimedean |
| 2 | |
| 3 | /-! # Complexification -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.Complexification.Realization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Realization of the paired embedding coordinates by rational complexification. -/ |
| 12 | |
| 13 | open scoped Classical TensorProduct |
| 14 | |
| 15 | def flipFunctions (A B : Type*) : |
| 16 | (A → B → ℂ) ≃ₗ[ℂ] (B → A → ℂ) where |
| 17 | toFun f b a := f a b |
| 18 | invFun f a b := f b a |
| 19 | left_inv _ := rfl |
| 20 | right_inv _ := rfl |
| 21 | map_add' _ _ := rfl |
| 22 | map_smul' _ _ := rfl |
| 23 | |
| 24 | def pairingEmbeddings {E Place : Type*} [Field E] [Algebra ℚ E] |
| 25 | (σ : Place → E →ₐ[ℚ] ℂ) : Place × Bool → (E →ₐ[ℚ] ℂ) := |
| 26 | fun p => if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ p.1) else σ p.1 |
| 27 | |
| 28 | def pairedFunctionEquiv {E Place : Type*} [Field E] [Algebra ℚ E] |
| 29 | (σ : Place → E →ₐ[ℚ] ℂ) (hσ : Function.Bijective (pairingEmbeddings σ)) : |
| 30 | ((E →ₐ[ℚ] ℂ) → Geometry.ComplexBall.PrescribedSignsB.Vec) ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Ambient Place := by |
| 31 | let e := Equiv.ofBijective (pairingEmbeddings σ) hσ |
| 32 | refine |
| 33 | { toFun := fun f τ => (f (σ τ), f (AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ τ))) |
| 34 | invFun := fun u ρ => if (e.symm ρ).2 then (u (e.symm ρ).1).2 else (u (e.symm ρ).1).1 |
| 35 | left_inv := ?_ |
| 36 | right_inv := ?_ |
| 37 | map_add' := fun _ _ => rfl |
| 38 | map_smul' := fun _ _ => rfl } |
| 39 | · intro f |
| 40 | funext ρ |
| 41 | obtain ⟨⟨τ, b⟩, rfl⟩ := e.surjective ρ |
| 42 | dsimp only |
| 43 | rw [e.symm_apply_apply] |
| 44 | cases b <;> rfl |
| 45 | · intro u |
| 46 | funext τ |
| 47 | have hp : e.symm (σ τ) = (τ, false) := e.symm_apply_apply (τ, false) |
| 48 | have hn : e.symm (AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ τ)) = (τ, true) := e.symm_apply_apply (τ, true) |
| 49 | simp only [hp, hn, Bool.false_eq_true, ↓reduceIte] |
| 50 | |
| 51 | def pairedComplexification |
| 52 | (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 53 | {Place : Type*} (σ : Place → E →ₐ[ℚ] ℂ) |
| 54 | (hσ : Function.Bijective (pairingEmbeddings σ)) : |
| 55 | AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E) ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Ambient Place := |
| 56 | (TensorProduct.piRight ℚ ℂ ℂ (fun _ : Fin 3 => E)).trans |
| 57 | ((LinearEquiv.piCongrRight (fun _ : Fin 3 => AlgebraicGeometry.ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv E)).trans |
| 58 | ((flipFunctions (Fin 3) (E →ₐ[ℚ] ℂ)).trans (pairedFunctionEquiv σ hσ))) |
| 59 | |
| 60 | theorem pairedComplexification_tmul |
| 61 | (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 62 | {Place : Type*} (σ : Place → E →ₐ[ℚ] ℂ) |
| 63 | (hσ : Function.Bijective (pairingEmbeddings σ)) |
| 64 | (z : ℂ) (x : Fin 3 → E) : |
| 65 | pairedComplexification E σ hσ (z ⊗ₜ[ℚ] x) = z • Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ x := by |
| 66 | ext τ j <;> |
| 67 | simp [pairedComplexification, flipFunctions, pairedFunctionEquiv, |
| 68 | TensorProduct.piRightHom_tmul, Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates, smul_eq_mul] |
| 69 | |
| 70 | def rationalScalarEnd |
| 71 | (E : Type*) [Field E] [Algebra ℚ E] (r : E) : |
| 72 | (Fin 3 → E) →ₗ[ℚ] (Fin 3 → E) where |
| 73 | toFun x j := r * x j |
| 74 | map_add' x y := by ext j; simp [mul_add] |
| 75 | map_smul' a x := by ext j; simp [Algebra.smul_def, mul_left_comm] |
| 76 | |
| 77 | def pairedScalarEnd {Place : Type*} (a : Place → ℂ) : |
| 78 | Geometry.ComplexBall.PrescribedSignsB.Ambient Place →ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Ambient Place where |
| 79 | toFun u τ := Archimedean.Realization.pairedScalar (a τ) (u τ) |
| 80 | map_add' u v := by ext τ j <;> simp [Archimedean.Realization.pairedScalar, smul_add] |
| 81 | map_smul' c u := by ext τ j <;> simp [Archimedean.Realization.pairedScalar, smul_smul, mul_comm] |
| 82 | |
| 83 | /-- Rational multiplication by r becomes the computed paired central action. -/ |
| 84 | theorem scalar_complexification_identification |
| 85 | (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 86 | (r : Eˣ) |
| 87 | (hr : (r : E) * AlgebraicGeometry.ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (r : E) = 1) |
| 88 | {Place : Type*} (σ : Place → E →ₐ[ℚ] ℂ) |
| 89 | (hσ : Function.Bijective (pairingEmbeddings σ)) |
| 90 | (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E)) : |
| 91 | pairedComplexification E σ hσ ((rationalScalarEnd E (r : E)).baseChange ℂ x) = |
| 92 | pairedScalarEnd (fun τ => σ τ (r : E)) (pairedComplexification E σ hσ x) := by |
| 93 | induction x using TensorProduct.inductionOn with |
| 94 | | add x y hx hy => simp only [map_add, hx, hy] |
| 95 | | tmul z x => |
| 96 | rw [LinearMap.baseChange_tmul, pairedComplexification_tmul, |
| 97 | pairedComplexification_tmul, map_smul] |
| 98 | congr 1 |
| 99 | funext τ |
| 100 | exact Archimedean.Realization.embeddingCoordinates_scalar E r hr σ x τ |
| 101 | |
| 102 | end |
| 103 | |
| 104 | /-! A Galois field embedded in a coefficient field splits into its actual embedding coordinates. -/ |
| 105 | |
| 106 | open scoped Classical TensorProduct |
| 107 | |
| 108 | variable (E K : Type*) [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 109 | [Field K] [Algebra ℚ K] [Algebra E K] [IsScalarTower ℚ E K] |
| 110 | |
| 111 | theorem splitEmbedding_card : Fintype.card (E →ₐ[ℚ] K) = Module.finrank ℚ E := by |
| 112 | rw [← Nat.card_eq_fintype_card, Nat.card_congr (Normal.algHomEquivAut ℚ K E), |
| 113 | IsGalois.card_aut_eq_finrank] |
| 114 | |
| 115 | def splitEmbeddingBasis : Module.Basis (E →ₐ[ℚ] K) K (E →ₗ[ℚ] K) := |
| 116 | basisOfLinearIndependentOfCardEqFinrank' _ (linearIndependent_algHom_toLinearMap ℚ E K) |
| 117 | (by rw [splitEmbedding_card E K, Module.finrank_linearMap_self]) |
| 118 | |
| 119 | theorem splitEmbeddingBasis_apply (σ : E →ₐ[ℚ] K) : |
| 120 | splitEmbeddingBasis E K σ = σ.toLinearMap := by |
| 121 | simp [splitEmbeddingBasis] |
| 122 | |
| 123 | def splitDualBasis : Module.Basis (E →ₐ[ℚ] K) K (Module.Dual K (K ⊗[ℚ] E)) := |
| 124 | (splitEmbeddingBasis E K).map (LinearMap.liftBaseChangeEquiv K) |
| 125 | |
| 126 | def splitFieldBaseChange : (K ⊗[ℚ] E) ≃ₗ[K] ((E →ₐ[ℚ] K) → K) := |
| 127 | (Module.evalEquiv K (K ⊗[ℚ] E)).trans (splitDualBasis E K).dualBasis.equivFun |
| 128 | |
| 129 | theorem splitFieldBaseChange_apply (x : K ⊗[ℚ] E) (σ : E →ₐ[ℚ] K) : |
| 130 | splitFieldBaseChange E K x σ = σ.toLinearMap.liftBaseChange K x := by |
| 131 | simp [splitFieldBaseChange, Module.Basis.dualBasis_equivFun, splitDualBasis, |
| 132 | splitEmbeddingBasis_apply] |
| 133 | |
| 134 | theorem splitFieldBaseChange_tmul (z : K) (x : E) (σ : E →ₐ[ℚ] K) : |
| 135 | splitFieldBaseChange E K (z ⊗ₜ[ℚ] x) σ = z * σ x := by |
| 136 | rw [splitFieldBaseChange_apply] |
| 137 | rfl |
| 138 | |
| 139 | def splitRankThreeBaseChange : (K ⊗[ℚ] (Fin 3 → E)) ≃ₗ[K] ((E →ₐ[ℚ] K) → Fin 3 → K) := |
| 140 | (TensorProduct.piRight ℚ K K (fun _ : Fin 3 => E)).trans |
| 141 | ((LinearEquiv.piCongrRight (fun _ : Fin 3 => splitFieldBaseChange E K)).trans |
| 142 | { toFun := fun f σ i => f i σ |
| 143 | invFun := fun f i σ => f σ i |
| 144 | left_inv := fun _ => rfl |
| 145 | right_inv := fun _ => rfl |
| 146 | map_add' := fun _ _ => rfl |
| 147 | map_smul' := fun _ _ => rfl }) |
| 148 | |
| 149 | theorem splitRankThreeBaseChange_tmul (z : K) (x : Fin 3 → E) (σ : E →ₐ[ℚ] K) (i : Fin 3) : |
| 150 | splitRankThreeBaseChange E K (z ⊗ₜ[ℚ] x) σ i = z * σ (x i) := by |
| 151 | simp [splitRankThreeBaseChange, TensorProduct.piRightHom_tmul, splitFieldBaseChange_tmul] |
| 152 | |
| 153 | theorem splitRankThreeBaseChange_tmul_eq (z : K) (x : Fin 3 → E) : |
| 154 | splitRankThreeBaseChange E K (z ⊗ₜ[ℚ] x) = z • (fun σ i => σ (x i)) := by |
| 155 | funext σ i |
| 156 | exact splitRankThreeBaseChange_tmul E K z x σ i |
| 157 | |
| 158 | theorem splitRankThreeBaseChange_scalar (r : E) (x : K ⊗[ℚ] (Fin 3 → E)) (σ : E →ₐ[ℚ] K) : |
| 159 | splitRankThreeBaseChange E K ((rationalScalarEnd E r).baseChange K x) σ = |
| 160 | σ r • splitRankThreeBaseChange E K x σ := by |
| 161 | induction x using TensorProduct.inductionOn with |
| 162 | | add x y hx hy => simp only [map_add, Pi.add_apply, hx, hy, smul_add] |
| 163 | | tmul z x => |
| 164 | funext i |
| 165 | rw [LinearMap.baseChange_tmul, splitRankThreeBaseChange_tmul] |
| 166 | change z * σ (r * x i) = σ r * splitRankThreeBaseChange E K (z ⊗ₜ[ℚ] x) σ i |
| 167 | rw [splitRankThreeBaseChange_tmul, map_mul] |
| 168 | ring |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.RepresentationTheory.Hecke.RadialDilation.Complexification.Realization |