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.Geometry.ComplexBall.PrescribedSignsPeriodTransport |
| 2 | |
| 3 | /-! # Prescribed Signs Transport Holomorphic -/ |
| 4 | |
| 5 | namespace OAI.Geometry.ComplexBall.PrescribedSignsTransportHolomorphic.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | open scoped Classical |
| 12 | |
| 13 | lemma holomorphicFamily_transport {X Y : Type*} |
| 14 | [NormedAddCommGroup X] [NormedSpace ℂ X] |
| 15 | [NormedAddCommGroup Y] [NormedSpace ℂ Y] |
| 16 | (e : X ≃L[ℂ] Y) (O : Set PrescribedSignsB.BallChart) (r : ℕ) |
| 17 | (P : PrescribedSignsB.BallChart → Submodule ℂ Y) (hp : PrescribedSignsB.HolomorphicFamily O r P) : |
| 18 | PrescribedSignsB.HolomorphicFamily O r (fun z => (P z).comap e.toLinearMap) := by |
| 19 | intro z hz |
| 20 | obtain ⟨N, hN, hzN, hNO, f, hf, hspan⟩ := hp z hz |
| 21 | refine ⟨N, hN, hzN, hNO, (fun j w => e.symm (f j w)), ?_, ?_⟩ |
| 22 | · intro j |
| 23 | exact e.symm.differentiable.comp_differentiableOn (hf j) |
| 24 | · intro w hw |
| 25 | obtain ⟨hli, hs⟩ := hspan w hw |
| 26 | refine ⟨hli.map' e.symm.toLinearMap (LinearMap.ker_eq_bot.mpr e.symm.injective), ?_⟩ |
| 27 | have hm := congrArg (Submodule.map e.symm.toLinearMap) hs |
| 28 | rw [Submodule.map_span, ← Set.range_comp] at hm |
| 29 | exact hm.trans ((P w).map_equiv_eq_comap_symm e.symm.toLinearEquiv) |
| 30 | |
| 31 | /-- Use the norm transported from the embedding coordinates on a native tensor space. -/ |
| 32 | abbrev coordinateNorm {X Y : Type*} [AddCommGroup X] [Module ℂ X] |
| 33 | [NormedAddCommGroup Y] [NormedSpace ℂ Y] (e : X ≃ₗ[ℂ] Y) : |
| 34 | NormedAddCommGroup X := NormedAddCommGroup.induced X Y e e.injective |
| 35 | |
| 36 | lemma holomorphicFamily_native {X Y : Type*} |
| 37 | [AddCommGroup X] [Module ℂ X] [NormedAddCommGroup Y] [NormedSpace ℂ Y] |
| 38 | (e : X ≃ₗ[ℂ] Y) (O : Set PrescribedSignsB.BallChart) (r : ℕ) |
| 39 | (P : PrescribedSignsB.BallChart → Submodule ℂ Y) (hp : PrescribedSignsB.HolomorphicFamily O r P) : |
| 40 | letI := coordinateNorm e |
| 41 | letI := NormedSpace.induced ℂ X Y e |
| 42 | PrescribedSignsB.HolomorphicFamily O r (fun z => (P z).comap e.toLinearMap) := by |
| 43 | let := coordinateNorm e |
| 44 | let := NormedSpace.induced ℂ X Y e |
| 45 | let ei : X ≃ₗᵢ[ℂ] Y := { e with norm_map' := fun _ => rfl } |
| 46 | exact holomorphicFamily_transport ei.toContinuousLinearEquiv O r P hp |
| 47 | |
| 48 | end |
| 49 | |
| 50 | section |
| 51 | |
| 52 | open scoped Classical TensorProduct |
| 53 | |
| 54 | variable {E Place : Type*} [Field E] [Algebra ℚ E] [NumberField E] |
| 55 | [NumberField.IsCMField E] [Fintype Place] |
| 56 | |
| 57 | def sumFirst : PrescribedSignsPeriodTransport.Intrinsic.SumTensor E →ₗ[ℚ] PrescribedSignsPeriodTransport.Intrinsic.LineTensor E := |
| 58 | (LinearMap.fst ℚ _ _).comp ((PrescribedSignsPeriodTransport.Intrinsic.sumReduction (E := E)).restrictScalars ℚ).toLinearMap |
| 59 | |
| 60 | def sumSecond : PrescribedSignsPeriodTransport.Intrinsic.SumTensor E →ₗ[ℚ] PrescribedSignsPeriodTransport.Intrinsic.LineTensor E := |
| 61 | (LinearMap.snd ℚ _ _).comp ((PrescribedSignsPeriodTransport.Intrinsic.sumReduction (E := E)).restrictScalars ℚ).toLinearMap |
| 62 | |
| 63 | def rationalSumForm (δ : E) (a : Fin 2 → E) (H : Matrix (Fin 3) (Fin 3) E) : |
| 64 | LinearMap.BilinForm ℚ (PrescribedSignsPeriodTransport.Intrinsic.SumTensor E) := |
| 65 | (PrescribedSignsPeriodTransport.Intrinsic.rationalLineForm δ (a 0) H).compl₁₂ sumFirst sumFirst + |
| 66 | (PrescribedSignsPeriodTransport.Intrinsic.rationalLineForm δ (a 1) H).compl₁₂ sumSecond sumSecond |
| 67 | |
| 68 | omit [NumberField.IsCMField E] [Fintype Place] in |
| 69 | lemma sumCoordinates_components (σ : Place → E →ₐ[ℚ] ℂ) |
| 70 | (hσ : Function.Bijective (fun p : Place × Bool => |
| 71 | if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ p.1) else σ p.1)) |
| 72 | (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (PrescribedSignsPeriodTransport.Intrinsic.SumTensor E)) : |
| 73 | PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ x = |
| 74 | (PrescribedSignsPeriodTransport.Intrinsic.lineCoordinates σ hσ ((sumFirst (E := E)).baseChange ℂ x), |
| 75 | PrescribedSignsPeriodTransport.Intrinsic.lineCoordinates σ hσ ((sumSecond (E := E)).baseChange ℂ x)) := by |
| 76 | induction x using TensorProduct.inductionOn with |
| 77 | | add x y hx hy => simp only [map_add, hx, hy, Prod.mk_add_mk] |
| 78 | | tmul z v => simp [PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates, sumFirst, sumSecond] |
| 79 | |
| 80 | lemma bilin_baseChange_add {X : Type*} [AddCommGroup X] [Module ℚ X] |
| 81 | (B C : LinearMap.BilinForm ℚ X) (x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X) : |
| 82 | (B + C).baseChange ℂ x y = B.baseChange ℂ x y + C.baseChange ℂ x y := by |
| 83 | induction x using TensorProduct.inductionOn with |
| 84 | | add x x' hx hx' => simp only [map_add, LinearMap.add_apply, hx, hx']; abel |
| 85 | | tmul z v => |
| 86 | induction y using TensorProduct.inductionOn with |
| 87 | | add y y' hy hy' => simp only [map_add, hy, hy']; abel |
| 88 | | tmul w v' => simp [add_smul] |
| 89 | |
| 90 | lemma sumForm_transport (σ : Place → E →ₐ[ℚ] ℂ) |
| 91 | (hσ : Function.Bijective (fun p : Place × Bool => |
| 92 | if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ p.1) else σ p.1)) |
| 93 | (δ : E) (a : Fin 2 → E) (hδ : NumberField.IsCMField.complexConj E δ = -δ) |
| 94 | (ha : ∀ i, NumberField.IsCMField.complexConj E (a i) = a i) |
| 95 | (H : Matrix (Fin 3) (Fin 3) E) |
| 96 | (hH : ∀ j k, H j k = NumberField.IsCMField.complexConj E (H k j)) |
| 97 | (x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (PrescribedSignsPeriodTransport.Intrinsic.SumTensor E)) : |
| 98 | (rationalSumForm δ a H).baseChange ℂ x y = |
| 99 | PrescribedSignsPeriodTransport.Intrinsic.coordinateForm (PrescribedSignsB.matrixB σ H) (fun τ => σ τ (δ * a 0)) |
| 100 | (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ x).1 (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ y).1 + |
| 101 | PrescribedSignsPeriodTransport.Intrinsic.coordinateForm (PrescribedSignsB.matrixB σ H) (fun τ => σ τ (δ * a 1)) |
| 102 | (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ x).2 (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ y).2 := by |
| 103 | rw [rationalSumForm, bilin_baseChange_add, PrescribedSignsPeriodTransport.Intrinsic.baseChange_compl, PrescribedSignsPeriodTransport.Intrinsic.baseChange_compl, |
| 104 | PrescribedSignsPeriodTransport.Intrinsic.lineForm_transport σ hσ δ (a 0) hδ (ha 0) H hH, |
| 105 | PrescribedSignsPeriodTransport.Intrinsic.lineForm_transport σ hσ δ (a 1) hδ (ha 1) H hH, |
| 106 | sumCoordinates_components σ hσ x, sumCoordinates_components σ hσ y] |
| 107 | |
| 108 | lemma rationalSumForm_cross (δ : E) (a : Fin 2 → E) |
| 109 | (H : Matrix (Fin 3) (Fin 3) E) (x y : PrescribedSignsPeriodTransport.Intrinsic.LineTensor E) : |
| 110 | rationalSumForm δ a H (PrescribedSignsPeriodTransport.Intrinsic.sumReduction.symm (x, 0)) (PrescribedSignsPeriodTransport.Intrinsic.sumReduction.symm (0, y)) = 0 := by |
| 111 | simp [rationalSumForm, sumFirst, sumSecond] |
| 112 | |
| 113 | lemma sumPositivePeriod_transport (σ : Place → E →ₐ[ℚ] ℂ) |
| 114 | (hσ : Function.Bijective (fun p : Place × Bool => |
| 115 | if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ p.1) else σ p.1)) |
| 116 | (δ : E) (a : Fin 2 → E) (hδ : NumberField.IsCMField.complexConj E δ = -δ) |
| 117 | (ha : ∀ i, NumberField.IsCMField.complexConj E (a i) = a i) |
| 118 | (H : Matrix (Fin 3) (Fin 3) E) |
| 119 | (hH : ∀ j k, H j k = NumberField.IsCMField.complexConj E (H k j)) |
| 120 | (r : ℕ) (P : Submodule ℂ (PrescribedSignsB.Ambient Place × PrescribedSignsB.Ambient Place)) |
| 121 | (hp : PrescribedSignsB.PositivePeriod r |
| 122 | (fun x y => PrescribedSignsPeriodTransport.Intrinsic.coordinateForm (PrescribedSignsB.matrixB σ H) (fun τ => σ τ (δ * a 0)) x.1 y.1 + |
| 123 | PrescribedSignsPeriodTransport.Intrinsic.coordinateForm (PrescribedSignsB.matrixB σ H) (fun τ => σ τ (δ * a 1)) x.2 y.2) |
| 124 | (fun x => (PrescribedSignsB.realConj x.1, PrescribedSignsB.realConj x.2)) P) : |
| 125 | PrescribedSignsB.PositivePeriod r (fun x y => (rationalSumForm δ a H).baseChange ℂ x y) |
| 126 | (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation (PrescribedSignsPeriodTransport.Intrinsic.SumTensor E)) |
| 127 | (P.comap (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ).toLinearMap) := by |
| 128 | have ht := PrescribedSignsPeriodTransport.Intrinsic.positivePeriod_transport (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ) r _ _ |
| 129 | (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation (PrescribedSignsPeriodTransport.Intrinsic.SumTensor E)) (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates_conjugation σ hσ) P hp |
| 130 | have he : (fun x y => (rationalSumForm δ a H).baseChange ℂ x y) = |
| 131 | (fun x y => PrescribedSignsPeriodTransport.Intrinsic.coordinateForm (PrescribedSignsB.matrixB σ H) (fun τ => σ τ (δ * a 0)) |
| 132 | (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ x).1 (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ y).1 + |
| 133 | PrescribedSignsPeriodTransport.Intrinsic.coordinateForm (PrescribedSignsB.matrixB σ H) (fun τ => σ τ (δ * a 1)) |
| 134 | (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ x).2 (PrescribedSignsPeriodTransport.Intrinsic.sumCoordinates σ hσ y).2) := by |
| 135 | funext x y |
| 136 | exact sumForm_transport σ hσ δ a hδ ha H hH x y |
| 137 | rw [he] |
| 138 | exact ht |
| 139 | |
| 140 | end |
| 141 | |
| 142 | open scoped Classical TensorProduct |
| 143 | |
| 144 | variable {E : Type*} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 145 | |
| 146 | /-- The fixed coefficients really belong to the maximal totally real subfield. -/ |
| 147 | def realLineCoefficient (a : E) (ha : NumberField.IsCMField.complexConj E a = a) : |
| 148 | NumberField.maximalRealSubfield E := |
| 149 | ⟨a, (NumberField.IsCMField.complexConj_eq_self_iff E a).mp ha⟩ |
| 150 | |
| 151 | lemma realLineCoefficient_coe (a : E) (ha : NumberField.IsCMField.complexConj E a = a) : |
| 152 | (realLineCoefficient a ha : E) = a := rfl |
| 153 | |
| 154 | /-- The rational trace in the public theorem is exactly the further trace |
| 155 | of the manuscript's `E/F` trace. -/ |
| 156 | lemma trace_through_real_subfield (q : E) : |
| 157 | Algebra.trace ℚ (NumberField.maximalRealSubfield E) |
| 158 | (Algebra.trace (NumberField.maximalRealSubfield E) E q) = Algebra.trace ℚ E q := by |
| 159 | exact Algebra.trace_trace q |
| 160 | |
| 161 | lemma lineForm_iterated_trace (δ a : E) (H : Matrix (Fin 3) (Fin 3) E) |
| 162 | (v v' : PrescribedSignsPeriodTransport.Intrinsic.V E) (w w' : E) : |
| 163 | PrescribedSignsPeriodTransport.Intrinsic.rationalLineForm δ a H (v ⊗ₜ[E] w) (v' ⊗ₜ[E] w') = |
| 164 | Algebra.trace ℚ (NumberField.maximalRealSubfield E) |
| 165 | (Algebra.trace (NumberField.maximalRealSubfield E) E |
| 166 | (δ * (∑ j, ∑ k, v j * H j k * NumberField.IsCMField.complexConj E (v' k)) * |
| 167 | (a * w * NumberField.IsCMField.complexConj E w'))) := by |
| 168 | rw [trace_through_real_subfield, PrescribedSignsPeriodTransport.Intrinsic.rationalLineForm_tmul] |
| 169 | |
| 170 | lemma sumForm_iterated_trace (δ : E) (a : Fin 2 → E) (H : Matrix (Fin 3) (Fin 3) E) |
| 171 | (v v' : PrescribedSignsPeriodTransport.Intrinsic.V E) (w w' : E × E) : |
| 172 | rationalSumForm δ a H (v ⊗ₜ[E] w) (v' ⊗ₜ[E] w') = |
| 173 | Algebra.trace ℚ (NumberField.maximalRealSubfield E) |
| 174 | (Algebra.trace (NumberField.maximalRealSubfield E) E |
| 175 | (δ * (∑ j, ∑ k, v j * H j k * NumberField.IsCMField.complexConj E (v' k)) * |
| 176 | (a 0 * w.1 * NumberField.IsCMField.complexConj E w'.1 + |
| 177 | a 1 * w.2 * NumberField.IsCMField.complexConj E w'.2))) := by |
| 178 | rw [trace_through_real_subfield] |
| 179 | change PrescribedSignsPeriodTransport.Intrinsic.rationalLineForm δ (a 0) H (v ⊗ₜ[E] w.1) (v' ⊗ₜ[E] w'.1) + |
| 180 | PrescribedSignsPeriodTransport.Intrinsic.rationalLineForm δ (a 1) H (v ⊗ₜ[E] w.2) (v' ⊗ₜ[E] w'.2) = _ |
| 181 | rw [PrescribedSignsPeriodTransport.Intrinsic.rationalLineForm_tmul, PrescribedSignsPeriodTransport.Intrinsic.rationalLineForm_tmul, ← map_add] |
| 182 | congr 1 |
| 183 | ring |
| 184 | |
| 185 | end |
| 186 | |
| 187 | end OAI.Geometry.ComplexBall.PrescribedSignsTransportHolomorphic.Intrinsic |