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.ComplexMultiplication.EmbeddingDecomposition |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Pi |
| 3 | |
| 4 | /-! # Rank Three Embedding Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RankThreeEmbeddingCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual complexification of an E-module marked by E cubed splits |
| 13 | into one three-dimensional coordinate block for every embedding. -/ |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.ComplexMultiplication.EmbeddingDecomposition.CM |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 19 | |
| 20 | def embeddingCoordinateFlip : ((Fin 3) → (E →ₐ[ℚ] ℂ) → ℂ) ≃ₗ[ℂ] ((E →ₐ[ℚ] ℂ) → Fin 3 → ℂ) where |
| 21 | toFun f σ i := f i σ |
| 22 | invFun f i σ := f σ i |
| 23 | left_inv _ := rfl |
| 24 | right_inv _ := rfl |
| 25 | map_add' _ _ := rfl |
| 26 | map_smul' _ _ := rfl |
| 27 | |
| 28 | def standardRankThreeComplexCoordinates : |
| 29 | ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E) ≃ₗ[ℂ] ((E →ₐ[ℚ] ℂ) → Fin 3 → ℂ) := |
| 30 | (TensorProduct.piRight ℚ ℂ ℂ (fun _ : Fin 3 => E)).trans |
| 31 | ((LinearEquiv.piCongrRight (fun _ : Fin 3 => ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv E)).trans |
| 32 | (embeddingCoordinateFlip E)) |
| 33 | |
| 34 | theorem standardRankThreeComplexCoordinates_tmul (z : ℂ) (x : Fin 3 → E) |
| 35 | (σ : E →ₐ[ℚ] ℂ) (i : Fin 3) : |
| 36 | standardRankThreeComplexCoordinates E (z ⊗ₜ[ℚ] x) σ i = z * σ (x i) := by |
| 37 | simp [standardRankThreeComplexCoordinates, embeddingCoordinateFlip, TensorProduct.piRightHom_tmul] |
| 38 | |
| 39 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] [Module E U] [IsScalarTower ℚ E U] |
| 40 | |
| 41 | def rankThreeComplexCoordinates (e : U ≃ₗ[E] (Fin 3 → E)) : |
| 42 | ComplexMultiplication.WeightOne.CM.Complexification U ≃ₗ[ℂ] ((E →ₐ[ℚ] ℂ) → Fin 3 → ℂ) := |
| 43 | ((e.restrictScalars ℚ).baseChange ℚ ℂ U (Fin 3 → E)).trans (standardRankThreeComplexCoordinates E) |
| 44 | |
| 45 | theorem rankThreeComplexCoordinates_tmul (e : U ≃ₗ[E] (Fin 3 → E)) |
| 46 | (z : ℂ) (u : U) (σ : E →ₐ[ℚ] ℂ) (i : Fin 3) : |
| 47 | rankThreeComplexCoordinates E e (z ⊗ₜ[ℚ] u) σ i = z * σ (e u i) := |
| 48 | standardRankThreeComplexCoordinates_tmul E z (e u) σ i |
| 49 | |
| 50 | theorem rankThreeComplexCoordinates_scalar (e : U ≃ₗ[E] (Fin 3 → E)) |
| 51 | (a : E) (u : ComplexMultiplication.WeightOne.CM.Complexification U) (σ : E →ₐ[ℚ] ℂ) (i : Fin 3) : |
| 52 | rankThreeComplexCoordinates E e ((ComplexMultiplication.WeightOne.CM.scalarEndomorphism E a).baseChange ℂ u) σ i = |
| 53 | σ a * rankThreeComplexCoordinates E e u σ i := by |
| 54 | induction u using TensorProduct.inductionOn with |
| 55 | | add u v hu hv => simp only [map_add, Pi.add_apply, hu, hv, mul_add] |
| 56 | | tmul z u => |
| 57 | rw [LinearMap.baseChange_tmul, rankThreeComplexCoordinates_tmul, rankThreeComplexCoordinates_tmul] |
| 58 | change z * σ (e (a • u) i) = _ |
| 59 | rw [e.map_smul] |
| 60 | change z * σ (a * e u i) = _ |
| 61 | rw [map_mul] |
| 62 | ring |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! Each simultaneous embedding eigenspace in the complexification of |
| 67 | an actual rank-three E-module is exactly its three-coordinate block. -/ |
| 68 | |
| 69 | open OAI.AlgebraicGeometry.ComplexMultiplication.EmbeddingDecomposition.CM |
| 70 | open scoped TensorProduct |
| 71 | |
| 72 | variable (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 73 | {U : Type*} [AddCommGroup U] [Module ℚ U] [Module E U] [IsScalarTower ℚ E U] |
| 74 | (e : U ≃ₗ[E] (Fin 3 → E)) |
| 75 | |
| 76 | theorem rankThreeEmbedding_coordinate_zero (σ τ : E →ₐ[ℚ] ℂ) (hne : τ ≠ σ) |
| 77 | {u : ComplexMultiplication.WeightOne.CM.Complexification U} (hu : u ∈ ComplexMultiplication.EmbeddingDecomposition.CM.embeddingSpace E U σ) (i : Fin 3) : |
| 78 | rankThreeComplexCoordinates E e u τ i = 0 := by |
| 79 | have ha : ∃ a : E, τ a ≠ σ a := by |
| 80 | by_contra hn |
| 81 | push Not at hn |
| 82 | exact hne (AlgHom.ext hn) |
| 83 | obtain ⟨a, ha⟩ := ha |
| 84 | have h := congrArg (fun x => rankThreeComplexCoordinates E e x τ i) |
| 85 | ((ComplexMultiplication.EmbeddingDecomposition.CM.mem_embeddingSpace E U σ u).mp hu a) |
| 86 | have hs : τ a * rankThreeComplexCoordinates E e u τ i = |
| 87 | σ a * rankThreeComplexCoordinates E e u τ i := by |
| 88 | simpa only [rankThreeComplexCoordinates_scalar, map_smul, Pi.smul_apply, smul_eq_mul] using h |
| 89 | by_contra hz |
| 90 | exact ha (mul_right_cancel₀ hz hs) |
| 91 | |
| 92 | theorem rankThreeEmbedding_mem_iff (σ : E →ₐ[ℚ] ℂ) (u : ComplexMultiplication.WeightOne.CM.Complexification U) : |
| 93 | u ∈ ComplexMultiplication.EmbeddingDecomposition.CM.embeddingSpace E U σ ↔ ∀ τ, τ ≠ σ → rankThreeComplexCoordinates E e u τ = 0 := by |
| 94 | constructor |
| 95 | · intro hu τ hτ |
| 96 | funext i |
| 97 | exact rankThreeEmbedding_coordinate_zero E e σ τ hτ hu i |
| 98 | · intro hu |
| 99 | apply (ComplexMultiplication.EmbeddingDecomposition.CM.mem_embeddingSpace E U σ u).mpr |
| 100 | intro a |
| 101 | apply (rankThreeComplexCoordinates E e).injective |
| 102 | funext τ i |
| 103 | rw [rankThreeComplexCoordinates_scalar, map_smul] |
| 104 | change τ a * rankThreeComplexCoordinates E e u τ i = σ a * rankThreeComplexCoordinates E e u τ i |
| 105 | by_cases hτ : τ = σ |
| 106 | · rw [hτ] |
| 107 | · have hz := congrFun (hu τ hτ) i |
| 108 | rw [hz, Pi.zero_apply, mul_zero, mul_zero] |
| 109 | |
| 110 | def rankThreeEmbeddingSpaceEquiv (σ : E →ₐ[ℚ] ℂ) : |
| 111 | ComplexMultiplication.EmbeddingDecomposition.CM.embeddingSpace E U σ ≃ₗ[ℂ] (Fin 3 → ℂ) := by |
| 112 | classical |
| 113 | exact |
| 114 | { toFun := fun u => rankThreeComplexCoordinates E e u.val σ |
| 115 | invFun := fun v => ⟨(rankThreeComplexCoordinates E e).symm (Pi.single σ v), by |
| 116 | apply (rankThreeEmbedding_mem_iff E e σ _).mpr |
| 117 | intro τ hτ |
| 118 | rw [LinearEquiv.apply_symm_apply] |
| 119 | exact Pi.single_eq_of_ne (M := fun _ : E →ₐ[ℚ] ℂ => Fin 3 → ℂ) hτ v⟩ |
| 120 | left_inv := by |
| 121 | intro u |
| 122 | apply Subtype.ext |
| 123 | apply (rankThreeComplexCoordinates E e).injective |
| 124 | rw [LinearEquiv.apply_symm_apply] |
| 125 | funext τ |
| 126 | by_cases hτ : τ = σ |
| 127 | · subst τ |
| 128 | simp only [Pi.single_eq_same] |
| 129 | · have hs : Pi.single (M := fun _ : E →ₐ[ℚ] ℂ => Fin 3 → ℂ) |
| 130 | σ (rankThreeComplexCoordinates E e u.val σ) τ = (0 : Fin 3 → ℂ) := |
| 131 | Pi.single_eq_of_ne (M := fun _ : E →ₐ[ℚ] ℂ => Fin 3 → ℂ) hτ |
| 132 | (rankThreeComplexCoordinates E e u.val σ) |
| 133 | exact hs.trans ((rankThreeEmbedding_mem_iff E e σ u.val).mp u.property τ hτ).symm |
| 134 | right_inv := by |
| 135 | intro v |
| 136 | change rankThreeComplexCoordinates E e ((rankThreeComplexCoordinates E e).symm (Pi.single σ v)) σ = v |
| 137 | rw [LinearEquiv.apply_symm_apply] |
| 138 | simp only [Pi.single_eq_same] |
| 139 | map_add' := fun u v => congrFun ((rankThreeComplexCoordinates E e).map_add u.val v.val) σ |
| 140 | map_smul' := fun z u => congrFun ((rankThreeComplexCoordinates E e).map_smul z u.val) σ } |
| 141 | |
| 142 | include e in |
| 143 | theorem rankThreeEmbeddingSpace_finrank (σ : E →ₐ[ℚ] ℂ) : |
| 144 | Module.finrank ℂ (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingSpace E U σ) = 3 := |
| 145 | (rankThreeEmbeddingSpaceEquiv E e σ).finrank_eq.trans (Module.finrank_fin_fun ℂ) |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RankThreeEmbeddingCoordinates |