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.PELModuli.CMPoints.BlocksProjectors |
| 2 | |
| 3 | /-! # Block Decomposition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockDecomposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The split integral projectors give a product decomposition of actual |
| 10 | torsion points on every test scheme, including nonreduced schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | variable {S : Scheme} {g : ℕ} |
| 16 | {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 17 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 18 | (j : Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 19 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 20 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 21 | |
| 22 | include hsplit in |
| 23 | theorem action_eq_of_coordinates (n : ℕ) |
| 24 | (b c : NumberField.RingOfIntegers E) |
| 25 | (hbc : j.residueCoordinates iota n b = j.residueCoordinates iota n c) |
| 26 | (T : Over S) (x : T ⟶ A.scheme) (hx : x ^ (q ^ n) = 1) : |
| 27 | x ≫ ρ.map b = x ≫ ρ.map c := by |
| 28 | apply BlocksProjectors.action_eq_of_congruence A ρ b c (q ^ n) _ T x hx |
| 29 | rw [Nat.cast_pow, ← (hsplit n).2] |
| 30 | change j.residueCoordinates iota n (b - c) = 0 |
| 31 | rw [map_sub, hbc, sub_self] |
| 32 | |
| 33 | theorem projector_idempotent_on_torsion (n : ℕ) (τ : Gal(E/ℚ)) |
| 34 | (T : Over S) (x : T ⟶ A.scheme) (hx : x ^ (q ^ n) = 1) : |
| 35 | (x ≫ ρ.map (j.projector iota hsplit n τ)) ≫ |
| 36 | ρ.map (j.projector iota hsplit n τ) = x ≫ ρ.map (j.projector iota hsplit n τ) := by |
| 37 | classical |
| 38 | rw [Category.assoc, ← ρ.map_mul] |
| 39 | apply action_eq_of_coordinates j iota hsplit A ρ n _ _ _ T x hx |
| 40 | rw [map_mul, j.projector_coordinates] |
| 41 | ext υ |
| 42 | by_cases h : υ = τ <;> simp [h] |
| 43 | |
| 44 | theorem projector_orthogonal_on_torsion (n : ℕ) (τ υ : Gal(E/ℚ)) (h : τ ≠ υ) |
| 45 | (T : Over S) (x : T ⟶ A.scheme) (hx : x ^ (q ^ n) = 1) : |
| 46 | (x ≫ ρ.map (j.projector iota hsplit n τ)) ≫ |
| 47 | ρ.map (j.projector iota hsplit n υ) = 1 := by |
| 48 | classical |
| 49 | rw [Category.assoc, ← ρ.map_mul] |
| 50 | have he : j.residueCoordinates iota n |
| 51 | (j.projector iota hsplit n υ * j.projector iota hsplit n τ) = |
| 52 | j.residueCoordinates iota n 0 := by |
| 53 | rw [map_mul, j.projector_coordinates, j.projector_coordinates, map_zero] |
| 54 | ext ν |
| 55 | by_cases hν : ν = τ |
| 56 | · subst ν |
| 57 | simp [h] |
| 58 | · simp [hν] |
| 59 | rw [action_eq_of_coordinates j iota hsplit A ρ n _ 0 he T x hx, |
| 60 | ρ.map_zero, MonObj.comp_one] |
| 61 | |
| 62 | def torsionProjection (n : ℕ) (τ : Gal(E/ℚ)) (T : Over S) : |
| 63 | A.torsionPoints (q ^ n) T →* BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) n T where |
| 64 | toFun x := ⟨x.val ≫ ρ.map (j.projector iota hsplit n τ), |
| 65 | (BlocksProjectors.mem_block_iff_fixed j iota hsplit A ρ n τ T _).mpr ⟨by |
| 66 | have hx : x.val ^ (q ^ n) = 1 := x.property |
| 67 | rw [← MonObj.pow_comp, hx, MonObj.one_comp], |
| 68 | projector_idempotent_on_torsion j iota hsplit A ρ n τ T x.val x.property⟩⟩ |
| 69 | map_one' := Subtype.ext (MonObj.one_comp _) |
| 70 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val _) |
| 71 | |
| 72 | theorem block_projector_self (n : ℕ) (τ : Gal(E/ℚ)) (T : Over S) |
| 73 | (x : BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) n T) : |
| 74 | x.val ≫ ρ.map (j.projector iota hsplit n τ) = x.val := |
| 75 | ((BlocksProjectors.mem_block_iff_fixed j iota hsplit A ρ n τ T x.val).mp x.property).2 |
| 76 | |
| 77 | theorem block_projector_other (n : ℕ) (τ υ : Gal(E/ℚ)) (h : τ ≠ υ) |
| 78 | (T : Over S) (x : BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) n T) : |
| 79 | x.val ≫ ρ.map (j.projector iota hsplit n υ) = 1 := by |
| 80 | have hx := projector_orthogonal_on_torsion j iota hsplit A ρ n τ υ h T x.val x.property.1 |
| 81 | rw [block_projector_self j iota hsplit A ρ n τ T x] at hx |
| 82 | exact hx |
| 83 | |
| 84 | omit [NumberField E] [Algebra ℚ E] in |
| 85 | theorem integralAction_sum_on_points {Idx : Type*} (s : Finset Idx) |
| 86 | (b : Idx → NumberField.RingOfIntegers E) (T : Over S) (x : T ⟶ A.scheme) : |
| 87 | x ≫ ρ.map (∑ i ∈ s, b i) = ∏ i ∈ s, x ≫ ρ.map (b i) := by |
| 88 | classical |
| 89 | induction s using Finset.induction_on with |
| 90 | | empty => simp only [Finset.sum_empty, Finset.prod_empty, ρ.map_zero, MonObj.comp_one] |
| 91 | | @insert i s hi ih => |
| 92 | rw [Finset.sum_insert hi, Finset.prod_insert hi, ρ.map_add, MonObj.comp_mul, ih] |
| 93 | |
| 94 | theorem torsion_projectors_sum (n : ℕ) (T : Over S) |
| 95 | (x : T ⟶ A.scheme) (hx : x ^ (q ^ n) = 1) : |
| 96 | (∏ τ : Gal(E/ℚ), x ≫ ρ.map (j.projector iota hsplit n τ)) = x := by |
| 97 | classical |
| 98 | rw [← integralAction_sum_on_points A ρ] |
| 99 | have hs : j.residueCoordinates iota n (∑ τ, j.projector iota hsplit n τ) = |
| 100 | j.residueCoordinates iota n 1 := by |
| 101 | simp only [map_sum, j.projector_coordinates, map_one] |
| 102 | ext υ |
| 103 | simp [Finset.sum_apply, Pi.single_apply] |
| 104 | rw [action_eq_of_coordinates j iota hsplit A ρ n _ 1 hs T x hx, ρ.map_one, Category.comp_id] |
| 105 | |
| 106 | def assembleBlocks (n : ℕ) (T : Over S) : |
| 107 | (∀ τ : Gal(E/ℚ), BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) n T) →* |
| 108 | A.torsionPoints (q ^ n) T where |
| 109 | toFun x := ⟨∏ τ, (x τ).val, by |
| 110 | change (∏ τ, (x τ).val) ^ (q ^ n) = 1 |
| 111 | rw [← Finset.prod_pow] |
| 112 | simp only [(x _).property.1, Finset.prod_const_one]⟩ |
| 113 | map_one' := by apply Subtype.ext; exact Finset.prod_const_one |
| 114 | map_mul' x y := by apply Subtype.ext; exact Finset.prod_mul_distrib |
| 115 | |
| 116 | theorem assemble_torsionProjections (n : ℕ) (T : Over S) |
| 117 | (x : A.torsionPoints (q ^ n) T) : |
| 118 | assembleBlocks j iota A ρ n T (fun τ => torsionProjection j iota hsplit A ρ n τ T x) = x := by |
| 119 | apply Subtype.ext |
| 120 | exact torsion_projectors_sum j iota hsplit A ρ n T x.val x.property |
| 121 | |
| 122 | theorem torsionProjection_assemble (n : ℕ) (T : Over S) |
| 123 | (x : ∀ τ : Gal(E/ℚ), BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) n T) (υ : Gal(E/ℚ)) : |
| 124 | torsionProjection j iota hsplit A ρ n υ T (assembleBlocks j iota A ρ n T x) = x υ := by |
| 125 | classical |
| 126 | apply Subtype.ext |
| 127 | let f : (T ⟶ A.scheme) →* (T ⟶ A.scheme) := { |
| 128 | toFun a := a ≫ ρ.map (j.projector iota hsplit n υ) |
| 129 | map_one' := MonObj.one_comp _ |
| 130 | map_mul' a b := MonObj.mul_comp a b _ } |
| 131 | change f (∏ τ, (x τ).val) = (x υ).val |
| 132 | rw [map_prod] |
| 133 | rw [Finset.prod_eq_single υ] |
| 134 | · exact block_projector_self j iota hsplit A ρ n υ T (x υ) |
| 135 | · intro τ _ hτ |
| 136 | exact block_projector_other j iota hsplit A ρ n τ υ hτ T (x τ) |
| 137 | · simp |
| 138 | |
| 139 | /-- The product decomposition is an isomorphism of actual groups of |
| 140 | torsion points, uniformly over every test scheme. -/ |
| 141 | def torsionBlockEquiv (n : ℕ) (T : Over S) : |
| 142 | A.torsionPoints (q ^ n) T ≃* |
| 143 | (∀ τ : Gal(E/ℚ), BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) n T) where |
| 144 | toFun x τ := torsionProjection j iota hsplit A ρ n τ T x |
| 145 | invFun := assembleBlocks j iota A ρ n T |
| 146 | left_inv := assemble_torsionProjections j iota hsplit A ρ n T |
| 147 | right_inv x := funext (torsionProjection_assemble j iota hsplit A ρ n T x) |
| 148 | map_mul' x y := funext (fun τ => (torsionProjection j iota hsplit A ρ n τ T).map_mul x y) |
| 149 | |
| 150 | def productBlockFunctor (n : ℕ) : (Over S)ᵒᵖ ⥤ GrpCat where |
| 151 | obj T := GrpCat.of (∀ τ : Gal(E/ℚ), BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) n T.unop) |
| 152 | map f := GrpCat.ofHom { |
| 153 | toFun x τ := BlocksProjectors.blockPullback A ρ (j.localCharacter iota τ) n f.unop (x τ) |
| 154 | map_one' := funext (fun τ => (BlocksProjectors.blockPullback A ρ (j.localCharacter iota τ) n f.unop).map_one) |
| 155 | map_mul' x y := funext (fun τ => |
| 156 | (BlocksProjectors.blockPullback A ρ (j.localCharacter iota τ) n f.unop).map_mul (x τ) (y τ)) } |
| 157 | map_id T := by |
| 158 | apply GrpCat.hom_ext |
| 159 | apply MonoidHom.ext |
| 160 | intro x |
| 161 | funext τ |
| 162 | exact Subtype.ext (Category.id_comp (x τ).val) |
| 163 | map_comp f h := by |
| 164 | apply GrpCat.hom_ext |
| 165 | apply MonoidHom.ext |
| 166 | intro x |
| 167 | funext τ |
| 168 | exact Subtype.ext (Category.assoc _ _ (x τ).val) |
| 169 | |
| 170 | /-- The product decomposition is natural on the entire big test category. -/ |
| 171 | def torsionBlockIso (n : ℕ) : |
| 172 | A.torsionFunctor (q ^ n) ≅ productBlockFunctor j iota A ρ n := |
| 173 | NatIso.ofComponents (fun T => (torsionBlockEquiv j iota hsplit A ρ n T.unop).toGrpIso) (by |
| 174 | intro T U f |
| 175 | apply GrpCat.hom_ext |
| 176 | apply MonoidHom.ext |
| 177 | intro x |
| 178 | funext τ |
| 179 | exact Subtype.ext (Category.assoc _ _ _)) |
| 180 | |
| 181 | end |
| 182 | |
| 183 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockDecomposition |