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.IntrinsicCompactShear |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactRealPhase |
| 3 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicResidualEquiv |
| 4 | |
| 5 | /-! # Intrinsic Residual Shear Difference -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicResidualShearDifference.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The rational phase in the exact compact kernel comparison is the |
| 12 | difference of the two actual native residual quadratic forms. -/ |
| 13 | |
| 14 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 15 | |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 17 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactShear.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactRealPhase.Intrinsic |
| 18 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactPhaseChange.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicResidualPhase.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicResidualEquiv.Intrinsic |
| 19 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCotangentAction.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicLocalJacobiPhase.Intrinsic |
| 20 | |
| 21 | theorem pairing_shear_difference {I J V : Type} [Fintype I] [Fintype J] [Fintype V] |
| 22 | (u v : V → (J ⊕ J) → ℝ) (q : V → J → ℝ) (t : (I ⊕ I) → ℝ) (b : I → ℝ) |
| 23 | (hu : ∀ w i, u w (.inl i) = q w i) (hv : ∀ w i, v w (.inl i) = q w i) |
| 24 | (he : Adelic.DataTheta.standardPairing t (Sum.elim b (0 : I → ℝ)) = |
| 25 | ∑ w, Adelic.DataTheta.standardPairing (u w) (v w)) : |
| 26 | (∑ i, t (.inr i) * b i) = |
| 27 | (∑ w, ∑ i, q w i * u w (.inr i)) - (∑ w, ∑ i, q w i * v w (.inr i)) := by |
| 28 | simp only [Adelic.DataTheta.standardPairing,Sum.elim_inl,Sum.elim_inr,Pi.zero_apply,mul_zero,zero_sub, |
| 29 | Finset.sum_neg_distrib,hu,hv,Finset.sum_sub_distrib] at he |
| 30 | have hcomm : (∑ w, ∑ i, u w (.inr i) * q w i) = (∑ w, ∑ i, q w i * u w (.inr i)) := by |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro w _ |
| 33 | apply Finset.sum_congr rfl |
| 34 | intro i _ |
| 35 | exact mul_comm _ _ |
| 36 | rw [hcomm] at he |
| 37 | linarith |
| 38 | |
| 39 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 40 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 41 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 42 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} |
| 43 | |
| 44 | def purePositions (q : Adelic.BallGeometryData.RealPositions A) : Fin A.places → Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ 6 := |
| 45 | fun v => Sum.elim (q v) (0 : Fin 6 → ℝ) |
| 46 | |
| 47 | def residualQuadraticForm (B : Adelic.DataTheta.ComparisonData F H K A) (q : Adelic.BallGeometryData.RealPositions A) : ℝ := |
| 48 | ∑ v, ∑ i, q v i * IntrinsicResidualPhase.Intrinsic.residualPhase B (purePositions q) v (.inr i) |
| 49 | |
| 50 | theorem residual_pure_phase (B : Adelic.DataTheta.ComparisonData F H K A) (q : Adelic.BallGeometryData.RealPositions A) : |
| 51 | B.realPhase (IntrinsicResidualPhase.Intrinsic.residualPhase B (purePositions q)) = |
| 52 | Sum.elim (B.realPosition q) (0 : Adelic.BallGeometryData.FrameIndex A → ℝ) := by |
| 53 | unfold IntrinsicResidualPhase.Intrinsic.residualPhase |
| 54 | rw [B.realPhase.apply_symm_apply] |
| 55 | change Sum.elim (B.realPosition q) (IntrinsicLocalJacobiPhase.Intrinsic.globalRealMomentum B 0) = _ |
| 56 | rw [show IntrinsicLocalJacobiPhase.Intrinsic.globalRealMomentum B 0 = 0 from (IntrinsicMomentumEquiv.Intrinsic.momentumLinearEquiv B).map_zero] |
| 57 | |
| 58 | variable (p : IntrinsicCompactChoices.Intrinsic.CompactFrameChoice A) (B : Adelic.DataTheta.ComparisonData F H K A) |
| 59 | variable (Bp : Adelic.DataTheta.ComparisonData F H K (IntrinsicCompactChoices.Intrinsic.choiceArithmetic A p)) |
| 60 | variable {P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K} |
| 61 | |
| 62 | theorem compact_real_shear_residual_difference (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 63 | (hCp : Adelic.DataTheta.CoordinateIdentification Bp P) (q : Adelic.BallGeometryData.RealPositions A) : |
| 64 | (∑ i, IntrinsicCompactRealPhase.Intrinsic.compactRealPhaseChange p B Bp |
| 65 | (Sum.elim (B.realPosition q) (0 : Adelic.BallGeometryData.FrameIndex A → ℝ)) (.inr i) * Bp.realPosition q i) = |
| 66 | residualQuadraticForm B q - residualQuadraticForm Bp q := by |
| 67 | let u : Fin A.places → Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ 6 := IntrinsicResidualPhase.Intrinsic.residualPhase B (purePositions q) |
| 68 | let v : Fin A.places → Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ 6 := |
| 69 | IntrinsicResidualPhase.Intrinsic.residualPhase (A := IntrinsicCompactChoices.Intrinsic.choiceArithmetic A p) Bp (purePositions q) |
| 70 | have hu : (fun w i => u w (.inl i)) = q := IntrinsicResidualPhase.Intrinsic.residual_phase_positions B hC (purePositions q) |
| 71 | have hv : (fun w i => v w (.inl i)) = q := IntrinsicResidualPhase.Intrinsic.residual_phase_positions Bp hCp (purePositions q) |
| 72 | have he : Adelic.DataTheta.standardPairing (I := Adelic.BallGeometryData.FrameIndex A) (Bp.realPhase u) (Bp.realPhase v) = |
| 73 | ∑ w : Fin A.places, Adelic.DataTheta.standardPairing (u w) (v w) := hCp.2.2.2.2.2.1 u v |
| 74 | have hz : Bp.realPhase v = Sum.elim (Bp.realPosition q) (0 : Adelic.BallGeometryData.FrameIndex A → ℝ) := |
| 75 | residual_pure_phase Bp q |
| 76 | have hx : Bp.realPhase u = IntrinsicCompactRealPhase.Intrinsic.compactRealPhaseChange p B Bp |
| 77 | (Sum.elim (B.realPosition q) (0 : Adelic.BallGeometryData.FrameIndex A → ℝ)) := by |
| 78 | have h := residual_pure_phase B q |
| 79 | have ht := congrArg (fun y => Bp.realPhase (B.realPhase.symm y)) h |
| 80 | rw [B.realPhase.symm_apply_apply] at ht |
| 81 | exact ht |
| 82 | rw [hz,hx] at he |
| 83 | exact pairing_shear_difference u v q _ (Bp.realPosition q) |
| 84 | (fun w i => congrFun (congrFun hu w) i) (fun w i => congrFun (congrFun hv w) i) he |
| 85 | |
| 86 | theorem compact_real_phase_rational (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 87 | (hCp : Adelic.DataTheta.CoordinateIdentification Bp P) (u : (Adelic.BallGeometryData.FrameIndex A ⊕ Adelic.BallGeometryData.FrameIndex A) → ℚ) : |
| 88 | IntrinsicCompactRealPhase.Intrinsic.compactRealPhaseChange p B Bp (fun i => (u i : ℝ)) = |
| 89 | fun i => (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPhaseChange p B Bp u i : ℝ) := by |
| 90 | have hr := IntrinsicCompactRealPhase.Intrinsic.compact_phase_change_real p B Bp hC hCp (fun i => (u i : ℝ)) |
| 91 | simp only [Complex.ofReal_ratCast] at hr |
| 92 | rw [IntrinsicCompactPhaseChange.Intrinsic.compact_phase_change_rational p B Bp hC hCp] at hr |
| 93 | funext i |
| 94 | exact Complex.ofReal_injective ((congrFun hr i).symm.trans (Complex.ofReal_ratCast _).symm) |
| 95 | |
| 96 | theorem compact_rational_shear_residual_difference (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 97 | (hCp : Adelic.DataTheta.CoordinateIdentification Bp P) (x : Fin 6 → F) : |
| 98 | (IntrinsicCompactShear.Intrinsic.compactShearBilinear p B Bp x x : ℝ) = |
| 99 | residualQuadraticForm B (Adelic.BallGeometryData.archPositions A x) - residualQuadraticForm Bp (Adelic.BallGeometryData.archPositions A x) := by |
| 100 | have he := compact_real_shear_residual_difference p B Bp hC hCp (Adelic.BallGeometryData.archPositions A x) |
| 101 | have hB : B.realPosition (Adelic.BallGeometryData.archPositions A x) = fun i => (B.rationalPosition x i : ℝ) := |
| 102 | funext (hC.1 x) |
| 103 | have hp : Bp.realPosition (Adelic.BallGeometryData.archPositions A x) = fun i => (Bp.rationalPosition x i : ℝ) := |
| 104 | funext (hCp.1 x) |
| 105 | rw [hB,hp] at he |
| 106 | have hi : Sum.elim (fun i => (B.rationalPosition x i : ℝ)) (0 : Adelic.BallGeometryData.FrameIndex A → ℝ) = |
| 107 | fun i => ((Sum.elim (B.rationalPosition x) (0 : Adelic.BallGeometryData.FrameIndex A → ℚ)) i : ℝ) := by |
| 108 | funext i |
| 109 | cases i <;> simp |
| 110 | rw [hi,compact_real_phase_rational p B Bp hC hCp] at he |
| 111 | simp only [IntrinsicCompactShear.Intrinsic.compactShearBilinear_apply,Rat.cast_sum,Rat.cast_mul] |
| 112 | exact he |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicResidualShearDifference.Intrinsic |