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.IntrinsicGeometricAction |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.IntrinsicRealPhase |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.RealSymplecticAction |
| 4 | |
| 5 | /-! # Complex Intrinsic Action -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.IntrinsicPhaseIntertwining |
| 12 | |
| 13 | /-! The native real tensor frame intertwines the actual unitary action |
| 14 | with the constructed real symplectic-coordinate action. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField |
| 17 | |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.IntrinsicGeometricAction.Intrinsic OAI.RepresentationTheory.Theta.Adelic.IntrinsicRealPhase.Intrinsic |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.RealSymplecticAction OAI.RepresentationTheory.Theta.Adelic.PhaseCoordinates OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz |
| 20 | |
| 21 | theorem frame_action {k : Type} [Field k] {d : k} {n m : ℕ} |
| 22 | {H : Matrix (Fin n) (Fin n) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)} |
| 23 | {K : Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)} |
| 24 | (c : Weil.AdelicSplitting.TensorSpace.Construction.SymplecticFrame d n m H K) (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H × Weil.AdelicSplitting.UnitaryBase.Construction.Unitary K) (s : Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition d n m) : |
| 25 | Weil.Local.FunctionsMetaplectic.Construction.symplecticAction (Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H K c g) (c.coordinates s) = |
| 26 | c.coordinates (Weil.AdelicSplitting.TensorSpace.Construction.tensorLinear H K g s) := by |
| 27 | change Matrix.toLin' (LinearMap.toMatrix' (Weil.AdelicSplitting.TensorSpace.Construction.coordinateAction H K c g).toLinearMap) (c.coordinates s) = _ |
| 28 | rw [Matrix.toLin'_toMatrix'] |
| 29 | change c.coordinates (Weil.AdelicSplitting.TensorSpace.Construction.tensorLinear H K g (c.coordinates.symm (c.coordinates s))) = _ |
| 30 | rw [LinearEquiv.symm_apply_apply] |
| 31 | |
| 32 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 33 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 34 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 35 | variable (A : BallGeometryData.BallArithmeticData F d m H K) (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 36 | |
| 37 | theorem nativeRealPhase_apply |
| 38 | (s : ∀ v : Fin A.places, |
| 39 | Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) d) 3 m) : |
| 40 | IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P s = PhaseCoordinates.realPhaseCoordinates A (fun v j => A.real v |
| 41 | ((P.localFrame (.inl (A.enumerate v))).coordinates (s v) j)) := rfl |
| 42 | |
| 43 | theorem realCoordinateAction_nativePhase (g : RationalSU.ArchimedeanSU F H) |
| 44 | (s : ∀ v : Fin A.places, |
| 45 | Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) d) 3 m) : |
| 46 | RealSymplecticAction.realCoordinateAction A P g (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P s) = |
| 47 | IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P (IntrinsicGeometricAction.Intrinsic.nativeTensorAction A g s) := by |
| 48 | rw [nativeRealPhase_apply, nativeRealPhase_apply, RealSymplecticAction.realCoordinateAction_native] |
| 49 | apply congrArg (PhaseCoordinates.realPhaseCoordinates A) |
| 50 | funext v |
| 51 | rw [RealSymplecticAction.realNativeAction_apply] |
| 52 | have he : (fun j => (A.real v).symm (A.real v |
| 53 | ((P.localFrame (.inl (A.enumerate v))).coordinates (s v) j))) = |
| 54 | (P.localFrame (.inl (A.enumerate v))).coordinates (s v) := by |
| 55 | funext j |
| 56 | exact (A.real v).symm_apply_apply _ |
| 57 | rw [he] |
| 58 | exact congrArg (fun t => fun i => A.real v (t i)) |
| 59 | (frame_action (P.localFrame (.inl (A.enumerate v))) |
| 60 | (FiniteSchwartz.localSUToPair F H K (.inl (A.enumerate v)) (g (A.enumerate v))) (s v)) |
| 61 | |
| 62 | end RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.IntrinsicPhaseIntertwining |
| 63 | |
| 64 | namespace RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.Coordinate |
| 65 | |
| 66 | /-! The complexification of the actual real symplectic action is the |
| 67 | geometric standard/dual tensor action in the constructed coordinates. -/ |
| 68 | |
| 69 | open scoped Classical _root_.NumberField |
| 70 | |
| 71 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 72 | open OAI.RepresentationTheory.Theta.Adelic.BilinearCoordinates OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates OAI.RepresentationTheory.Theta.Adelic.IntrinsicRealPhase.Intrinsic |
| 73 | open OAI.RepresentationTheory.Theta.Adelic.RealSymplecticAction OAI.RepresentationTheory.Theta.Adelic.IntrinsicGeometricAction.Intrinsic OAI.RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.IntrinsicPhaseIntertwining |
| 74 | open OAI.RepresentationTheory.Theta.Adelic.TensorGeometricAction |
| 75 | |
| 76 | def complexifiedLinear {I : Type*} [Fintype I] [DecidableEq I] |
| 77 | (e : (I → ℝ) →ₗ[ℝ] (I → ℝ)) : (I → ℂ) →ₗ[ℂ] (I → ℂ) := |
| 78 | Matrix.toLin' ((LinearMap.toMatrix' e).map Complex.ofRealHom) |
| 79 | |
| 80 | theorem complexifiedLinear_real {I : Type*} [Fintype I] [DecidableEq I] |
| 81 | (e : (I → ℝ) →ₗ[ℝ] (I → ℝ)) (x : I → ℝ) : |
| 82 | complexifiedLinear e (fun i => (x i : ℂ)) = fun i => (e x i : ℂ) := by |
| 83 | funext i |
| 84 | exact (Complex.ofRealHom.map_mulVec (LinearMap.toMatrix' e) x i).symm.trans |
| 85 | (congrArg (fun r : ℝ => (r : ℂ)) (congrFun (LinearMap.toMatrix'_mulVec e x) i)) |
| 86 | |
| 87 | theorem complexLinear_ext_real {I V : Type*} [Fintype I] [AddCommGroup V] [Module ℂ V] |
| 88 | (f g : (I → ℂ) →ₗ[ℂ] V) |
| 89 | (hr : ∀ x : I → ℝ, f (fun i => (x i : ℂ)) = g (fun i => (x i : ℂ))) : f = g := by |
| 90 | apply (Pi.basisFun ℂ I).ext |
| 91 | intro i |
| 92 | rw [BilinearCoordinates.complex_basis_real] |
| 93 | exact hr _ |
| 94 | |
| 95 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 96 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 97 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 98 | variable (A : BallGeometryData.BallArithmeticData F d m H K) (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 99 | |
| 100 | theorem complex_coordinate_action (g : RationalSU.ArchimedeanSU F H) |
| 101 | (x : (BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℂ) : |
| 102 | ComplexPhaseCoordinates.complexPhaseCoordinates A P (complexifiedLinear (RealSymplecticAction.realCoordinateAction A P g).toLinearMap x) = |
| 103 | BallGeometryData.geometricAction A g (ComplexPhaseCoordinates.complexPhaseCoordinates A P x) := by |
| 104 | have hlinear : (ComplexPhaseCoordinates.complexPhaseCoordinates A P).toLinearEquiv.toLinearMap.comp |
| 105 | (complexifiedLinear (RealSymplecticAction.realCoordinateAction A P g).toLinearMap) = |
| 106 | (TensorGeometricAction.geometricActionLinear A g).comp (ComplexPhaseCoordinates.complexPhaseCoordinates A P).toLinearEquiv.toLinearMap := by |
| 107 | apply complexLinear_ext_real |
| 108 | intro u |
| 109 | obtain ⟨s, rfl⟩ := (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P).surjective u |
| 110 | rw [LinearMap.comp_apply, LinearMap.comp_apply, complexifiedLinear_real] |
| 111 | have hs : ComplexPhaseCoordinates.complexPhaseCoordinates A P (fun i => (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P s i : ℂ)) = |
| 112 | BallGeometryData.realTensorComponents A s := ComplexPhaseCoordinates.complexPhaseCoordinates_native A P s |
| 113 | have ht : ComplexPhaseCoordinates.complexPhaseCoordinates A P |
| 114 | (fun i => (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P (IntrinsicGeometricAction.Intrinsic.nativeTensorAction A g s) i : ℂ)) = |
| 115 | BallGeometryData.realTensorComponents A (IntrinsicGeometricAction.Intrinsic.nativeTensorAction A g s) := |
| 116 | ComplexPhaseCoordinates.complexPhaseCoordinates_native A P (IntrinsicGeometricAction.Intrinsic.nativeTensorAction A g s) |
| 117 | have he : (RealSymplecticAction.realCoordinateAction A P g).toLinearMap (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P s) = |
| 118 | IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P (IntrinsicGeometricAction.Intrinsic.nativeTensorAction A g s) := |
| 119 | IntrinsicPhaseIntertwining.realCoordinateAction_nativePhase A P g s |
| 120 | rw [he] |
| 121 | change ComplexPhaseCoordinates.complexPhaseCoordinates A P _ = TensorGeometricAction.geometricActionLinear A g (ComplexPhaseCoordinates.complexPhaseCoordinates A P _) |
| 122 | rw [hs, ht, TensorGeometricAction.geometricActionLinear_apply] |
| 123 | exact (IntrinsicGeometricAction.Intrinsic.native_geometric_action A g s).symm |
| 124 | exact (LinearMap.congr_fun hlinear x).trans (TensorGeometricAction.geometricActionLinear_apply A g _) |
| 125 | |
| 126 | end RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.Coordinate |
| 127 | |
| 128 | namespace RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.Siegel |
| 129 | |
| 130 | /-! Complexification commutes with the explicit phase swap. Thus the |
| 131 | constructed Siegel blocks act on the actual complex geometric coordinates. -/ |
| 132 | |
| 133 | open scoped Classical _root_.NumberField |
| 134 | |
| 135 | open _root_.Matrix |
| 136 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.BilinearCoordinates.Symplectic OAI.RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.Coordinate |
| 137 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.RealSymplecticAction |
| 138 | |
| 139 | theorem swap_cast {I : Type} (x : (I ⊕ I) → ℝ) : |
| 140 | DataTheta.swapPhase (fun i => (x i : ℂ)) = fun i => ((DataTheta.swapPhase x i : ℝ) : ℂ) := by |
| 141 | funext i |
| 142 | cases i <;> rfl |
| 143 | |
| 144 | theorem swap_swap {I k : Type} (x : (I ⊕ I) → k) : |
| 145 | DataTheta.swapPhase (DataTheta.swapPhase x) = x := by |
| 146 | funext i |
| 147 | cases i <;> rfl |
| 148 | |
| 149 | theorem complexified_swap {I : Type} [Fintype I] [DecidableEq I] |
| 150 | (e : ((I ⊕ I) → ℝ) ≃ₗ[ℝ] ((I ⊕ I) → ℝ)) (x : (I ⊕ I) → ℂ) : |
| 151 | Coordinate.complexifiedLinear (BilinearCoordinates.Symplectic.swapConjugate e).toLinearMap (DataTheta.swapPhase x) = |
| 152 | DataTheta.swapPhase (Coordinate.complexifiedLinear e.toLinearMap x) := by |
| 153 | have h : (Coordinate.complexifiedLinear (BilinearCoordinates.Symplectic.swapConjugate e).toLinearMap).comp |
| 154 | (BilinearCoordinates.Symplectic.phaseSwapLinear (k := ℂ)).toLinearMap = |
| 155 | (BilinearCoordinates.Symplectic.phaseSwapLinear (k := ℂ)).toLinearMap.comp (Coordinate.complexifiedLinear e.toLinearMap) := by |
| 156 | apply Coordinate.complexLinear_ext_real |
| 157 | intro u |
| 158 | change Coordinate.complexifiedLinear (BilinearCoordinates.Symplectic.swapConjugate e).toLinearMap |
| 159 | (DataTheta.swapPhase (fun i => (u i : ℂ))) = DataTheta.swapPhase (Coordinate.complexifiedLinear e.toLinearMap _) |
| 160 | rw [swap_cast, Coordinate.complexifiedLinear_real, Coordinate.complexifiedLinear_real, swap_cast] |
| 161 | change (fun i => (BilinearCoordinates.Symplectic.swapConjugate e (DataTheta.swapPhase u) i : ℂ)) = _ |
| 162 | rw [BilinearCoordinates.Symplectic.swapConjugate_apply, swap_swap] |
| 163 | rfl |
| 164 | exact LinearMap.congr_fun h x |
| 165 | |
| 166 | theorem complexify_blockMatrix {I : Type} [Fintype I] [DecidableEq I] |
| 167 | (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks I ℝ) : |
| 168 | DataTheta.blockMatrix g.complexify = (DataTheta.blockMatrix g).map Complex.ofRealHom := by |
| 169 | ext i j |
| 170 | cases i <;> cases j <;> rfl |
| 171 | |
| 172 | theorem complexified_blocks_swap {I : Type} [Fintype I] [DecidableEq I] |
| 173 | (e : ((I ⊕ I) → ℝ) ≃ₗ[ℝ] ((I ⊕ I) → ℝ)) |
| 174 | (hp : ∀ x y, DataTheta.standardPairing (e x) (e y) = DataTheta.standardPairing x y) |
| 175 | (x : (I ⊕ I) → ℂ) : |
| 176 | (DataTheta.blockMatrix (PoissonAutomorphyNormalizationData.blocks |
| 177 | (BilinearCoordinates.Symplectic.linearSymplectic (BilinearCoordinates.Symplectic.swapConjugate e) (BilinearCoordinates.Symplectic.swapConjugate_preserves e hp))).complexify).mulVec |
| 178 | (DataTheta.swapPhase x) = DataTheta.swapPhase (Coordinate.complexifiedLinear e.toLinearMap x) := by |
| 179 | rw [complexify_blockMatrix, BilinearCoordinates.Symplectic.blocks_matrix] |
| 180 | exact complexified_swap e x |
| 181 | |
| 182 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 183 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 184 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 185 | variable (A : BallGeometryData.BallArithmeticData F d m H K) (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 186 | |
| 187 | theorem complex_siegel_action (g : RationalSU.ArchimedeanSU F H) |
| 188 | (x : (BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℂ) : |
| 189 | (DataTheta.blockMatrix (RealSymplecticAction.realSymplecticBlocks A P g).complexify).mulVec (DataTheta.swapPhase x) = |
| 190 | DataTheta.swapPhase (Coordinate.complexifiedLinear (RealSymplecticAction.realCoordinateAction A P g).toLinearMap x) := by |
| 191 | exact complexified_blocks_swap (RealSymplecticAction.realCoordinateAction A P g) |
| 192 | (RealSymplecticAction.realCoordinateAction_preserves A P g) x |
| 193 | |
| 194 | end RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.Siegel |
| 195 | |
| 196 | end |
| 197 | |
| 198 | end OAI |