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.HodgeBlocks |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.GeometricFrame |
| 3 | |
| 4 | /-! # Geometric Frame Cocycle -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace RepresentationTheory.Theta.Adelic.GeometricFrameCocycle.HodgeCovariance |
| 11 | |
| 12 | /-! Covariance and determinant of the actual geometric Hodge frame, |
| 13 | including every definite place and every multiplicity line. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | |
| 17 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.GeometricGroup OAI.RepresentationTheory.Theta.Adelic.GeometricFrame OAI.RepresentationTheory.Theta.Adelic.BallFramePositivity.RankThreeHodgeAction |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.HodgeBlocks OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates |
| 20 | |
| 21 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 22 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 23 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 24 | variable (A : BallGeometryData.BallArithmeticData F d m H K) |
| 25 | |
| 26 | theorem distinguished_inverse_matrix (g : RationalSU.ArchimedeanSU F H) : |
| 27 | ((BallNatural.asSL (GeometricGroup.geometricBallHom A g))⁻¹).val = |
| 28 | (BallGeometryData.standardMatrix A g A.distinguished)⁻¹ := by |
| 29 | rw [Matrix.inv_def, HodgeBlocks.standardMatrix_det] |
| 30 | simp only [Ring.inverse_one, one_smul] |
| 31 | rfl |
| 32 | |
| 33 | theorem geometric_hodge_block_covariance (g : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) |
| 34 | (a : BallGeometryData.FrameIndex A → ℂ) : |
| 35 | BallGeometryData.geometricAction A g (BallGeometryData.geometricFrame A z a) = |
| 36 | BallGeometryData.geometricFrame A (GeometricGroup.geometricBallHom A g • z) ((HodgeBlocks.hodgeBlockMatrix A g z).mulVec a) := by |
| 37 | funext v |
| 38 | apply Prod.ext |
| 39 | · funext ij |
| 40 | rcases ij with ⟨i, j⟩ |
| 41 | by_cases hv : v = A.distinguished |
| 42 | · subst v |
| 43 | simp only [BallGeometryData.geometricAction, BallGeometryData.geometricFrame] |
| 44 | rw [HodgeBlocks.hodgeBlockMatrix_mulVec] |
| 45 | simp only [HodgeBlocks.hodgeBlock] |
| 46 | exact congrFun (BallFramePositivity.RankThreeHodgeAction.standard_hodge_transform (GeometricGroup.geometricBallHom A g) z |
| 47 | (fun k => a (A.distinguished, k, j))) i |
| 48 | · simp only [BallGeometryData.geometricAction, BallGeometryData.geometricFrame, ite_eq_right hv] |
| 49 | by_cases hp : A.positive v j |
| 50 | · simp only [ite_eq_left hp] |
| 51 | rw [HodgeBlocks.hodgeBlockMatrix_mulVec] |
| 52 | simp only [HodgeBlocks.hodgeBlock, ite_eq_right hv, ite_eq_left hp] |
| 53 | rfl |
| 54 | · simp [hp] |
| 55 | · funext ij |
| 56 | rcases ij with ⟨i, j⟩ |
| 57 | by_cases hv : v = A.distinguished |
| 58 | · subst v |
| 59 | simp only [BallGeometryData.geometricAction, BallGeometryData.geometricFrame] |
| 60 | rw [HodgeBlocks.hodgeBlockMatrix_mulVec, HodgeBlocks.hodgeBlockMatrix_mulVec] |
| 61 | simp only [HodgeBlocks.hodgeBlock] |
| 62 | have h := congrFun (BallFramePositivity.RankThreeHodgeAction.dual_hodge_transform (GeometricGroup.geometricBallHom A g) z |
| 63 | (fun k => a (A.distinguished, k, j))) i |
| 64 | rw [distinguished_inverse_matrix] at h |
| 65 | exact h |
| 66 | · simp only [BallGeometryData.geometricAction, BallGeometryData.geometricFrame, ite_eq_right hv] |
| 67 | by_cases hp : A.positive v j |
| 68 | · simp [hp] |
| 69 | · simp only [ite_eq_right hp] |
| 70 | rw [HodgeBlocks.hodgeBlockMatrix_mulVec] |
| 71 | simp only [HodgeBlocks.hodgeBlock, ite_eq_right hv, ite_eq_right hp] |
| 72 | rfl |
| 73 | |
| 74 | theorem frameMatrix_eq_hodgeBlockMatrix (g : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) : |
| 75 | BallGeometryData.frameMatrix A g z = HodgeBlocks.hodgeBlockMatrix A g z := by |
| 76 | apply Matrix.ext |
| 77 | intro i j |
| 78 | change BallGeometryData.geometricCoordinates A (BallGeometryData.geometricAction A g (BallGeometryData.geometricFrame A z (Pi.single j 1))) i = _ |
| 79 | rw [geometric_hodge_block_covariance, GeometricFrame.geometric_coordinates_frame] |
| 80 | simp only [Matrix.mulVec_single_one, Matrix.col_apply] |
| 81 | |
| 82 | theorem geometric_frame_covariance (g : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) |
| 83 | (a : BallGeometryData.FrameIndex A → ℂ) : |
| 84 | BallGeometryData.geometricAction A g (BallGeometryData.geometricFrame A z a) = |
| 85 | BallGeometryData.geometricFrame A (GeometricGroup.geometricBallHom A g • z) ((BallGeometryData.frameMatrix A g z).mulVec a) := by |
| 86 | rw [frameMatrix_eq_hodgeBlockMatrix] |
| 87 | exact geometric_hodge_block_covariance A g z a |
| 88 | |
| 89 | theorem geometric_frame_determinant (g : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) : |
| 90 | (BallGeometryData.frameMatrix A g z).det = |
| 91 | DeterminantCoordinates.hodgeDeterminantFactor (BallNatural.asSL (GeometricGroup.geometricBallHom A g)) z.val ^ m := by |
| 92 | rw [frameMatrix_eq_hodgeBlockMatrix] |
| 93 | exact HodgeBlocks.hodgeBlockMatrix_det A g z |
| 94 | |
| 95 | end RepresentationTheory.Theta.Adelic.GeometricFrameCocycle.HodgeCovariance |
| 96 | |
| 97 | namespace RepresentationTheory.Theta.Adelic.GeometricFrameCocycle |
| 98 | |
| 99 | /-! The actual Hodge frame and its dual satisfy the group cocycle laws. -/ |
| 100 | |
| 101 | open scoped Classical _root_.NumberField |
| 102 | |
| 103 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 104 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallNatural.Factors OAI.RepresentationTheory.Theta.Adelic.GeometricGroup OAI.RepresentationTheory.Theta.Adelic.GeometricFrame |
| 105 | open OAI.RepresentationTheory.Theta.Adelic.GeometricFrameCocycle.HodgeCovariance OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates |
| 106 | |
| 107 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 108 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 109 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 110 | variable (A : BallGeometryData.BallArithmeticData F d m H K) |
| 111 | |
| 112 | theorem standardMatrix_one (v : Fin A.places) : BallGeometryData.standardMatrix A 1 v = 1 := |
| 113 | congrArg Units.val (map_one (GeometricGroup.standardUnit A v)) |
| 114 | |
| 115 | theorem standardMatrix_mul (g h : RationalSU.ArchimedeanSU F H) (v : Fin A.places) : |
| 116 | BallGeometryData.standardMatrix A (g * h) v = BallGeometryData.standardMatrix A g v * BallGeometryData.standardMatrix A h v := |
| 117 | congrArg Units.val (map_mul (GeometricGroup.standardUnit A v) g h) |
| 118 | |
| 119 | theorem standardMatrix_inv (g : RationalSU.ArchimedeanSU F H) (v : Fin A.places) : |
| 120 | BallGeometryData.standardMatrix A g⁻¹ v = (BallGeometryData.standardMatrix A g v)⁻¹ := by |
| 121 | change (GeometricGroup.standardUnit A v g⁻¹).val = (GeometricGroup.standardUnit A v g).val⁻¹ |
| 122 | rw [map_inv, Matrix.coe_units_inv] |
| 123 | |
| 124 | theorem geometricAction_one (w : BallGeometryData.ComplexPhase A) : BallGeometryData.geometricAction A 1 w = w := by |
| 125 | funext v |
| 126 | apply Prod.ext <;> funext ij |
| 127 | · change (BallGeometryData.standardMatrix A 1 v).mulVec (fun k => (w v).1 (k, ij.2)) ij.1 = _ |
| 128 | rw [standardMatrix_one, Matrix.one_mulVec] |
| 129 | · change ((BallGeometryData.standardMatrix A 1 v)⁻¹)ᵀ.mulVec (fun k => (w v).2 (k, ij.2)) ij.1 = _ |
| 130 | rw [standardMatrix_one, inv_one, Matrix.transpose_one, Matrix.one_mulVec] |
| 131 | |
| 132 | theorem geometricAction_mul (g h : RationalSU.ArchimedeanSU F H) (w : BallGeometryData.ComplexPhase A) : |
| 133 | BallGeometryData.geometricAction A (g * h) w = BallGeometryData.geometricAction A g (BallGeometryData.geometricAction A h w) := by |
| 134 | funext v |
| 135 | apply Prod.ext <;> funext ij |
| 136 | · change (BallGeometryData.standardMatrix A (g * h) v).mulVec (fun k => (w v).1 (k, ij.2)) ij.1 = |
| 137 | (BallGeometryData.standardMatrix A g v).mulVec |
| 138 | ((BallGeometryData.standardMatrix A h v).mulVec (fun k => (w v).1 (k, ij.2))) ij.1 |
| 139 | rw [standardMatrix_mul, Matrix.mulVec_mulVec] |
| 140 | · change ((BallGeometryData.standardMatrix A (g * h) v)⁻¹)ᵀ.mulVec (fun k => (w v).2 (k, ij.2)) ij.1 = |
| 141 | ((BallGeometryData.standardMatrix A g v)⁻¹)ᵀ.mulVec |
| 142 | (((BallGeometryData.standardMatrix A h v)⁻¹)ᵀ.mulVec (fun k => (w v).2 (k, ij.2))) ij.1 |
| 143 | rw [← standardMatrix_inv, _root_.mul_inv_rev, standardMatrix_mul, Matrix.transpose_mul, |
| 144 | standardMatrix_inv, standardMatrix_inv, Matrix.mulVec_mulVec] |
| 145 | |
| 146 | theorem frameMatrix_one (z : BallNatural.Ball) : BallGeometryData.frameMatrix A 1 z = 1 := by |
| 147 | ext i j |
| 148 | change BallGeometryData.geometricCoordinates A (BallGeometryData.geometricAction A 1 (BallGeometryData.geometricFrame A z (Pi.single j 1))) i = _ |
| 149 | rw [geometricAction_one, GeometricFrame.geometric_coordinates_frame] |
| 150 | simp [Matrix.one_apply, Pi.single_apply] |
| 151 | |
| 152 | theorem frameMatrix_mul (g h : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) : |
| 153 | BallGeometryData.frameMatrix A (g * h) z = |
| 154 | BallGeometryData.frameMatrix A g (GeometricGroup.geometricBallHom A h • z) * BallGeometryData.frameMatrix A h z := by |
| 155 | have he (a : BallGeometryData.FrameIndex A → ℂ) := HodgeCovariance.geometric_frame_covariance A (g * h) z a |
| 156 | have hv (a : BallGeometryData.FrameIndex A → ℂ) : |
| 157 | (BallGeometryData.frameMatrix A (g * h) z).mulVec a = |
| 158 | (BallGeometryData.frameMatrix A g (GeometricGroup.geometricBallHom A h • z) * BallGeometryData.frameMatrix A h z).mulVec a := by |
| 159 | apply GeometricFrame.geometricFrame_injective A (GeometricGroup.geometricBallHom A (g * h) • z) |
| 160 | rw [← he, geometricAction_mul, HodgeCovariance.geometric_frame_covariance, HodgeCovariance.geometric_frame_covariance, |
| 161 | map_mul, mul_smul, Matrix.mulVec_mulVec] |
| 162 | ext i j |
| 163 | have h := congrFun (hv (Pi.single j 1)) i |
| 164 | simpa only [Matrix.mulVec_single_one, Matrix.col_apply] using h |
| 165 | |
| 166 | theorem frameMatrix_det_nonzero (g : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) : |
| 167 | (BallGeometryData.frameMatrix A g z).det ≠ 0 := by |
| 168 | rw [HodgeCovariance.geometric_frame_determinant, DeterminantCoordinates.hodgeDeterminantFactor_eq] |
| 169 | exact pow_ne_zero _ (pow_ne_zero _ (BallNatural.denominator_ne_zero _ _)) |
| 170 | |
| 171 | theorem dualFrameChange_one (z : BallNatural.Ball) (v : BallGeometryData.FrameIndex A → ℂ) : |
| 172 | BallGeometryData.dualFrameChange A 1 z v = v := by |
| 173 | simp only [BallGeometryData.dualFrameChange, frameMatrix_one, inv_one, Matrix.transpose_one, Matrix.one_mulVec] |
| 174 | |
| 175 | theorem dualFrameChange_mul (g h : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) (v : BallGeometryData.FrameIndex A → ℂ) : |
| 176 | BallGeometryData.dualFrameChange A (g * h) z v = |
| 177 | BallGeometryData.dualFrameChange A g (GeometricGroup.geometricBallHom A h • z) (BallGeometryData.dualFrameChange A h z v) := by |
| 178 | simp only [BallGeometryData.dualFrameChange, frameMatrix_mul, Matrix.mulVec_mulVec] |
| 179 | rw [Matrix.mul_inv_rev, Matrix.transpose_mul] |
| 180 | |
| 181 | end RepresentationTheory.Theta.Adelic.GeometricFrameCocycle |
| 182 | |
| 183 | end |
| 184 | |
| 185 | end OAI |