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.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicPlaceMatrices |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealGaussianCovariance |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.RealSymplecticAction |
| 4 | |
| 5 | /-! # Intrinsic Block -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicBlock.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The real trace-coordinate phase map and the exact block action of |
| 14 | the native real-place symplectic matrices. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField |
| 17 | open _root_.Matrix |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.PhaseCoordinates |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.RealSymplecticAction |
| 20 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 21 | |
| 22 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 23 | {H : (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 24 | {W : (Matrix (Fin m) (Fin m) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 25 | (A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData F d m H W) |
| 26 | |
| 27 | def nativePhaseUnflatten (x : (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A ⊕ RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) → ℝ) : |
| 28 | Fin A.places → RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ (3 * m) := fun v => |
| 29 | Sum.elim (IntrinsicPlaceMatrices.CM.nativePositionUnflatten A (fun i => x (.inl i)) v) |
| 30 | (IntrinsicPlaceMatrices.CM.nativePositionUnflatten A (fun i => x (.inr i)) v) |
| 31 | |
| 32 | theorem native_phase_unflatten_inl (x : (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A ⊕ RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) → ℝ) |
| 33 | (v : Fin A.places) (j : Fin (3 * m)) : |
| 34 | nativePhaseUnflatten A x v (.inl j) = x (.inl (v, finProdFinEquiv.symm j)) := rfl |
| 35 | |
| 36 | theorem native_phase_unflatten_inr (x : (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A ⊕ RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) → ℝ) |
| 37 | (v : Fin A.places) (j : Fin (3 * m)) : |
| 38 | nativePhaseUnflatten A x v (.inr j) = x (.inr (v, finProdFinEquiv.symm j)) := rfl |
| 39 | |
| 40 | theorem native_phase_matrix_coordinates (x : (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A ⊕ RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) → ℝ) : |
| 41 | RepresentationTheory.Theta.Adelic.PhaseCoordinates.realPhaseCoordinates A (nativePhaseUnflatten A x) = |
| 42 | Sum.elim ((IntrinsicPlaceMatrices.CM.nativePositionMatrix A).val.mulVec (fun i => x (.inl i))) |
| 43 | ((IntrinsicPlaceMatrices.CM.nativeMomentumMatrix A).val.mulVec (fun i => x (.inr i))) := by |
| 44 | funext i |
| 45 | cases i with |
| 46 | | inl i => exact (congrFun (IntrinsicPlaceMatrices.CM.native_position_matrix_apply A (fun j => x (.inl j))) i).symm |
| 47 | | inr i => exact (congrFun (IntrinsicPlaceMatrices.CM.native_momentum_matrix_apply A (fun j => x (.inr j))) i).symm |
| 48 | |
| 49 | theorem native_phase_swapped_coordinates (q p : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A → ℝ) : |
| 50 | RepresentationTheory.Theta.Adelic.DataTheta.swapPhase (RepresentationTheory.Theta.Adelic.PhaseCoordinates.realPhaseCoordinates A (nativePhaseUnflatten A (Sum.elim q p))) = |
| 51 | Sum.elim ((IntrinsicPlaceMatrices.CM.nativeMomentumMatrix A).val.mulVec p) ((IntrinsicPlaceMatrices.CM.nativePositionMatrix A).val.mulVec q) := by |
| 52 | rw [native_phase_matrix_coordinates] |
| 53 | rfl |
| 54 | |
| 55 | variable (P : RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H W) |
| 56 | |
| 57 | def nativeLocalSiegelBlocks (g : RepresentationTheory.Theta.Adelic.RationalSU.ArchimedeanSU F H) (v : Fin A.places) : |
| 58 | ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (Fin (3 * m)) ℝ := RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks (OscillatorPhaseOrder.CM.swapSymplecticPhase (RepresentationTheory.Theta.Adelic.RealSymplecticAction.localRealSymplectic A P g v)) |
| 59 | |
| 60 | theorem native_phase_place_action (g : RepresentationTheory.Theta.Adelic.RationalSU.ArchimedeanSU F H) (q p : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A → ℝ) : |
| 61 | RepresentationTheory.Theta.Adelic.RealSymplecticAction.realNativeAction A P g (nativePhaseUnflatten A (Sum.elim q p)) = |
| 62 | nativePhaseUnflatten A (Sum.elim |
| 63 | ((IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).D)).mulVec q + |
| 64 | (IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).C)).mulVec p) |
| 65 | ((IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).B)).mulVec q + |
| 66 | (IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).A)).mulVec p)) := by |
| 67 | funext v i |
| 68 | change RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.symplecticAction (RepresentationTheory.Theta.Adelic.RealSymplecticAction.localRealSymplectic A P g v) |
| 69 | (Sum.elim (IntrinsicPlaceMatrices.CM.nativePositionUnflatten A q v) (IntrinsicPlaceMatrices.CM.nativePositionUnflatten A p v)) i = _ |
| 70 | have h := RealGaussianCovariance.CM.swapped_symplectic_phase_action (OscillatorPhaseOrder.CM.swapSymplecticPhase (RepresentationTheory.Theta.Adelic.RealSymplecticAction.localRealSymplectic A P g v)) |
| 71 | (IntrinsicPlaceMatrices.CM.nativePositionUnflatten A q v) (IntrinsicPlaceMatrices.CM.nativePositionUnflatten A p v) |
| 72 | rw [OscillatorPhaseOrder.CM.swap_symplectic_phase_involutive] at h |
| 73 | cases i with |
| 74 | | inl j => |
| 75 | have hj := congrFun h (.inl j) |
| 76 | simpa only [native_phase_unflatten_inl, Sum.elim_inl, Pi.add_apply, |
| 77 | IntrinsicPlaceMatrices.CM.native_place_matrix_mulVec, Equiv.apply_symm_apply, |
| 78 | RealGaussianCovariance.CM.transformedPositionShift, nativeLocalSiegelBlocks] using! hj |
| 79 | | inr j => |
| 80 | have hj := congrFun h (.inr j) |
| 81 | simpa only [native_phase_unflatten_inr, Sum.elim_inr, Pi.add_apply, |
| 82 | IntrinsicPlaceMatrices.CM.native_place_matrix_mulVec, Equiv.apply_symm_apply, |
| 83 | RealGaussianCovariance.CM.transformedMomentumShift, nativeLocalSiegelBlocks] using! hj |
| 84 | |
| 85 | end |
| 86 | |
| 87 | section |
| 88 | |
| 89 | /-! The actual global symplectic action intertwines the local block |
| 90 | actions through the trace position and momentum matrices. -/ |
| 91 | |
| 92 | open scoped Classical _root_.NumberField |
| 93 | open _root_.Matrix |
| 94 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 95 | open OAI.RepresentationTheory.Theta.Adelic.RealSymplecticAction OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 96 | |
| 97 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 98 | {H : (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 99 | {W : (Matrix (Fin m) (Fin m) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 100 | (A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData F d m H W) (P : RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H W) |
| 101 | |
| 102 | theorem native_global_block_action (g : RepresentationTheory.Theta.Adelic.RationalSU.ArchimedeanSU F H) (q p : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A → ℝ) : |
| 103 | (RepresentationTheory.Theta.Adelic.DataTheta.blockMatrix (RepresentationTheory.Theta.Adelic.RealSymplecticAction.realSymplecticBlocks A P g)).mulVec |
| 104 | (Sum.elim ((IntrinsicPlaceMatrices.CM.nativeMomentumMatrix A).val.mulVec p) ((IntrinsicPlaceMatrices.CM.nativePositionMatrix A).val.mulVec q)) = |
| 105 | Sum.elim |
| 106 | ((IntrinsicPlaceMatrices.CM.nativeMomentumMatrix A).val.mulVec |
| 107 | ((IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).B)).mulVec q + |
| 108 | (IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).A)).mulVec p)) |
| 109 | ((IntrinsicPlaceMatrices.CM.nativePositionMatrix A).val.mulVec |
| 110 | ((IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).D)).mulVec q + |
| 111 | (IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).C)).mulVec p)) := by |
| 112 | let x := nativePhaseUnflatten A (Sum.elim q p) |
| 113 | have h := RepresentationTheory.Theta.Adelic.RealSymplecticAction.realSymplecticBlocks_action A P g x |
| 114 | have hn := funext (fun v => RepresentationTheory.Theta.Adelic.RealSymplecticAction.realNativeAction_apply A P g x v) |
| 115 | rw [← hn] at h |
| 116 | change (RepresentationTheory.Theta.Adelic.DataTheta.blockMatrix (RepresentationTheory.Theta.Adelic.RealSymplecticAction.realSymplecticBlocks A P g)).mulVec |
| 117 | (RepresentationTheory.Theta.Adelic.DataTheta.swapPhase (RepresentationTheory.Theta.Adelic.PhaseCoordinates.realPhaseCoordinates A |
| 118 | (nativePhaseUnflatten A (Sum.elim q p)))) = _ at h |
| 119 | rw [native_phase_swapped_coordinates, native_phase_place_action, |
| 120 | native_phase_swapped_coordinates] at h |
| 121 | exact h |
| 122 | |
| 123 | end |
| 124 | |
| 125 | /-! The four exact matrix identities behind the global/local real |
| 126 | symplectic action in trace position and momentum coordinates. -/ |
| 127 | |
| 128 | open scoped Classical _root_.NumberField |
| 129 | open _root_.Matrix |
| 130 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 131 | open OAI.RepresentationTheory.Theta.Adelic.RealSymplecticAction |
| 132 | |
| 133 | theorem block_action_intertwining_matrices |
| 134 | {I R : Type*} [Fintype I] [DecidableEq I] [CommRing R] |
| 135 | (G : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks I R) (S T A B C D : Matrix I I R) |
| 136 | (hact : ∀ q p : I → R, |
| 137 | (Matrix.fromBlocks G.A G.B G.C G.D).mulVec (Sum.elim (S.mulVec p) (T.mulVec q)) = |
| 138 | Sum.elim (S.mulVec (B.mulVec q + A.mulVec p)) (T.mulVec (D.mulVec q + C.mulVec p))) : |
| 139 | G.A * S = S * A ∧ G.B * T = S * B ∧ G.C * S = T * C ∧ G.D * T = T * D := by |
| 140 | refine ⟨?_, ?_, ?_, ?_⟩ |
| 141 | all_goals apply Matrix.ext; intro i j |
| 142 | · have h := congrFun (hact 0 (Pi.single j 1)) (.inl i) |
| 143 | simpa [Matrix.mulVec, dotProduct, Fintype.sum_sum_type, Matrix.fromBlocks, |
| 144 | Matrix.mul_apply, Pi.single_apply] using h |
| 145 | · have h := congrFun (hact (Pi.single j 1) 0) (.inl i) |
| 146 | simpa [Matrix.mulVec, dotProduct, Fintype.sum_sum_type, Matrix.fromBlocks, |
| 147 | Matrix.mul_apply, Pi.single_apply] using h |
| 148 | · have h := congrFun (hact 0 (Pi.single j 1)) (.inr i) |
| 149 | simpa [Matrix.mulVec, dotProduct, Fintype.sum_sum_type, Matrix.fromBlocks, |
| 150 | Matrix.mul_apply, Pi.single_apply] using h |
| 151 | · have h := congrFun (hact (Pi.single j 1) 0) (.inr i) |
| 152 | simpa [Matrix.mulVec, dotProduct, Fintype.sum_sum_type, Matrix.fromBlocks, |
| 153 | Matrix.mul_apply, Pi.single_apply] using h |
| 154 | |
| 155 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 156 | {H : (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 157 | {W : (Matrix (Fin m) (Fin m) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 158 | (A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData F d m H W) (P : RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H W) |
| 159 | |
| 160 | theorem native_block_intertwining (g : RepresentationTheory.Theta.Adelic.RationalSU.ArchimedeanSU F H) : |
| 161 | (RepresentationTheory.Theta.Adelic.RealSymplecticAction.realSymplecticBlocks A P g).A * (IntrinsicPlaceMatrices.CM.nativeMomentumMatrix A).val = |
| 162 | (IntrinsicPlaceMatrices.CM.nativeMomentumMatrix A).val * IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).A) ∧ |
| 163 | (RepresentationTheory.Theta.Adelic.RealSymplecticAction.realSymplecticBlocks A P g).B * (IntrinsicPlaceMatrices.CM.nativePositionMatrix A).val = |
| 164 | (IntrinsicPlaceMatrices.CM.nativeMomentumMatrix A).val * IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).B) ∧ |
| 165 | (RepresentationTheory.Theta.Adelic.RealSymplecticAction.realSymplecticBlocks A P g).C * (IntrinsicPlaceMatrices.CM.nativeMomentumMatrix A).val = |
| 166 | (IntrinsicPlaceMatrices.CM.nativePositionMatrix A).val * IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).C) ∧ |
| 167 | (RepresentationTheory.Theta.Adelic.RealSymplecticAction.realSymplecticBlocks A P g).D * (IntrinsicPlaceMatrices.CM.nativePositionMatrix A).val = |
| 168 | (IntrinsicPlaceMatrices.CM.nativePositionMatrix A).val * IntrinsicPlaceMatrices.CM.nativePlaceMatrix A (fun v => (nativeLocalSiegelBlocks A P g v).D) := |
| 169 | block_action_intertwining_matrices _ _ _ _ _ _ _ (native_global_block_action A P g) |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicBlock.CM |