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.Kernel.IntrinsicPositionMatrices |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicInversePullback |
| 3 | |
| 4 | /-! # Intrinsic Imaginary Comparison -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicImaginaryComparison.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native inverse-imaginary transport for the completed theta kernels. |
| 11 | The real symplectic comparison determines the imaginary bilinear form. -/ |
| 12 | |
| 13 | open scoped _root_.NumberField Classical _root_.Matrix BigOperators _root_.Matrix.Norms.Elementwise |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands |
| 16 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicArithmetic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicGlobal OAI.RepresentationTheory.Theta.Kernel.IntrinsicBlockSiegel.Intrinsic |
| 17 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicRealTransport.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicComplexTransport.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCoordinateAgreement.Intrinsic |
| 18 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSymplecticComparison.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCoordinateAgreement.IntrinsicPositionTransport OAI.RepresentationTheory.Theta.Kernel.IntrinsicPositionMatrices.IntrinsicShearComparison |
| 19 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicPositionMatrices.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicInversePullback.Intrinsic |
| 20 | |
| 21 | abbrev realImaginary {I : Type} (Z : Matrix I I ℂ) : Matrix I I ℝ := Z.map Complex.im |
| 22 | |
| 23 | theorem cross_graph_difference {k I J : Type} [Field k] [Fintype I] [Fintype J] |
| 24 | (E : ((I ⊕ I) → k) →ₗ[k] ((J ⊕ J) → k)) (R : (I → k) →ₗ[k] (J → k)) |
| 25 | (Z : Matrix I I k) (W : Matrix J J k) |
| 26 | (hpair : ∀ x y, Adelic.DataTheta.standardPairing (E x) (E y) = Adelic.DataTheta.standardPairing x y) |
| 27 | (hpos : ∀ x, IntrinsicCoordinateAgreement.IntrinsicPositionTransport.positions k J (E x) = R (IntrinsicCoordinateAgreement.IntrinsicPositionTransport.positions k I x)) |
| 28 | (hgraph : ∀ x, E (Sum.elim x (Z.mulVec x)) = Sum.elim (R x) (W.mulVec (R x))) |
| 29 | (x y : I → k) : |
| 30 | (∑ j, R x j * W.mulVec (R y) j) - (∑ i, x i * Z.mulVec y i) = |
| 31 | ∑ j, E (Sum.elim x (0 : I → k)) (.inr j) * R y j := by |
| 32 | have h := hpair (Sum.elim x (0 : I → k)) (Sum.elim y (Z.mulVec y)) |
| 33 | rw [hgraph] at h |
| 34 | have hp (j : J) : E (Sum.elim x (0 : I → k)) (.inl j) = R x j := |
| 35 | congrFun (hpos (Sum.elim x (0 : I → k))) j |
| 36 | simp only [Adelic.DataTheta.standardPairing, Sum.elim_inl, Sum.elim_inr, Pi.zero_apply, zero_mul, sub_zero] at h |
| 37 | simp_rw [hp] at h |
| 38 | rw [Finset.sum_sub_distrib] at h |
| 39 | linear_combination h |
| 40 | |
| 41 | theorem complex_bilinear_im {I : Type} [Fintype I] |
| 42 | (Z : Matrix I I ℂ) (x y : I → ℝ) : |
| 43 | (∑ i, (x i : ℂ) * Z.mulVec (fun j => (y j : ℂ)) i).im = |
| 44 | x ⬝ᵥ ((realImaginary Z).mulVec y) := by |
| 45 | simp [Matrix.mulVec, dotProduct, Complex.mul_im] |
| 46 | |
| 47 | theorem congruence_of_bilinear {I J : Type} [Fintype I] [Fintype J] |
| 48 | [DecidableEq I] [DecidableEq J] |
| 49 | (R : Matrix J I ℝ) (X : Matrix I I ℝ) (Y : Matrix J J ℝ) |
| 50 | (h : ∀ x y, (R.mulVec x) ⬝ᵥ (Y.mulVec (R.mulVec y)) = x ⬝ᵥ (X.mulVec y)) : |
| 51 | Rᵀ * Y * R = X := by |
| 52 | have he (x y : I → ℝ) : x ⬝ᵥ ((Rᵀ * Y * R).mulVec y) = x ⬝ᵥ (X.mulVec y) := by |
| 53 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec, Matrix.dotProduct_transpose_mulVec, |
| 54 | dotProduct_comm] |
| 55 | exact h x y |
| 56 | ext i j |
| 57 | simpa using he (Pi.single i 1) (Pi.single j 1) |
| 58 | |
| 59 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 60 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 61 | variable {K₁ : (Matrix (Fin 1) (Fin 1) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 62 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 1 H K₁} {S : IntrinsicSplitting.IntrinsicSummands.SecondLine A} |
| 63 | variable {P₁ : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 1 H K₁} {P₂ : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 1 H S.form} |
| 64 | variable (B₁ : Adelic.DataTheta.ComparisonData F H K₁ A) |
| 65 | variable (B₂ : Adelic.DataTheta.ComparisonData F H S.form (IntrinsicSplitting.IntrinsicSummands.secondArithmetic A S)) |
| 66 | variable (B : Adelic.DataTheta.ComparisonData F H (IntrinsicSplitting.IntrinsicArithmetic.blockUnit K₁ S.form) (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S)) |
| 67 | |
| 68 | theorem real_imaginary_bilinear |
| 69 | (hC₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) (hC₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 70 | (hC : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 71 | (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) |
| 72 | (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) (x y : Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℝ) : |
| 73 | ((IntrinsicPositionMatrices.Intrinsic.realPositionMatrix B₁ B₂ B).mulVec x) ⬝ᵥ |
| 74 | ((realImaginary (IntrinsicBlockSiegel.Intrinsic.blockPeriod (B₁.period z) (B₂.period z)).matrix).mulVec |
| 75 | ((IntrinsicPositionMatrices.Intrinsic.realPositionMatrix B₁ B₂ B).mulVec y)) = |
| 76 | x ⬝ᵥ ((realImaginary (B.period z).matrix).mulVec y) := by |
| 77 | have hr (t : Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℝ) : |
| 78 | IntrinsicCoordinateAgreement.IntrinsicPositionTransport.complexPositionChange B₁ B₂ B (fun i => (t i : ℂ)) = |
| 79 | fun i => ((IntrinsicPositionMatrices.Intrinsic.realPositionMatrix B₁ B₂ B).mulVec t i : ℂ) := |
| 80 | (IntrinsicPositionMatrices.Intrinsic.positionMatrix_apply B₁ B₂ B hC₁ hC₂ hC _).symm.trans (IntrinsicPositionMatrices.Intrinsic.positionMatrix_ofReal B₁ B₂ B t) |
| 81 | have h := cross_graph_difference (IntrinsicComplexTransport.Intrinsic.complexPhaseChange B₁ B₂ B).toLinearMap |
| 82 | (IntrinsicCoordinateAgreement.IntrinsicPositionTransport.complexPositionChange B₁ B₂ B) (B.period z).matrix |
| 83 | (IntrinsicBlockSiegel.Intrinsic.blockPeriod (B₁.period z) (B₂.period z)).matrix |
| 84 | (IntrinsicSymplecticComparison.Intrinsic.complexPhaseChange_pairing B₁ B₂ B hC₁ hC₂ hC) |
| 85 | (IntrinsicCoordinateAgreement.IntrinsicPositionTransport.complexPhaseChange_positions B₁ B₂ B hC₁ hC₂ hC) |
| 86 | (IntrinsicPositionMatrices.IntrinsicShearComparison.graph_in_positions B₁ B₂ B hC₁ hC₂ hC hG₁ hG₂ hG z) |
| 87 | (fun i => (x i : ℂ)) (fun i => (y i : ℂ)) |
| 88 | rw [hr x, hr y] at h |
| 89 | have he := IntrinsicCoordinateAgreement.Intrinsic.complexPhaseChange_real B₁ B₂ B hC₁ hC₂ hC |
| 90 | (Sum.elim x (0 : Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℝ)) |
| 91 | have hc : (fun i => ((Sum.elim x (0 : Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℝ)) i : ℂ)) = |
| 92 | Sum.elim (fun i => (x i : ℂ)) (0 : Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℂ) := by |
| 93 | funext i |
| 94 | cases i <;> simp only [Sum.elim_inl, Sum.elim_inr, Pi.zero_apply, Complex.ofReal_zero] |
| 95 | rw [hc] at he |
| 96 | change _ - _ = ∑ j, IntrinsicComplexTransport.Intrinsic.complexPhaseChange B₁ B₂ B |
| 97 | (Sum.elim (fun i => (x i : ℂ)) (0 : Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℂ)) (.inr j) * |
| 98 | ((IntrinsicPositionMatrices.Intrinsic.realPositionMatrix B₁ B₂ B).mulVec y j : ℂ) at h |
| 99 | rw [he] at h |
| 100 | have hi := congrArg Complex.im h |
| 101 | rw [Complex.sub_im, complex_bilinear_im, complex_bilinear_im] at hi |
| 102 | have hz : (∑ j, |
| 103 | (IntrinsicRealTransport.Intrinsic.realPhaseChange B₁ B₂ B (Sum.elim x (0 : Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℝ)) (.inr j) : ℂ) * |
| 104 | ((IntrinsicPositionMatrices.Intrinsic.realPositionMatrix B₁ B₂ B).mulVec y j : ℂ)).im = 0 := by simp |
| 105 | rw [hz] at hi |
| 106 | exact sub_eq_zero.mp hi |
| 107 | |
| 108 | theorem imaginary_congruence |
| 109 | (hC₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) (hC₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 110 | (hC : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 111 | (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) |
| 112 | (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 113 | (IntrinsicPositionMatrices.Intrinsic.positionMatrix B₁ B₂ B)ᵀ * |
| 114 | AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.matrixImaginary (IntrinsicBlockSiegel.Intrinsic.blockPeriod (B₁.period z) (B₂.period z)).matrix * IntrinsicPositionMatrices.Intrinsic.positionMatrix B₁ B₂ B = |
| 115 | AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.matrixImaginary (B.period z).matrix := by |
| 116 | have h := congruence_of_bilinear (IntrinsicPositionMatrices.Intrinsic.realPositionMatrix B₁ B₂ B) |
| 117 | (realImaginary (B.period z).matrix) |
| 118 | (realImaginary (IntrinsicBlockSiegel.Intrinsic.blockPeriod (B₁.period z) (B₂.period z)).matrix) |
| 119 | (real_imaginary_bilinear B₁ B₂ B hC₁ hC₂ hC hG₁ hG₂ hG z) |
| 120 | have hc := congrArg (fun M => M.map Complex.ofRealHom) h |
| 121 | rw [Matrix.map_mul, Matrix.map_mul, Matrix.transpose_map] at hc |
| 122 | simp only [← IntrinsicPositionMatrices.Intrinsic.positionMatrix_real] at hc |
| 123 | exact hc |
| 124 | |
| 125 | theorem imaginary_inverse |
| 126 | (hC₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) (hC₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 127 | (hC : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 128 | (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) |
| 129 | (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 130 | (AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.matrixImaginary (IntrinsicBlockSiegel.Intrinsic.blockPeriod (B₁.period z) (B₂.period z)).matrix)⁻¹ = |
| 131 | IntrinsicPositionMatrices.Intrinsic.positionMatrix B₁ B₂ B * (AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.matrixImaginary (B.period z).matrix)⁻¹ * (IntrinsicPositionMatrices.Intrinsic.positionMatrix B₁ B₂ B)ᵀ := |
| 132 | IntrinsicInversePullback.Intrinsic.inverse_congruence _ (IntrinsicPositionMatrices.Intrinsic.positionInverse B₁ B₂ B) _ _ (IntrinsicPositionMatrices.Intrinsic.positionMatrix_inverse B₁ B₂ B) |
| 133 | (B.period z).matrixImaginary_det_isUnit |
| 134 | (IntrinsicBlockSiegel.Intrinsic.blockPeriod (B₁.period z) (B₂.period z)).matrixImaginary_det_isUnit |
| 135 | (imaginary_congruence B₁ B₂ B hC₁ hC₂ hC hG₁ hG₂ hG z) |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicImaginaryComparison.Intrinsic |