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.SingleLineGroupAction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ConcreteApproximationFrameAction |
| 3 | |
| 4 | /-! # Single Line Frame Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineFrameAction.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The fixed source/native frame comparison intertwines the actual |
| 11 | one-line principal action and its dual action. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField _root_.Matrix |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.GeometricFrame |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.GeometricFrameCocycle.HodgeCovariance OAI.RepresentationTheory.Theta.Adelic.GeometricGroup |
| 17 | |
| 18 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 19 | |
| 20 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 21 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 22 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 23 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 24 | (N : ℕ) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) |
| 25 | |
| 26 | theorem direct_single_frame_coefficients_action (z : B.Domain) (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 27 | SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j |
| 28 | ((SourceFrameAction.CM.sourceFrameMatrix K g hg.2.1 B places (d j) z.val).mulVec u) = |
| 29 | (RepresentationTheory.Theta.Adelic.BallGeometryData.frameMatrix (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg) |
| 30 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).mulVec (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u) := by |
| 31 | let z' := BallLineAction.CM.ballPrincipalAction K B g hg.1 z |
| 32 | let S := SourceFrameAction.CM.sourceFrameMatrix K g hg.2.1 B places (d j) z.val |
| 33 | let w := Prescribed.CM.nativePeriodFrame K B places (d j) z.val u |
| 34 | have hc := (congrArg (SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j) |
| 35 | (SourceFrameAction.CM.source_native_frame_transform K g hg.2.1 B places (d j) hg.1 z u)).trans |
| 36 | (SingleLineFrame.CM.direct_single_line_geometric_frame K d Q hμ j z' (S.mulVec u)) |
| 37 | have ha := SingleLineGroupAction.CM.direct_single_complex_components_action K Q hμ j N g hg w |
| 38 | have hf := congrArg (RepresentationTheory.Theta.Adelic.BallGeometryData.geometricAction (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) |
| 39 | (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg)) (SingleLineFrame.CM.direct_single_line_geometric_frame K d Q hμ j z u) |
| 40 | have hn := RepresentationTheory.Theta.Adelic.GeometricFrameCocycle.HodgeCovariance.geometric_frame_covariance (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) |
| 41 | (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 42 | (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u) |
| 43 | have hb := congrArg (fun y => RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) y |
| 44 | ((RepresentationTheory.Theta.Adelic.BallGeometryData.frameMatrix (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg) |
| 45 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).mulVec (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u))) |
| 46 | (SingleLineGroupAction.CM.direct_single_principal_native_ball_action K Q hμ j N g hg z) |
| 47 | exact RepresentationTheory.Theta.Adelic.GeometricFrame.geometricFrame_injective (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z') |
| 48 | (hc.symm.trans (ha.trans (hf.trans (hn.trans hb)))) |
| 49 | |
| 50 | def directSingleIndexedFrameAction (z : B.Domain) : Matrix (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℂ := |
| 51 | (RepresentationTheory.Theta.Adelic.BallGeometryData.frameMatrix (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg) |
| 52 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).submatrix (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SingleLineFrame.CM.sourceSingleIndexEquiv K places) |
| 53 | |
| 54 | theorem direct_single_frame_action_matrix (z : B.Domain) : |
| 55 | SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j * SourceFrameAction.CM.sourceFrameMatrix K g hg.2.1 B places (d j) z.val = |
| 56 | directSingleIndexedFrameAction K d Q hμ j N g hg z * SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j := by |
| 57 | apply Matrix.ext_iff_mulVec.mpr |
| 58 | intro u |
| 59 | simp only [← Matrix.mulVec_mulVec] |
| 60 | have h := congrArg (fun x : Fin places.count × (Fin 3 × Fin 1) → ℂ => |
| 61 | fun i => x (SingleLineFrame.CM.sourceSingleIndexEquiv K places i)) (direct_single_frame_coefficients_action K d Q hμ j N g hg z u) |
| 62 | have hl := SingleLineFrameDeterminant.CM.direct_single_indexed_frame_coefficient_apply K Q j |
| 63 | ((SourceFrameAction.CM.sourceFrameMatrix K g hg.2.1 B places (d j) z.val).mulVec u) |
| 64 | have hr := (congrArg (Matrix.mulVec (directSingleIndexedFrameAction K d Q hμ j N g hg z)) |
| 65 | (SingleLineFrameDeterminant.CM.direct_single_indexed_frame_coefficient_apply K Q j u)).trans |
| 66 | (SourceIntrinsicFrameDeterminant.CM.same_index_matrix_mulVec (SingleLineFrame.CM.sourceSingleIndexEquiv K places) |
| 67 | (RepresentationTheory.Theta.Adelic.BallGeometryData.frameMatrix (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg) |
| 68 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)) (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u)) |
| 69 | exact hl.trans (h.trans hr.symm) |
| 70 | |
| 71 | theorem direct_single_dual_frame_action (z : B.Domain) (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 72 | SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j |
| 73 | ((SourceFrameAction.CM.sourceFrameMatrix K g hg.2.1 B places (d j) z.val)⁻¹ᵀ.mulVec u) = |
| 74 | RepresentationTheory.Theta.Adelic.BallGeometryData.dualFrameChange (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg) |
| 75 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) (SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j u) := by |
| 76 | have h := congrArg (fun M : Matrix (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℂ => M⁻¹ᵀ) |
| 77 | (direct_single_frame_action_matrix K d Q hμ j N g hg z) |
| 78 | simp only [Matrix.mul_inv_rev, Matrix.transpose_mul] at h |
| 79 | have hv := congrArg (fun M => M.mulVec u) h |
| 80 | simp only [← Matrix.mulVec_mulVec] at hv |
| 81 | have hi := congrArg (fun x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ => |
| 82 | fun k => x ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm k)) hv |
| 83 | have hr := FrameDualTransport.CM.reindexed_inverse_transpose_mulVec (SingleLineFrame.CM.sourceSingleIndexEquiv K places) |
| 84 | (RepresentationTheory.Theta.Adelic.BallGeometryData.frameMatrix (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg) |
| 85 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)) ((SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j)⁻¹ᵀ.mulVec u) |
| 86 | exact hi.trans hr |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineFrameAction.CM |