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.Hodge.MapDescent |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.DecompositionEmbeddingBasis |
| 3 | |
| 4 | /-! # Line Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.Coefficient.LineMap.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Maps supported on a single pair of embedding lines |
| 12 | |
| 13 | The elementary map sends one specified basis vector to another and kills |
| 14 | the remaining source vectors. Its rational Hom coefficient tensor exists |
| 15 | by the canonical Hom comparison. Conjugating coefficients permutes its |
| 16 | source and target indices. Matching Hodge signs along these permutations |
| 17 | will therefore allow descent to rational Hodge maps. |
| 18 | -/ |
| 19 | |
| 20 | open scoped TensorProduct Classical |
| 21 | |
| 22 | section Bases |
| 23 | |
| 24 | variable {F X Y ι κ : Type*} [Field F] [AddCommGroup X] [Module F X] |
| 25 | [AddCommGroup Y] [Module F Y] |
| 26 | |
| 27 | /-- Send one basis line to another, with coefficient one, and kill all other source lines. -/ |
| 28 | def basisLineMap (b : Module.Basis ι F X) (c : Module.Basis κ F Y) (i : ι) (j : κ) : X →ₗ[F] Y := |
| 29 | (b.coord i).smulRight (c j) |
| 30 | |
| 31 | @[simp] |
| 32 | theorem basisLineMap_apply (b : Module.Basis ι F X) (c : Module.Basis κ F Y) |
| 33 | (i : ι) (j : κ) (x : X) : basisLineMap b c i j x = b.repr x i • c j := rfl |
| 34 | |
| 35 | @[simp] |
| 36 | theorem basisLineMap_basis (b : Module.Basis ι F X) (c : Module.Basis κ F Y) |
| 37 | (i k : ι) (j : κ) : basisLineMap b c i j (b k) = if k = i then c j else 0 := by |
| 38 | simp [basisLineMap_apply, Finsupp.single_apply] |
| 39 | |
| 40 | theorem basisLineMap_ne_zero (b : Module.Basis ι F X) (c : Module.Basis κ F Y) |
| 41 | (i : ι) (j : κ) : basisLineMap b c i j ≠ 0 := by |
| 42 | intro h |
| 43 | have he := congrArg (fun f : X →ₗ[F] Y => f (b i)) h |
| 44 | simp only [basisLineMap_basis, LinearMap.zero_apply] at he |
| 45 | exact c.ne_zero j he |
| 46 | |
| 47 | end Bases |
| 48 | |
| 49 | section Coefficients |
| 50 | |
| 51 | variable {K U V ι κ : Type*} [Field K] [Algebra ℚ K] |
| 52 | [AddCommGroup U] [Module ℚ U] [AddCommGroup V] [Module ℚ V] |
| 53 | [FiniteDimensional ℚ U] |
| 54 | |
| 55 | /-- The actual scalar extension of the rational Hom space representing a one-line map. -/ |
| 56 | def lineMapTensor (b : Module.Basis ι K (K ⊗[ℚ] U)) (c : Module.Basis κ K (K ⊗[ℚ] V)) |
| 57 | (i : ι) (j : κ) : K ⊗[ℚ] (U →ₗ[ℚ] V) := |
| 58 | (HomBaseChange.CM.homBaseChangeEquiv K U V).symm (basisLineMap b c i j) |
| 59 | |
| 60 | @[simp] |
| 61 | theorem homBaseChange_lineMapTensor (b : Module.Basis ι K (K ⊗[ℚ] U)) |
| 62 | (c : Module.Basis κ K (K ⊗[ℚ] V)) (i : ι) (j : κ) : |
| 63 | HomBaseChange.CM.homBaseChange K U V (lineMapTensor b c i j) = basisLineMap b c i j := |
| 64 | (HomBaseChange.CM.homBaseChangeEquiv K U V).apply_symm_apply _ |
| 65 | |
| 66 | /-- Exact scalar Galois covariance of the elementary map's coefficient tensor. -/ |
| 67 | theorem scalarConjugate_lineMapTensor (b : Module.Basis ι K (K ⊗[ℚ] U)) |
| 68 | (c : Module.Basis κ K (K ⊗[ℚ] V)) (g : Gal(K/ℚ)) (π : Equiv.Perm ι) (ρ : Equiv.Perm κ) |
| 69 | (hb : ∀ i, ScalarDescent.CM.scalarConjugate ℚ K U g (b i) = b (π i)) |
| 70 | (hc : ∀ j, ScalarDescent.CM.scalarConjugate ℚ K V g (c j) = c (ρ j)) (i : ι) (j : κ) : |
| 71 | ScalarDescent.CM.scalarConjugate ℚ K (U →ₗ[ℚ] V) g (lineMapTensor b c i j) = |
| 72 | lineMapTensor b c (π i) (ρ j) := by |
| 73 | apply (HomBaseChange.CM.homBaseChangeEquiv K U V).injective |
| 74 | simp only [HomBaseChange.CM.homBaseChangeEquiv_apply, homBaseChange_lineMapTensor] |
| 75 | apply b.ext |
| 76 | intro k |
| 77 | obtain ⟨k, rfl⟩ := π.surjective k |
| 78 | rw [← hb k, HomBaseChange.CM.homBaseChange_scalarConjugate, homBaseChange_lineMapTensor, hb k] |
| 79 | rw [basisLineMap_basis, basisLineMap_basis] |
| 80 | by_cases hk : k = i |
| 81 | · simp only [hk, ite_true, hc j] |
| 82 | · simp only [ite_eq_right hk, ite_eq_right (π.injective.ne hk), map_zero] |
| 83 | |
| 84 | end Coefficients |
| 85 | |
| 86 | variable {U V ι κ : Type*} [AddCommGroup U] [Module ℚ U] [AddCommGroup V] [Module ℚ V] |
| 87 | |
| 88 | /-- Matching source and target signs make a one-line map preserve both Hodge types. -/ |
| 89 | theorem basisLineMap_mem_hodgeHomSubspace |
| 90 | (H : WeightOne.CM.WeightOneHodgeStructure U) (J : WeightOne.CM.WeightOneHodgeStructure V) |
| 91 | (b : Module.Basis ι ℂ (WeightOne.CM.Complexification U)) (c : Module.Basis κ ℂ (WeightOne.CM.Complexification V)) |
| 92 | (s : ι → Bool) (t : κ → Bool) |
| 93 | (hb : ∀ e, H.signSubspace e = Submodule.span ℂ (b '' {i | s i = e})) |
| 94 | (hc : ∀ j, c j ∈ J.signSubspace (t j)) (i : ι) (j : κ) (hij : s i = t j) : |
| 95 | basisLineMap b c i j ∈ Hodge.MapDescent.CM.hodgeHomSubspace H J := by |
| 96 | have hm (e : Bool) (x : WeightOne.CM.Complexification U) (hx : x ∈ H.signSubspace e) : |
| 97 | basisLineMap b c i j x ∈ J.signSubspace e := by |
| 98 | by_cases hz : b.repr x i = 0 |
| 99 | · simp only [basisLineMap_apply, hz, zero_smul] |
| 100 | exact (J.signSubspace e).zero_mem |
| 101 | · rw [hb e] at hx |
| 102 | have he := b.mem_span_image.mp hx (Finset.mem_coe.mpr (Finsupp.mem_support_iff.mpr hz)) |
| 103 | have ht : t j = e := hij.symm.trans he |
| 104 | rw [basisLineMap_apply, ← ht] |
| 105 | exact (J.signSubspace (t j)).smul_mem _ (hc j) |
| 106 | exact ⟨hm true, hm false⟩ |
| 107 | |
| 108 | variable (K : IntermediateField ℚ ℂ) [FiniteDimensional ℚ U] |
| 109 | |
| 110 | /-- Including the coefficients of an elementary map gives the corresponding complex map. -/ |
| 111 | theorem complexHomOfCoefficients_lineMapTensor |
| 112 | (b : Module.Basis ι K (K ⊗[ℚ] U)) (c : Module.Basis κ K (K ⊗[ℚ] V)) |
| 113 | (bC : Module.Basis ι ℂ (WeightOne.CM.Complexification U)) (cC : Module.Basis κ ℂ (WeightOne.CM.Complexification V)) |
| 114 | (hb : ∀ i, EmbeddingCoefficientField.CM.coefficientInclusion K U (b i) = bC i) |
| 115 | (hc : ∀ j, EmbeddingCoefficientField.CM.coefficientInclusion K V (c j) = cC j) (i : ι) (j : κ) : |
| 116 | Hodge.MapDescent.CM.complexHomOfCoefficients K U V (lineMapTensor b c i j) = basisLineMap bC cC i j := by |
| 117 | apply bC.ext |
| 118 | intro k |
| 119 | rw [← hb k, Hodge.MapDescent.CM.complexHomOfCoefficients_apply_inclusion, homBaseChange_lineMapTensor, hb k] |
| 120 | rw [basisLineMap_basis, basisLineMap_basis] |
| 121 | by_cases hk : k = i |
| 122 | · simp only [hk, ite_true, hc j] |
| 123 | · simp only [ite_eq_right hk, map_zero] |
| 124 | |
| 125 | variable [NumberField K] [IsGalois ℚ K] |
| 126 | |
| 127 | /-- A one-line map whose source and target signs agree at every scalar conjugate |
| 128 | is in the complex span of rational Hodge maps. -/ |
| 129 | theorem basisLineMap_mem_rationalHodgeMapSpan |
| 130 | (H : WeightOne.CM.WeightOneHodgeStructure U) (J : WeightOne.CM.WeightOneHodgeStructure V) |
| 131 | (b : Module.Basis ι K (K ⊗[ℚ] U)) (c : Module.Basis κ K (K ⊗[ℚ] V)) |
| 132 | (bC : Module.Basis ι ℂ (WeightOne.CM.Complexification U)) (cC : Module.Basis κ ℂ (WeightOne.CM.Complexification V)) |
| 133 | (hbC : ∀ i, EmbeddingCoefficientField.CM.coefficientInclusion K U (b i) = bC i) |
| 134 | (hcC : ∀ j, EmbeddingCoefficientField.CM.coefficientInclusion K V (c j) = cC j) |
| 135 | (π : Gal(K/ℚ) → Equiv.Perm ι) (ρ : Gal(K/ℚ) → Equiv.Perm κ) |
| 136 | (hbg : ∀ g i, ScalarDescent.CM.scalarConjugate ℚ K U g (b i) = b (π g i)) |
| 137 | (hcg : ∀ g j, ScalarDescent.CM.scalarConjugate ℚ K V g (c j) = c (ρ g j)) |
| 138 | (s : ι → Bool) (t : κ → Bool) |
| 139 | (hb : ∀ e, H.signSubspace e = Submodule.span ℂ (bC '' {i | s i = e})) |
| 140 | (hc : ∀ j, cC j ∈ J.signSubspace (t j)) (i : ι) (j : κ) |
| 141 | (hs : ∀ g, s (π g i) = t (ρ g j)) : |
| 142 | basisLineMap bC cC i j ∈ Hodge.MapDescent.CM.rationalHodgeMapSpan H J := by |
| 143 | rw [← complexHomOfCoefficients_lineMapTensor K b c bC cC hbC hcC i j] |
| 144 | apply Hodge.MapDescent.CM.complexHom_mem_rationalHodgeMapSpan_of_conjugates K H J |
| 145 | intro g |
| 146 | rw [scalarConjugate_lineMapTensor b c g (π g) (ρ g) (hbg g) (hcg g), |
| 147 | complexHomOfCoefficients_lineMapTensor K b c bC cC hbC hcC] |
| 148 | exact basisLineMap_mem_hodgeHomSubspace H J bC cC s t hb hc _ _ (hs g) |
| 149 | |
| 150 | end |
| 151 | |
| 152 | end OAI.AlgebraicGeometry.ComplexMultiplication.Coefficient.LineMap.CM |