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.SingleLinePeriodGraph |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicFrameDeterminant |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceHalfDetAction |
| 4 | |
| 5 | /-! # Single Line Frame Determinant -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineFrameDeterminant.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exact denominator and determinant of the fixed symplectic transition |
| 12 | for an actual source line. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix |
| 15 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.GeometricGaussians |
| 18 | |
| 19 | section |
| 20 | |
| 21 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 22 | |
| 23 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 24 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 25 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) (j : Fin 2) |
| 26 | |
| 27 | def directSingleIndexedFrame (z : B.Domain) : Matrix (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℂ := |
| 28 | IntrinsicIndexedGraphs.CM.nativeIndexedFrame (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineComponents.CM.directSingleLineFrames K Q j) |
| 29 | (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 30 | |
| 31 | def directSingleIndexedFrameCoefficientEquiv : |
| 32 | (HeckeCycles.GeometricSource.CM.Positions K places → ℂ) ≃ₗ[ℂ] (HeckeCycles.GeometricSource.CM.Positions K places → ℂ) := |
| 33 | (SingleLineFrame.CM.directSingleLineFrameCoefficientEquiv K Q j).trans |
| 34 | (LinearEquiv.funCongrLeft ℂ ℂ (SingleLineFrame.CM.sourceSingleIndexEquiv K places)) |
| 35 | |
| 36 | def directSingleIndexedFrameCoefficientMatrix : Matrix (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℂ := |
| 37 | LinearMap.toMatrix' (directSingleIndexedFrameCoefficientEquiv K Q j).toLinearMap |
| 38 | |
| 39 | theorem direct_single_indexed_frame_coefficient_apply (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 40 | (directSingleIndexedFrameCoefficientMatrix K Q j).mulVec u = |
| 41 | fun i => SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u (SingleLineFrame.CM.sourceSingleIndexEquiv K places i) := by |
| 42 | rw [directSingleIndexedFrameCoefficientMatrix, LinearMap.toMatrix'_mulVec] |
| 43 | rfl |
| 44 | |
| 45 | theorem direct_single_indexed_frame_coefficient_det_ne_zero : |
| 46 | (directSingleIndexedFrameCoefficientMatrix K Q j).det ≠ 0 := by |
| 47 | rw [directSingleIndexedFrameCoefficientMatrix, LinearMap.det_toMatrix'] |
| 48 | exact (directSingleIndexedFrameCoefficientEquiv K Q j).isUnit_det'.ne_zero |
| 49 | |
| 50 | theorem direct_single_indexed_frame_det (z : B.Domain) : |
| 51 | (directSingleIndexedFrame K Q hμ j z).det = |
| 52 | (SingleLineComponents.CM.directSingleLineComparison K Q hμ j).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) ^ 2 := |
| 53 | IntrinsicIndexedGraphs.CM.native_indexed_frame_det (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineComponents.CM.directSingleLineFrames K Q j) |
| 54 | (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 59 | |
| 60 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 61 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 62 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 63 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 64 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 65 | |
| 66 | theorem single_source_native_frame_denominator_apply (z : B.Domain) (x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 67 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL)).complexify.denominator |
| 68 | (L.period z.val).matrix).mulVec x = |
| 69 | (directSingleIndexedFrame K Q hμ j z).mulVec |
| 70 | ((directSingleIndexedFrameCoefficientMatrix K Q j).mulVec |
| 71 | (HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d j) (HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z.val) x))) := by |
| 72 | let w := HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z.val) x |
| 73 | let u := HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d j) w |
| 74 | have hr : Prescribed.CM.nativePeriodFrame K B places (d j) z.val u = w := |
| 75 | AdaptedTotal.CM.native_frame_recovers_line_graph K L z.val z.property x |
| 76 | have hf := (congrArg (SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j) hr).symm.trans |
| 77 | (SingleLineFrame.CM.direct_single_line_geometric_frame K d Q hμ j z u) |
| 78 | have ht := (SingleLinePeriodGraph.CM.single_source_native_complex_transition K Q hμ j L.coordinates w).trans hf |
| 79 | have hp := IntrinsicIndexedGraphs.CM.native_indexed_graph_bottom (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineComponents.CM.directSingleLineFrames K Q j) |
| 80 | (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 81 | ((SingleLineTransition.CM.singleSourceNativeTransitionMatrix K Q hμ j L.coordinates).map (algebraMap ℚ ℂ) *ᵥ |
| 82 | SourceSymplecticAction.CM.sourceComplexSumCoordinates K L.coordinates w) (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u) ht |
| 83 | let γ := SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL |
| 84 | have hc := congrArg (fun y => γ.val.map (algebraMap ℚ ℂ) *ᵥ y) |
| 85 | (SourcePeriodAction.CM.source_graph_sum_coordinates K L.coordinates (L.period z.val) x) |
| 86 | have hα := hc.trans (MovingTotalPeriod.CM.rational_symplectic_graph_substitution γ (L.period z.val) x) |
| 87 | have hb := congrArg (fun y : (HeckeCycles.GeometricSource.CM.Positions K places ⊕ HeckeCycles.GeometricSource.CM.Positions K places) → ℂ => fun i => y (.inr i)) hα |
| 88 | have hbottom := hb.symm.trans hp |
| 89 | have hidx := SourceIntrinsicFrameDeterminant.CM.same_index_matrix_mulVec (SingleLineFrame.CM.sourceSingleIndexEquiv K places) |
| 90 | ((SingleLineComponents.CM.directSingleLineComparison K Q hμ j).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val |
| 91 | (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u) |
| 92 | have houter := congrArg (Matrix.mulVec (directSingleIndexedFrame K Q hμ j z)) |
| 93 | (direct_single_indexed_frame_coefficient_apply K Q j u) |
| 94 | exact hbottom.trans (houter.trans hidx).symm |
| 95 | |
| 96 | theorem single_source_native_frame_denominator_matrix (z : B.Domain) : |
| 97 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL)).complexify.denominator |
| 98 | (L.period z.val).matrix = |
| 99 | directSingleIndexedFrame K Q hμ j z * directSingleIndexedFrameCoefficientMatrix K Q j * |
| 100 | SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val := by |
| 101 | apply Matrix.ext_iff_mulVec.mpr |
| 102 | intro x |
| 103 | simp only [← Matrix.mulVec_mulVec, SourceHalfDetAction.CM.source_adapted_graph_matrix_apply] |
| 104 | exact single_source_native_frame_denominator_apply K d Q hμ j L hL z x |
| 105 | |
| 106 | theorem single_source_native_frame_denominator_det (z : B.Domain) : |
| 107 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL)).complexify.denominator |
| 108 | (L.period z.val).matrix).det = |
| 109 | ((SingleLineComponents.CM.directSingleLineComparison K Q hμ j).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 110 | (L.halfDet z.val : ℂ)) ^ 2 * (directSingleIndexedFrameCoefficientMatrix K Q j).det := by |
| 111 | have h := congrArg Matrix.det (single_source_native_frame_denominator_matrix K d Q hμ j L hL z) |
| 112 | simp only [Matrix.det_mul] at h |
| 113 | refine h.trans ?_ |
| 114 | have hf := direct_single_indexed_frame_det K Q hμ j z |
| 115 | have hg := SourceHalfDetAction.CM.source_adapted_graph_matrix_det K L z |
| 116 | have he := congrArg₂ (fun a b : ℂ => a * (directSingleIndexedFrameCoefficientMatrix K Q j).det * b) hf hg |
| 117 | refine he.trans ?_ |
| 118 | ring |
| 119 | |
| 120 | theorem single_source_native_theta_multiplier_square (z : B.Domain) : |
| 121 | IndexedCovariance.CM.indexedThetaMultiplier (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL) (L.period z.val) ^ 2 = |
| 122 | ((SingleLineComponents.CM.directSingleLineComparison K Q hμ j).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 123 | (L.halfDet z.val : ℂ)) ^ 2 * (directSingleIndexedFrameCoefficientMatrix K Q j).det := |
| 124 | (IndexedCovariance.CM.indexed_theta_multiplier_square _ _).trans |
| 125 | (single_source_native_frame_denominator_det K d Q hμ j L hL z) |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineFrameDeterminant.CM |