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.BilinearCoordinates |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.GeometricTracePairing |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.IntrinsicRealPhase |
| 4 | |
| 5 | /-! # Complex Symplectic Pairing -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Adelic.ComplexSymplecticPairing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The constructed complex coordinate equivalence preserves the |
| 12 | actual complexification of the trace symplectic form. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates OAI.RepresentationTheory.Theta.Adelic.GeometricTracePairing OAI.RepresentationTheory.Theta.Adelic.IntrinsicRealPhase.Intrinsic |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.BilinearCoordinates |
| 19 | |
| 20 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 21 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 22 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 23 | variable (A : BallGeometryData.BallArithmeticData F d m H K) |
| 24 | |
| 25 | def geometricForm : BallGeometryData.ComplexPhase A →ₗ[ℂ] BallGeometryData.ComplexPhase A →ₗ[ℂ] ℂ := |
| 26 | (2 * Complex.I)⁻¹ • ∑ v : Fin A.places, |
| 27 | (BilinearCoordinates.crossForm ℂ (Fin 3 × Fin m)).compl₁₂ (LinearMap.proj v) (LinearMap.proj v) |
| 28 | |
| 29 | theorem geometricForm_apply (x y : BallGeometryData.ComplexPhase A) : |
| 30 | geometricForm A x y = GeometricTracePairing.geometricPairing A x y := by |
| 31 | simp only [geometricForm, LinearMap.smul_apply, LinearMap.sum_apply] |
| 32 | change (2 * Complex.I)⁻¹ * (∑ v : Fin A.places, |
| 33 | ((∑ ij, (x v).1 ij * (y v).2 ij) - (∑ ij, (x v).2 ij * (y v).1 ij))) = _ |
| 34 | rw [Finset.mul_sum] |
| 35 | apply Finset.sum_congr rfl |
| 36 | intro v _ |
| 37 | rw [← Finset.sum_sub_distrib, Finset.mul_sum] |
| 38 | apply Finset.sum_congr rfl |
| 39 | intro ij _ |
| 40 | ring |
| 41 | |
| 42 | variable (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 43 | |
| 44 | theorem complexPhaseCoordinates_real_pairing |
| 45 | (x y : (BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℝ) : |
| 46 | GeometricTracePairing.geometricPairing A |
| 47 | (ComplexPhaseCoordinates.complexPhaseCoordinates A P (fun i => (x i : ℂ))) |
| 48 | (ComplexPhaseCoordinates.complexPhaseCoordinates A P (fun i => (y i : ℂ))) = |
| 49 | DataTheta.standardPairing (fun i => (x i : ℂ)) (fun i => (y i : ℂ)) := by |
| 50 | obtain ⟨s, rfl⟩ := (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P).surjective x |
| 51 | obtain ⟨t, rfl⟩ := (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P).surjective y |
| 52 | have hs : ComplexPhaseCoordinates.complexPhaseCoordinates A P (fun i => (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P s i : ℂ)) = |
| 53 | BallGeometryData.realTensorComponents A s := ComplexPhaseCoordinates.complexPhaseCoordinates_native A P s |
| 54 | have ht : ComplexPhaseCoordinates.complexPhaseCoordinates A P (fun i => (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P t i : ℂ)) = |
| 55 | BallGeometryData.realTensorComponents A t := ComplexPhaseCoordinates.complexPhaseCoordinates_native A P t |
| 56 | rw [hs, ht, GeometricTracePairing.realTensorComponents_pairing] |
| 57 | have h := congrArg (fun r : ℝ => (r : ℂ)) (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv_pairing A P s t) |
| 58 | simp only [DataTheta.standardPairing, Complex.ofReal_sum, Complex.ofReal_sub, Complex.ofReal_mul] at h |
| 59 | exact h.symm |
| 60 | |
| 61 | theorem complexPhaseCoordinates_pairing |
| 62 | (x y : (BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℂ) : |
| 63 | GeometricTracePairing.geometricPairing A (ComplexPhaseCoordinates.complexPhaseCoordinates A P x) (ComplexPhaseCoordinates.complexPhaseCoordinates A P y) = |
| 64 | DataTheta.standardPairing x y := by |
| 65 | have he : (geometricForm A).compl₁₂ |
| 66 | (ComplexPhaseCoordinates.complexPhaseCoordinates A P).toLinearEquiv.toLinearMap |
| 67 | (ComplexPhaseCoordinates.complexPhaseCoordinates A P).toLinearEquiv.toLinearMap = |
| 68 | BilinearCoordinates.standardForm ℂ (BallGeometryData.FrameIndex A) := by |
| 69 | apply BilinearCoordinates.complexBilinear_ext_real |
| 70 | intro u v |
| 71 | rw [LinearMap.compl₁₂_apply, geometricForm_apply, BilinearCoordinates.standardForm_apply] |
| 72 | exact complexPhaseCoordinates_real_pairing A P u v |
| 73 | rw [← geometricForm_apply, ← BilinearCoordinates.standardForm_apply] |
| 74 | exact congrArg (fun B => B x y) he |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.RepresentationTheory.Theta.Adelic.ComplexSymplecticPairing |