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.Theta.Adelic.ComplexPhaseCoordinates |
| 2 | |
| 3 | /-! # Orthonormal Tensor Form -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.OrthonormalTensorForm |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual quadratic trace form in the specified orthonormal |
| 10 | coordinates, including its exact sign and factor of two. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField Kronecker |
| 13 | |
| 14 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.RealTensorCoordinates OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates |
| 16 | |
| 17 | theorem formValue_inverse_coordinates {I : Type*} [Fintype I] [DecidableEq I] |
| 18 | (Q : Matrix I I ℂ) (B : (Matrix I I ℂ)ˣ) (x y : I → ℂ) : |
| 19 | Weil.AdelicSplitting.TensorSpace.Construction.formValue Q x y = Weil.AdelicSplitting.TensorSpace.Construction.formValue (B.val.conjTranspose * Q * B.val) |
| 20 | (B.inv.mulVec x) (B.inv.mulVec y) := by |
| 21 | rw [← Weil.AdelicSplitting.TensorSpace.Construction.formValue_change, Matrix.mulVec_mulVec, Matrix.mulVec_mulVec, |
| 22 | B.val_inv, Matrix.one_mulVec, Matrix.one_mulVec] |
| 23 | |
| 24 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 25 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 26 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 27 | variable (A : BallGeometryData.BallArithmeticData F d m H K) |
| 28 | |
| 29 | theorem quadratic_trace_real_part (v : Fin A.places) (s : Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inl (A.enumerate v))) : |
| 30 | A.real v (QuadraticAlgebra.trace s / 2) = (A.complex v s).re := by |
| 31 | have h := congrArg (A.complex v) (QuadraticAlgebra.algebraMap_trace_eq_add_star s) |
| 32 | rw [A.complex_scalar, map_add, A.complex_star] at h |
| 33 | have hr := congrArg Complex.re h |
| 34 | simp only [Complex.ofReal_re, Complex.add_re, Complex.star_def, Complex.conj_re] at hr |
| 35 | rw [map_div₀, map_ofNat, hr] |
| 36 | ring |
| 37 | |
| 38 | theorem mapped_formValue {I : Type*} [Fintype I] [DecidableEq I] |
| 39 | (v : Fin A.places) (Q : Matrix I I (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inl (A.enumerate v)))) |
| 40 | (x y : I → Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inl (A.enumerate v))) : |
| 41 | A.complex v (Weil.AdelicSplitting.TensorSpace.Construction.formValue Q x y) = |
| 42 | Weil.AdelicSplitting.TensorSpace.Construction.formValue (Q.map (A.complex v)) (fun i => A.complex v (x i)) (fun i => A.complex v (y i)) := by |
| 43 | simp only [Weil.AdelicSplitting.TensorSpace.Construction.formValue, Matrix.mulVec, dotProduct, map_sum, map_mul, A.complex_star, Matrix.map_apply] |
| 44 | |
| 45 | theorem mapped_tensor_matrix (v : Fin A.places) : |
| 46 | ((Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inl (A.enumerate v))) ⊗ₖ |
| 47 | (Weil.AdelicSplitting.Integral.Construction.localizedForm F K.val (.inl (A.enumerate v)))).map (A.complex v) = |
| 48 | (Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inl (A.enumerate v))).map (A.complex v) ⊗ₖ |
| 49 | (Weil.AdelicSplitting.Integral.Construction.localizedForm F K.val (.inl (A.enumerate v))).map (A.complex v) := by |
| 50 | apply Matrix.ext |
| 51 | intro i j |
| 52 | exact (A.complex v).map_mul _ _ |
| 53 | |
| 54 | theorem normalized_tensor_matrix (v : Fin A.places) : |
| 55 | ((A.basisV v).val ⊗ₖ (A.basisP v).val).conjTranspose * |
| 56 | (((Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inl (A.enumerate v))) ⊗ₖ |
| 57 | (Weil.AdelicSplitting.Integral.Construction.localizedForm F K.val (.inl (A.enumerate v)))).map (A.complex v)) * |
| 58 | ((A.basisV v).val ⊗ₖ (A.basisP v).val) = |
| 59 | Matrix.diagonal (fun ij => Complex.I * ComplexPhaseCoordinates.tensorDualSign A (v, ij)) := by |
| 60 | rw [mapped_tensor_matrix, Matrix.conjTranspose_kronecker, |
| 61 | ← Matrix.mul_kronecker_mul, ← Matrix.mul_kronecker_mul, A.formV, A.formP, |
| 62 | Matrix.diagonal_kronecker_diagonal] |
| 63 | congr 1 |
| 64 | funext ij |
| 65 | dsimp [ComplexPhaseCoordinates.tensorDualSign] |
| 66 | split_ifs <;> ring |
| 67 | |
| 68 | theorem orthonormal_trace_pairing (v : Fin A.places) |
| 69 | (x y : Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) d) 3 m) : |
| 70 | A.real v (Weil.AdelicSplitting.TensorSpace.Construction.tracePairing (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) d) 3 m |
| 71 | (Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inl (A.enumerate v))) |
| 72 | (Weil.AdelicSplitting.Integral.Construction.localizedForm F K.val (.inl (A.enumerate v))) x y) = |
| 73 | (Weil.AdelicSplitting.TensorSpace.Construction.formValue (Matrix.diagonal (fun ij => Complex.I * ComplexPhaseCoordinates.tensorDualSign A (v, ij))) |
| 74 | (RealTensorCoordinates.orthonormalTensorCoordinates A v (fun ij => A.complex v (x ij))) |
| 75 | (RealTensorCoordinates.orthonormalTensorCoordinates A v (fun ij => A.complex v (y ij)))).re := by |
| 76 | rw [Weil.AdelicSplitting.TensorSpace.Construction.tracePairing, quadratic_trace_real_part, mapped_formValue] |
| 77 | rw [formValue_inverse_coordinates _ |
| 78 | (Matrix.GeneralLinearGroup.kronecker (A.basisV v) (A.basisP v))] |
| 79 | change (Weil.AdelicSplitting.TensorSpace.Construction.formValue |
| 80 | (((A.basisV v).val ⊗ₖ (A.basisP v).val).conjTranspose * |
| 81 | (((Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inl (A.enumerate v))) ⊗ₖ |
| 82 | (Weil.AdelicSplitting.Integral.Construction.localizedForm F K.val (.inl (A.enumerate v)))).map (A.complex v)) * |
| 83 | ((A.basisV v).val ⊗ₖ (A.basisP v).val)) _ _).re = _ |
| 84 | rw [normalized_tensor_matrix] |
| 85 | rfl |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.RepresentationTheory.Theta.Adelic.OrthonormalTensorForm |