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.HeckeCycles.Source.PeriodDifferential |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.AnnihilatorFrame |
| 3 | |
| 4 | /-! # Dual Action -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.DualAction.CM |
| 11 | |
| 12 | /-! The source's conjugate Hermitian block is the actual dual action |
| 13 | after multiplying the last coordinate by b. This identifies its displayed |
| 14 | annihilator coordinates with AdelicTheta's explicitly computed dual frame. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PrescribedAction |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PeriodDifferential.CM |
| 20 | |
| 21 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 22 | {B : GeometricSource.CM.BallDatum E} |
| 23 | |
| 24 | def complexSL (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (τ : Gal(E/ℚ)) : |
| 25 | Matrix.SpecialLinearGroup (Fin 3) ℂ := |
| 26 | Matrix.SpecialLinearGroup.map (E.val.toRingHom.comp τ.toRingHom) g.val |
| 27 | |
| 28 | theorem complexSL_apply (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (τ : Gal(E/ℚ)) (x : GeometricSource.CM.Vec ℂ) : |
| 29 | (complexSL E g τ).val.mulVec x = UnitaryEq.CM.Frames.localAction E g τ x := rfl |
| 30 | |
| 31 | def weighted (b : E) (y : GeometricSource.CM.Vec ℂ) : GeometricSource.CM.Vec ℂ := ![y 0, y 1, (b : ℂ) * y 2] |
| 32 | |
| 33 | theorem pairing_weighted (x y : GeometricSource.CM.Vec ℂ) : |
| 34 | GeometricSource.CM.localPairing E B.b 1 x y = dotProduct x (weighted E B.b y) := by |
| 35 | simp [GeometricSource.CM.localPairing, weighted, dotProduct, Fin.sum_univ_succ] |
| 36 | ring |
| 37 | |
| 38 | theorem weighted_dual_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (y : GeometricSource.CM.Vec ℂ) : |
| 39 | weighted E B.b (UnitaryEq.CM.Frames.localAction E g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E) y) = |
| 40 | (complexSL E g 1)⁻¹.val.transpose.mulVec (weighted E B.b y) := by |
| 41 | funext i |
| 42 | let x := UnitaryEq.CM.Frames.localAction E g⁻¹ 1 (Pi.single i 1) |
| 43 | have hx : UnitaryEq.CM.Frames.localAction E g 1 x = Pi.single i 1 := by |
| 44 | change UnitaryEq.CM.Frames.localAction E g 1 (UnitaryEq.CM.Frames.localAction E g⁻¹ 1 (Pi.single i 1)) = _ |
| 45 | rw [← Module.End.mul_apply, ← UnitaryEq.CM.PrescribedAction.localAction_mul, mul_inv_cancel, |
| 46 | UnitaryEq.CM.PrescribedAction.localAction_one, Module.End.one_apply] |
| 47 | have hp := UnitaryEq.CM.Frames.pairing_preserved E g 1 x y |
| 48 | rw [mul_one, pairing_weighted, pairing_weighted, hx] at hp |
| 49 | have hd := RepresentationTheory.Theta.Adelic.AnnihilatorFrame.inverseTranspose_pairing |
| 50 | (complexSL E g 1) x (weighted E B.b y) |
| 51 | rw [complexSL_apply, hx] at hd |
| 52 | simpa [dotProduct, Pi.single_apply] using hp.trans hd.symm |
| 53 | |
| 54 | theorem weighted_annihilator (z : GeometricSource.CM.BallChart) (y : GeometricSource.CM.Vec ℂ) |
| 55 | (hy : GeometricSource.CM.localPairing E B.b 1 (GeometricSource.CM.BallDatum.lineVector z) y = 0) : |
| 56 | weighted E B.b y = RepresentationTheory.Theta.Adelic.AnnihilatorFrame.frameVector z |
| 57 | (fun i : Fin 2 => y i.castSucc) := by |
| 58 | have h := RepresentationTheory.Theta.Adelic.AnnihilatorFrame.annihilator_frame_coordinates z |
| 59 | (weighted E B.b y) ((pairing_weighted E _ _).symm.trans hy) |
| 60 | convert h using 1 |
| 61 | congr 1 |
| 62 | funext i |
| 63 | fin_cases i <;> rfl |
| 64 | |
| 65 | theorem annihilator_action_coordinates (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 66 | (z : GeometricSource.CM.BallChart) (y : GeometricSource.CM.Vec ℂ) |
| 67 | (hy : GeometricSource.CM.localPairing E B.b 1 (GeometricSource.CM.BallDatum.lineVector z) y = 0) : |
| 68 | (fun i : Fin 2 => UnitaryEq.CM.Frames.localAction E g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E) y i.castSucc) = |
| 69 | (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.dualCoordinates (complexSL E g 1) z).mulVec |
| 70 | (fun i : Fin 2 => y i.castSucc) := by |
| 71 | have he := weighted_dual_action E g y |
| 72 | rw [weighted_annihilator E z y hy] at he |
| 73 | have hframe : RepresentationTheory.Theta.Adelic.AnnihilatorFrame.frameVector z (fun i : Fin 2 => y i.castSucc) = |
| 74 | y 0 • RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector z 0 + |
| 75 | y 1 • RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector z 1 := by |
| 76 | ext i |
| 77 | fin_cases i <;> |
| 78 | simp [RepresentationTheory.Theta.Adelic.AnnihilatorFrame.frameVector, |
| 79 | RepresentationTheory.Theta.Adelic.DeterminantCoordinates.annihilatorVector] |
| 80 | ring |
| 81 | rw [hframe, Matrix.mulVec_add, Matrix.mulVec_smul, Matrix.mulVec_smul] at he |
| 82 | funext i |
| 83 | have h := congrFun he i.castSucc |
| 84 | fin_cases i <;> |
| 85 | simpa [weighted, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.dualCoordinates, |
| 86 | RepresentationTheory.Theta.Adelic.DeterminantCoordinates.dualColumn, Matrix.mulVec, dotProduct, |
| 87 | Fin.sum_univ_succ, mul_comm] using h |
| 88 | |
| 89 | theorem annihilator_coordinate_det (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) : |
| 90 | (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.dualCoordinates (complexSL E g 1) z).det = |
| 91 | PeriodDifferential.CM.lineScale E g z := |
| 92 | RepresentationTheory.Theta.Adelic.DeterminantCoordinates.dualCoordinates_det (complexSL E g 1) z |
| 93 | |
| 94 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.DualAction.CM |
| 95 | |
| 96 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.DualAction.CM.Frame |
| 97 | |
| 98 | /-! The exact action on the source's adapted Lagrangian frame. Its |
| 99 | determinant is the square of the distinguished line factor: compact |
| 100 | blocks have determinant one and the annihilator contributes the same |
| 101 | factor as the line. -/ |
| 102 | |
| 103 | open scoped Classical |
| 104 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 105 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PrescribedAction |
| 106 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PeriodDifferential.CM |
| 107 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.DualAction.CM |
| 108 | |
| 109 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 110 | {B : GeometricSource.CM.BallDatum E} (places : GeometricSource.CM.Places E) (d : Gal(E/ℚ) → Bool) |
| 111 | |
| 112 | def distinguishedBlock (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) : |
| 113 | Matrix (Fin 3) (Fin 3) ℂ := |
| 114 | let A := RepresentationTheory.Theta.Adelic.DeterminantCoordinates.dualCoordinates (complexSL E g 1) z |
| 115 | !![PeriodDifferential.CM.lineScale E g z, 0, 0; 0, A 0 0, A 0 1; 0, A 1 0, A 1 1] |
| 116 | |
| 117 | theorem distinguishedBlock_det (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) : |
| 118 | (distinguishedBlock E g z).det = PeriodDifferential.CM.lineScale E g z ^ 2 := by |
| 119 | calc |
| 120 | _ = PeriodDifferential.CM.lineScale E g z * |
| 121 | (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.dualCoordinates (complexSL E g 1) z).det := by |
| 122 | simp [distinguishedBlock, Matrix.det_fin_three, Matrix.det_fin_two] |
| 123 | ring |
| 124 | _ = _ := by rw [annihilator_coordinate_det, pow_two] |
| 125 | |
| 126 | def frameBlock (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) (i : Fin places.count) : |
| 127 | Matrix (Fin 3) (Fin 3) ℂ := |
| 128 | if i = places.distinguished then distinguishedBlock E g z |
| 129 | else (complexSL E g (if d (places.representative i) then |
| 130 | ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative i else places.representative i)).val |
| 131 | |
| 132 | theorem frameBlock_det (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) (i : Fin places.count) : |
| 133 | (frameBlock E places d g z i).det = |
| 134 | if i = places.distinguished then PeriodDifferential.CM.lineScale E g z ^ 2 else 1 := by |
| 135 | unfold frameBlock |
| 136 | split_ifs |
| 137 | · exact distinguishedBlock_det E g z |
| 138 | · exact (complexSL E g _).property |
| 139 | · exact (complexSL E g _).property |
| 140 | |
| 141 | def blockCoordinates : (GeometricSource.CM.Positions E places → ℂ) ≃ₗ[ℂ] (Fin places.count → GeometricSource.CM.Vec ℂ) where |
| 142 | toFun x i j := x (i, j) |
| 143 | invFun x p := x p.1 p.2 |
| 144 | left_inv _ := rfl |
| 145 | right_inv _ := rfl |
| 146 | map_add' _ _ := rfl |
| 147 | map_smul' _ _ := rfl |
| 148 | |
| 149 | def frameAction (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) : |
| 150 | Module.End ℂ (GeometricSource.CM.Positions E places → ℂ) := |
| 151 | (blockCoordinates E places).symm.toLinearMap.comp |
| 152 | ((LinearMap.pi (fun i => (Matrix.toLin' (frameBlock E places d g z i)).comp |
| 153 | (LinearMap.proj i))).comp (blockCoordinates E places).toLinearMap) |
| 154 | |
| 155 | theorem frameAction_apply (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) |
| 156 | (x : GeometricSource.CM.Positions E places → ℂ) (p : GeometricSource.CM.Positions E places) : |
| 157 | frameAction E places d g z x p = |
| 158 | (frameBlock E places d g z p.1).mulVec (fun j => x (p.1, j)) p.2 := rfl |
| 159 | |
| 160 | theorem frameAction_det (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) : |
| 161 | LinearMap.det (frameAction E places d g z) = PeriodDifferential.CM.lineScale E g z ^ 2 := by |
| 162 | let F := LinearMap.pi (fun i => (Matrix.toLin' (frameBlock E places d g z i)).comp |
| 163 | (LinearMap.proj i)) |
| 164 | have he : LinearMap.det (frameAction E places d g z) = LinearMap.det F := by |
| 165 | simpa only [LinearEquiv.symm_symm, frameAction, F, LinearMap.comp_assoc] using |
| 166 | LinearMap.det_conj F (blockCoordinates E places).symm |
| 167 | rw [he, LinearMap.det_pi] |
| 168 | simp_rw [LinearMap.det_toLin', frameBlock_det] |
| 169 | simp |
| 170 | |
| 171 | theorem line_action_coordinate (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 172 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (x : GeometricSource.CM.Vec ℂ) |
| 173 | (hx : x ∈ ℂ ∙ GeometricSource.CM.BallDatum.lineVector z) : |
| 174 | UnitaryEq.CM.Frames.localAction E g 1 x 2 = PeriodDifferential.CM.lineScale E g z * x 2 := by |
| 175 | obtain ⟨a, ha⟩ := Submodule.mem_span_singleton.mp hx |
| 176 | rw [← ha, map_smul, PeriodDifferential.CM.line_scale_action E g z hz] |
| 177 | change a * (PeriodDifferential.CM.lineScale E g z * 1) = PeriodDifferential.CM.lineScale E g z * (a * 1) |
| 178 | ring |
| 179 | |
| 180 | theorem adapted_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 181 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (w : GeometricSource.CM.Ambient E) |
| 182 | (hw : GeometricSource.CM.prescribed E B places d z w) : |
| 183 | GeometricSource.CM.adaptedCoordinates E places d (ComplexAction.CM.ambientOperator E g w) = |
| 184 | frameAction E places d g z (GeometricSource.CM.adaptedCoordinates E places d w) := by |
| 185 | funext p |
| 186 | rcases p with ⟨i, j⟩ |
| 187 | rw [frameAction_apply] |
| 188 | by_cases hi : i = places.distinguished |
| 189 | · subst i |
| 190 | have hp := hw places.distinguished |
| 191 | simp only [places.identity, mul_one] at hp |
| 192 | have hl := line_action_coordinate E g z hz (w 1) hp.1 |
| 193 | have ha := annihilator_action_coordinates E g z (w (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E)) hp.2 |
| 194 | fin_cases j |
| 195 | · simpa [GeometricSource.CM.adaptedCoordinates, frameBlock, distinguishedBlock, places.identity, |
| 196 | Matrix.mulVec, dotProduct, Fin.sum_univ_succ, UnitaryEq.CM.Frames.ambientOperator_apply] using hl |
| 197 | · simpa [GeometricSource.CM.adaptedCoordinates, frameBlock, distinguishedBlock, places.identity, |
| 198 | Matrix.mulVec, dotProduct, Fin.sum_univ_succ, UnitaryEq.CM.Frames.ambientOperator_apply] using congrFun ha 0 |
| 199 | · simpa [GeometricSource.CM.adaptedCoordinates, frameBlock, distinguishedBlock, places.identity, |
| 200 | Matrix.mulVec, dotProduct, Fin.sum_univ_succ, UnitaryEq.CM.Frames.ambientOperator_apply] using congrFun ha 1 |
| 201 | · simp only [GeometricSource.CM.adaptedCoordinates, LinearMap.coe_mk, AddHom.coe_mk, ite_eq_right hi, frameBlock] |
| 202 | split_ifs <;> rfl |
| 203 | |
| 204 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.DualAction.CM.Frame |
| 205 | |
| 206 | end |
| 207 | |
| 208 | end OAI |