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.SingleComparisonPeriod |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineFrameDeterminant |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicFrameDeterminant |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceHalfDetAction |
| 5 | |
| 6 | /-! # Single Comparison Determinant -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleComparisonDeterminant.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exact denominator and determinant for any valid native comparison |
| 13 | of the actual source line. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField _root_.Matrix |
| 16 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.GeometricGaussians |
| 19 | |
| 20 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 21 | |
| 22 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 23 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 24 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 25 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 26 | (N : RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData _ _ _ (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j)) |
| 27 | (hN : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification N (SingleLineComponents.CM.directSingleLineFrames K Q j)) |
| 28 | (hG : RepresentationTheory.Theta.Adelic.DataTheta.GeometryIdentification N) |
| 29 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 30 | |
| 31 | include hG in |
| 32 | theorem single_comparison_frame_denominator_apply (z : B.Domain) (x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 33 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL)).complexify.denominator |
| 34 | (L.period z.val).matrix).mulVec x = |
| 35 | (ComparisonIndexedGraphs.CM.comparisonIndexedFrame N (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).mulVec |
| 36 | ((SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j).mulVec |
| 37 | (HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d j) (HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z.val) x))) := by |
| 38 | let w := HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z.val) x |
| 39 | let u := HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d j) w |
| 40 | have hr : Prescribed.CM.nativePeriodFrame K B places (d j) z.val u = w := |
| 41 | AdaptedTotal.CM.native_frame_recovers_line_graph K L z.val z.property x |
| 42 | have hf := (congrArg (SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j) hr).symm.trans |
| 43 | (SingleLineFrame.CM.direct_single_line_geometric_frame K d Q hμ j z u) |
| 44 | have ht := (SingleComparisonPeriod.CM.single_comparison_complex_transition K Q hμ j N hN L.coordinates w).trans hf |
| 45 | have hp := ComparisonIndexedGraphs.CM.comparison_indexed_graph_bottom N hG |
| 46 | (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 47 | ((SingleComparisonCoordinates.CM.singleComparisonTransitionMatrix K Q hμ j N L.coordinates).map (algebraMap ℚ ℂ) *ᵥ |
| 48 | SourceSymplecticAction.CM.sourceComplexSumCoordinates K L.coordinates w) (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u) ht |
| 49 | let γ := SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL |
| 50 | have hc := congrArg (fun y => γ.val.map (algebraMap ℚ ℂ) *ᵥ y) |
| 51 | (SourcePeriodAction.CM.source_graph_sum_coordinates K L.coordinates (L.period z.val) x) |
| 52 | have hα := hc.trans (MovingTotalPeriod.CM.rational_symplectic_graph_substitution γ (L.period z.val) x) |
| 53 | have hb := congrArg (fun y : (HeckeCycles.GeometricSource.CM.Positions K places ⊕ HeckeCycles.GeometricSource.CM.Positions K places) → ℂ => fun i => y (.inr i)) hα |
| 54 | have hbottom := hb.symm.trans hp |
| 55 | have hidx := SourceIntrinsicFrameDeterminant.CM.same_index_matrix_mulVec (SingleLineFrame.CM.sourceSingleIndexEquiv K places) |
| 56 | (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val |
| 57 | (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u) |
| 58 | have houter := congrArg (Matrix.mulVec (ComparisonIndexedGraphs.CM.comparisonIndexedFrame N (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z))) |
| 59 | (SingleLineFrameDeterminant.CM.direct_single_indexed_frame_coefficient_apply K Q j u) |
| 60 | exact hbottom.trans (houter.trans hidx).symm |
| 61 | |
| 62 | include hG in |
| 63 | theorem single_comparison_frame_denominator_matrix (z : B.Domain) : |
| 64 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL)).complexify.denominator |
| 65 | (L.period z.val).matrix = |
| 66 | ComparisonIndexedGraphs.CM.comparisonIndexedFrame N (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j * |
| 67 | SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val := by |
| 68 | apply Matrix.ext_iff_mulVec.mpr |
| 69 | intro x |
| 70 | simp only [← Matrix.mulVec_mulVec, SourceHalfDetAction.CM.source_adapted_graph_matrix_apply] |
| 71 | exact single_comparison_frame_denominator_apply K d Q hμ j N hN hG L hL z x |
| 72 | |
| 73 | include hG in |
| 74 | theorem single_comparison_frame_denominator_det (z : B.Domain) : |
| 75 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL)).complexify.denominator |
| 76 | (L.period z.val).matrix).det = |
| 77 | (N.halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 78 | (L.halfDet z.val : ℂ)) ^ 2 * (SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j).det := by |
| 79 | have h := congrArg Matrix.det (single_comparison_frame_denominator_matrix K d Q hμ j N hN hG L hL z) |
| 80 | simp only [Matrix.det_mul] at h |
| 81 | refine h.trans ?_ |
| 82 | have hf := ComparisonIndexedGraphs.CM.comparison_indexed_frame_det N hG (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 83 | have hg := SourceHalfDetAction.CM.source_adapted_graph_matrix_det K L z |
| 84 | have he := congrArg₂ (fun a b : ℂ => a * (SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j).det * b) hf hg |
| 85 | refine he.trans ?_ |
| 86 | ring |
| 87 | |
| 88 | include hG in |
| 89 | theorem single_comparison_theta_multiplier_square (z : B.Domain) : |
| 90 | IndexedCovariance.CM.indexedThetaMultiplier (SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL) (L.period z.val) ^ 2 = |
| 91 | (N.halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 92 | (L.halfDet z.val : ℂ)) ^ 2 * (SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j).det := |
| 93 | (IndexedCovariance.CM.indexed_theta_multiplier_square _ _).trans |
| 94 | (single_comparison_frame_denominator_det K d Q hμ j N hN hG L hL z) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleComparisonDeterminant.CM |