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.SourceIntrinsicPeriodGraph |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IndexedCovariance |
| 3 | |
| 4 | /-! # Source Intrinsic Frame Determinant -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicFrameDeterminant.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The denominator of the fixed source-to-native symplectic transition |
| 11 | is the product of the actual native frame, its constant source frame |
| 12 | change, and the source adapted graph. Its determinant identifies the |
| 13 | three square-root factors without a compatibility hypothesis. -/ |
| 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 | section |
| 21 | |
| 22 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 23 | |
| 24 | theorem same_index_matrix_mulVec {I J : Type} [Fintype I] [Fintype J] |
| 25 | (e : I ≃ J) (M : Matrix J J ℂ) (x : J → ℂ) : |
| 26 | (M.submatrix e e).mulVec (fun i => x (e i)) = fun i => M.mulVec x (e i) := by |
| 27 | funext i |
| 28 | exact e.sum_comp (fun j => M (e i) j * x j) |
| 29 | |
| 30 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 31 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 32 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) |
| 33 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 34 | |
| 35 | def directSourceIndexedFrame (z : B.Domain) : |
| 36 | Matrix (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) ℂ := |
| 37 | ((SourceComponents.CM.directSourceComparison K Q hμ hother).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val.submatrix |
| 38 | (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places) (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places) |
| 39 | |
| 40 | def directSourceIndexedFrameCoefficientEquiv : |
| 41 | (PeriodTotal.CM.TotalPositions K places → ℂ) ≃ₗ[ℂ] (PeriodTotal.CM.TotalPositions K places → ℂ) := |
| 42 | (SourceIntrinsicTransition.CM.directSourceFrameCoefficientEquiv K Q).trans |
| 43 | (LinearEquiv.funCongrLeft ℂ ℂ (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places)) |
| 44 | |
| 45 | def directSourceIndexedFrameCoefficientMatrix : |
| 46 | Matrix (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) ℂ := |
| 47 | LinearMap.toMatrix' (directSourceIndexedFrameCoefficientEquiv K Q).toLinearMap |
| 48 | |
| 49 | theorem direct_source_indexed_frame_coefficient_apply (u : PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 50 | (directSourceIndexedFrameCoefficientMatrix K Q).mulVec u = |
| 51 | fun i => SourceFrameComponents.CM.directSourceFrameCoefficients K Q u (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places i) := by |
| 52 | rw [directSourceIndexedFrameCoefficientMatrix, LinearMap.toMatrix'_mulVec] |
| 53 | rfl |
| 54 | |
| 55 | theorem direct_source_indexed_frame_coefficient_det_ne_zero : |
| 56 | (directSourceIndexedFrameCoefficientMatrix K Q).det ≠ 0 := by |
| 57 | rw [directSourceIndexedFrameCoefficientMatrix, LinearMap.det_toMatrix'] |
| 58 | exact (directSourceIndexedFrameCoefficientEquiv K Q).isUnit_det'.ne_zero |
| 59 | |
| 60 | theorem direct_source_indexed_frame_det (z : B.Domain) : |
| 61 | (directSourceIndexedFrame K Q hμ hother z).det = |
| 62 | (SourceComponents.CM.directSourceComparison K Q hμ hother).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) ^ 2 := by |
| 63 | refine (Matrix.det_submatrix_equiv_self (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places) |
| 64 | ((SourceComponents.CM.directSourceComparison K Q hμ hother).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val).trans ?_ |
| 65 | exact ((RepresentationTheory.Theta.Adelic.GeometricGaussians.constructedComparison_geometry (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) |
| 66 | (SourceComponents.CM.directSourceFrames K Q)).2.2.2.2.2.1 (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).2.symm |
| 67 | |
| 68 | theorem source_native_phase_graph_bottom (z : B.Domain) |
| 69 | (α : (PeriodTotal.CM.TotalPositions K places ⊕ PeriodTotal.CM.TotalPositions K places) → ℂ) |
| 70 | (a : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) → ℂ) |
| 71 | (h : SourceIntrinsicTransition.CM.directSourcePhaseRealization K Q hμ hother α = |
| 72 | RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) a) : |
| 73 | (fun i => α (.inr i)) = fun i => |
| 74 | ((SourceComponents.CM.directSourceComparison K Q hμ hother).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val.mulVec a |
| 75 | (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places i) := by |
| 76 | let N := SourceComponents.CM.directSourceComparison K Q hμ hother |
| 77 | let t := (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val.mulVec a |
| 78 | have hg : N.complexPhase (Sum.elim t ((N.period (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).matrix.mulVec t)) = |
| 79 | RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) a := |
| 80 | (RepresentationTheory.Theta.Adelic.GeometricGaussians.constructedComparison_geometry (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) |
| 81 | (SourceComponents.CM.directSourceFrames K Q)).2.2.2.2.2.2.1 (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) a |
| 82 | have hp := N.complexPhase.injective (h.trans hg.symm) |
| 83 | funext i |
| 84 | have he := congrFun hp (.inl (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places i)) |
| 85 | change α (.inr ((SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places).symm (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places i))) = |
| 86 | t (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places i) at he |
| 87 | simpa only [Equiv.symm_apply_apply] using! he |
| 88 | |
| 89 | omit d Q hμ hother in |
| 90 | theorem source_native_frame_denominator_apply |
| 91 | (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 92 | (Q : Lagrangians.CM.LagrangianPair K B places (fun j v => d j (places.representative v))) |
| 93 | (hμ : ∀ j, d j (places.representative places.distinguished) = true) |
| 94 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 95 | (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 96 | (hL : ∀ j, (L j).coordinates.a = Q.a j ∧ (L j).coordinates.delta = Q.delta) |
| 97 | (z : B.Domain) (x : PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 98 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SourceIntrinsicTransition.CM.sourceNativeSymplecticTransition K Q hμ hother |
| 99 | (fun j => (L j).coordinates) hL)).complexify.denominator |
| 100 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)).matrix).mulVec x = |
| 101 | (directSourceIndexedFrame K Q hμ hother z).mulVec |
| 102 | ((directSourceIndexedFrameCoefficientMatrix K Q).mulVec |
| 103 | (AdaptedTotal.CM.totalAdaptedCoordinates K places d |
| 104 | (TotalPeriodGraphs.CM.totalGraphInAmbient K (fun j => (L j).coordinates) |
| 105 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)) x))) := by |
| 106 | let w := TotalPeriodGraphs.CM.totalGraphInAmbient K (fun j => (L j).coordinates) |
| 107 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)) x |
| 108 | let u := AdaptedTotal.CM.totalAdaptedCoordinates K places d w |
| 109 | have hrec : AdaptedTotal.CM.totalNativePeriodFrame K B places d z.val u = w := |
| 110 | AdaptedTotal.CM.total_native_frame_recovers_graph K L z.val z.property x |
| 111 | have hf := (congrArg (SourceComponents.CM.directSourceComplexComponents K Q hμ hother) hrec).symm.trans |
| 112 | (SourceGeometricFrame.CM.direct_source_geometric_frame K d Q hμ hother z u) |
| 113 | have ht := (SourceIntrinsicTransition.CM.source_native_complex_transition K Q hμ hother (fun j => (L j).coordinates) w).trans hf |
| 114 | have hp := source_native_phase_graph_bottom K Q hμ hother z |
| 115 | ((SourceIntrinsicTransition.CM.sourceNativeTransitionMatrix K Q hμ hother (fun j => (L j).coordinates)).map (algebraMap ℚ ℂ) *ᵥ |
| 116 | ComplexTransition.CM.totalComplexCoordinates K (fun j => (L j).coordinates) w) (SourceFrameComponents.CM.directSourceFrameCoefficients K Q u) ht |
| 117 | let γ := SourceIntrinsicTransition.CM.sourceNativeSymplecticTransition K Q hμ hother (fun j => (L j).coordinates) hL |
| 118 | have hc := congrArg (fun y => γ.val.map (algebraMap ℚ ℂ) *ᵥ y) |
| 119 | (TotalPeriodGraphs.CM.total_graph_coordinates K (fun j => (L j).coordinates) |
| 120 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)) x) |
| 121 | have hα := hc.trans (MovingTotalPeriod.CM.rational_symplectic_graph_substitution γ |
| 122 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)) x) |
| 123 | have hb := congrArg (fun y : (PeriodTotal.CM.TotalPositions K places ⊕ PeriodTotal.CM.TotalPositions K places) → ℂ => |
| 124 | fun i => y (.inr i)) hα |
| 125 | have hbottom := hb.symm.trans hp |
| 126 | have hidx := same_index_matrix_mulVec (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places) |
| 127 | ((SourceComponents.CM.directSourceComparison K Q hμ hother).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val |
| 128 | (SourceFrameComponents.CM.directSourceFrameCoefficients K Q u) |
| 129 | have houter := congrArg (Matrix.mulVec (directSourceIndexedFrame K Q hμ hother z)) |
| 130 | (direct_source_indexed_frame_coefficient_apply K Q u) |
| 131 | exact hbottom.trans (houter.trans hidx).symm |
| 132 | |
| 133 | omit d Q hμ hother in |
| 134 | def sourceTotalAdaptedGraphMatrix |
| 135 | {d : Fin 2 → Gal(K/ℚ) → Bool} (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 136 | (z : HeckeCycles.GeometricSource.CM.BallChart) : Matrix (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) ℂ := |
| 137 | LinearMap.toMatrix' ((AdaptedTotal.CM.totalAdaptedCoordinates K places d).comp |
| 138 | (TotalPeriodGraphs.CM.totalGraphInAmbient K (fun j => (L j).coordinates) |
| 139 | (BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z)))) |
| 140 | |
| 141 | omit d Q hμ hother [IsGalois ℚ K] in |
| 142 | theorem source_total_adapted_graph_matrix_apply |
| 143 | {d : Fin 2 → Gal(K/ℚ) → Bool} (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 144 | (z : HeckeCycles.GeometricSource.CM.BallChart) (x : PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 145 | (sourceTotalAdaptedGraphMatrix K L z).mulVec x = |
| 146 | AdaptedTotal.CM.totalAdaptedCoordinates K places d |
| 147 | (TotalPeriodGraphs.CM.totalGraphInAmbient K (fun j => (L j).coordinates) |
| 148 | (BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z)) x) := |
| 149 | LinearMap.toMatrix'_mulVec _ _ |
| 150 | |
| 151 | omit d Q hμ hother [IsGalois ℚ K] in |
| 152 | theorem source_total_adapted_graph_matrix_det |
| 153 | {d : Fin 2 → Gal(K/ℚ) → Bool} (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 154 | (z : B.Domain) : |
| 155 | (sourceTotalAdaptedGraphMatrix K L z.val).det = |
| 156 | (((L 0).halfDet z.val : ℂ) * ((L 1).halfDet z.val : ℂ)) ^ 2 := by |
| 157 | rw [sourceTotalAdaptedGraphMatrix, LinearMap.det_toMatrix'] |
| 158 | exact AdaptedTotal.CM.total_adapted_graph_det K L z.val z.property |
| 159 | |
| 160 | end |
| 161 | |
| 162 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 163 | |
| 164 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 165 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 166 | (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 167 | (Q : Lagrangians.CM.LagrangianPair K B places (fun j v => d j (places.representative v))) |
| 168 | (hμ : ∀ j, d j (places.representative places.distinguished) = true) |
| 169 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 170 | (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 171 | (hL : ∀ j, (L j).coordinates.a = Q.a j ∧ (L j).coordinates.delta = Q.delta) |
| 172 | |
| 173 | theorem source_native_frame_denominator_matrix (z : B.Domain) : |
| 174 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SourceIntrinsicTransition.CM.sourceNativeSymplecticTransition K Q hμ hother |
| 175 | (fun j => (L j).coordinates) hL)).complexify.denominator |
| 176 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)).matrix = |
| 177 | directSourceIndexedFrame K Q hμ hother z * directSourceIndexedFrameCoefficientMatrix K Q * |
| 178 | sourceTotalAdaptedGraphMatrix K L z.val := by |
| 179 | apply Matrix.ext_iff_mulVec.mpr |
| 180 | intro x |
| 181 | simp only [← Matrix.mulVec_mulVec, source_total_adapted_graph_matrix_apply] |
| 182 | exact source_native_frame_denominator_apply K d Q hμ hother L hL z x |
| 183 | |
| 184 | theorem source_native_frame_denominator_det (z : B.Domain) : |
| 185 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SourceIntrinsicTransition.CM.sourceNativeSymplecticTransition K Q hμ hother |
| 186 | (fun j => (L j).coordinates) hL)).complexify.denominator |
| 187 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)).matrix).det = |
| 188 | ((SourceComponents.CM.directSourceComparison K Q hμ hother).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 189 | (((L 0).halfDet z.val : ℂ) * ((L 1).halfDet z.val : ℂ))) ^ 2 * |
| 190 | (directSourceIndexedFrameCoefficientMatrix K Q).det := by |
| 191 | have h := congrArg Matrix.det (source_native_frame_denominator_matrix K d Q hμ hother L hL z) |
| 192 | simp only [Matrix.det_mul] at h |
| 193 | refine h.trans ?_ |
| 194 | have hf := direct_source_indexed_frame_det K Q hμ hother z |
| 195 | have hg := source_total_adapted_graph_matrix_det K L z |
| 196 | have he := congrArg₂ (fun a b : ℂ => a * (directSourceIndexedFrameCoefficientMatrix K Q).det * b) hf hg |
| 197 | refine he.trans ?_ |
| 198 | ring |
| 199 | |
| 200 | theorem source_native_theta_multiplier_square (z : B.Domain) : |
| 201 | IndexedCovariance.CM.indexedThetaMultiplier (SourceIntrinsicTransition.CM.sourceNativeSymplecticTransition K Q hμ hother |
| 202 | (fun j => (L j).coordinates) hL) |
| 203 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)) ^ 2 = |
| 204 | ((SourceComponents.CM.directSourceComparison K Q hμ hother).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 205 | (((L 0).halfDet z.val : ℂ) * ((L 1).halfDet z.val : ℂ))) ^ 2 * |
| 206 | (directSourceIndexedFrameCoefficientMatrix K Q).det := |
| 207 | (IndexedCovariance.CM.indexed_theta_multiplier_square _ _).trans |
| 208 | (source_native_frame_denominator_det K d Q hμ hother L hL z) |
| 209 | |
| 210 | end |
| 211 | |
| 212 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicFrameDeterminant.CM |