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.IntrinsicCoordinateAgreement |
| 2 | |
| 3 | /-! # Intrinsic Symplectic Comparison -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicSymplecticComparison.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The native complex phase transport preserves the symplectic form, |
| 10 | as a consequence of its rational identification. -/ |
| 11 | |
| 12 | open scoped _root_.NumberField Classical _root_.Matrix BigOperators _root_.Matrix.Norms.Elementwise |
| 13 | |
| 14 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands |
| 15 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicArithmetic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicGlobal |
| 16 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicPhaseTransport.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicComplexTransport.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCoordinateAgreement.Intrinsic |
| 17 | |
| 18 | theorem linear_ext_rational {I V : Type} [Fintype I] [DecidableEq I] |
| 19 | [AddCommGroup V] [Module ℂ V] (f g : (I → ℂ) →ₗ[ℂ] V) |
| 20 | (h : ∀ x : I → ℚ, f (fun i => (x i : ℂ)) = g (fun i => (x i : ℂ))) : f = g := by |
| 21 | apply (Pi.basisFun ℂ I).ext |
| 22 | intro i |
| 23 | have hc : (fun j : I => ((Pi.single i (1 : ℚ) : I → ℚ) j : ℂ)) = |
| 24 | (Pi.single i (1 : ℂ) : I → ℂ) := by |
| 25 | funext j |
| 26 | by_cases hj : j = i <;> simp [hj] |
| 27 | have he := h (Pi.single i 1) |
| 28 | rw [hc] at he |
| 29 | simpa only [Pi.basisFun_apply] using he |
| 30 | |
| 31 | def pairingBilinear (k I : Type) [Field k] [Fintype I] : |
| 32 | ((I ⊕ I) → k) →ₗ[k] ((I ⊕ I) → k) →ₗ[k] k := |
| 33 | LinearMap.mk₂ k Adelic.DataTheta.standardPairing |
| 34 | (by |
| 35 | intro x y z |
| 36 | simp only [Adelic.DataTheta.standardPairing, Pi.add_apply, ← Finset.sum_add_distrib] |
| 37 | apply Finset.sum_congr rfl |
| 38 | intro i _ |
| 39 | ring) |
| 40 | (by |
| 41 | intro c x y |
| 42 | simp only [Adelic.DataTheta.standardPairing, Pi.smul_apply, smul_eq_mul, Finset.mul_sum] |
| 43 | apply Finset.sum_congr rfl |
| 44 | intro i _ |
| 45 | ring) |
| 46 | (by |
| 47 | intro x y z |
| 48 | simp only [Adelic.DataTheta.standardPairing, Pi.add_apply, ← Finset.sum_add_distrib] |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro i _ |
| 51 | ring) |
| 52 | (by |
| 53 | intro c x y |
| 54 | simp only [Adelic.DataTheta.standardPairing, Pi.smul_apply, smul_eq_mul, Finset.mul_sum] |
| 55 | apply Finset.sum_congr rfl |
| 56 | intro i _ |
| 57 | ring) |
| 58 | |
| 59 | theorem pairing_cast {I : Type} [Fintype I] (x y : (I ⊕ I) → ℚ) : |
| 60 | Adelic.DataTheta.standardPairing (fun i => (x i : ℂ)) (fun i => (y i : ℂ)) = |
| 61 | ((Adelic.DataTheta.standardPairing x y : ℚ) : ℂ) := by |
| 62 | simp only [Adelic.DataTheta.standardPairing, Rat.cast_sum, Rat.cast_sub, Rat.cast_mul] |
| 63 | |
| 64 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 65 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 66 | variable {K₁ : (Matrix (Fin 1) (Fin 1) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 67 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 1 H K₁} {S : IntrinsicSplitting.IntrinsicSummands.SecondLine A} |
| 68 | 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} |
| 69 | variable (B₁ : Adelic.DataTheta.ComparisonData F H K₁ A) |
| 70 | variable (B₂ : Adelic.DataTheta.ComparisonData F H S.form (IntrinsicSplitting.IntrinsicSummands.secondArithmetic A S)) |
| 71 | variable (B : Adelic.DataTheta.ComparisonData F H (IntrinsicSplitting.IntrinsicArithmetic.blockUnit K₁ S.form) (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S)) |
| 72 | |
| 73 | theorem complexPhaseChange_pairing (h₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) |
| 74 | (h₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 75 | (hB : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 76 | (x y : (Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) ⊕ Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S)) → ℂ) : |
| 77 | Adelic.DataTheta.standardPairing (IntrinsicComplexTransport.Intrinsic.complexPhaseChange B₁ B₂ B x) (IntrinsicComplexTransport.Intrinsic.complexPhaseChange B₁ B₂ B y) = |
| 78 | Adelic.DataTheta.standardPairing x y := by |
| 79 | let f := (pairingBilinear ℂ _).compl₁₂ (IntrinsicComplexTransport.Intrinsic.complexPhaseChange B₁ B₂ B).toLinearMap |
| 80 | (IntrinsicComplexTransport.Intrinsic.complexPhaseChange B₁ B₂ B).toLinearMap |
| 81 | have he : f = pairingBilinear ℂ _ := by |
| 82 | apply linear_ext_rational |
| 83 | intro u |
| 84 | apply linear_ext_rational |
| 85 | intro v |
| 86 | change Adelic.DataTheta.standardPairing (IntrinsicComplexTransport.Intrinsic.complexPhaseChange B₁ B₂ B (fun i => (u i : ℂ))) |
| 87 | (IntrinsicComplexTransport.Intrinsic.complexPhaseChange B₁ B₂ B (fun i => (v i : ℂ))) = |
| 88 | Adelic.DataTheta.standardPairing (fun i => (u i : ℂ)) (fun i => (v i : ℂ)) |
| 89 | rw [IntrinsicCoordinateAgreement.Intrinsic.complexPhaseChange_rational B₁ B₂ B h₁ h₂ hB u, |
| 90 | IntrinsicCoordinateAgreement.Intrinsic.complexPhaseChange_rational B₁ B₂ B h₁ h₂ hB v, |
| 91 | pairing_cast, pairing_cast, IntrinsicPhaseTransport.Intrinsic.rationalPhaseChange_pairing B₁ B₂ B h₁ h₂ hB] |
| 92 | exact congrArg (fun b => b x y) he |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicSymplecticComparison.Intrinsic |