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.SingleLineFrameAction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineLevel |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleSourceCotangentAction |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceBallCovariance |
| 5 | |
| 6 | /-! # Single Line Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineDescent.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The same-input native law gives literal covariance of the full |
| 15 | source tensor and invariance of the actual source one-form. -/ |
| 16 | |
| 17 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 18 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 20 | open OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization |
| 21 | |
| 22 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 23 | |
| 24 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 25 | |
| 26 | def singleSourceAdaptedThetaTensor {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 27 | {d : Gal(K/ℚ) → Bool} (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 28 | (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) (a : ℕ) (z : HeckeCycles.GeometricSource.CM.BallChart) : |
| 29 | ContinuousMultilinearMap ℂ (fun _ : Fin a => HeckeCycles.GeometricSource.CM.Positions K places → ℂ) ℂ := |
| 30 | (L.halfDet z : ℂ) • |
| 31 | (iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (L.period z)) 0).compContinuousLinearMap |
| 32 | (fun _ => (Matrix.toLin' (SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z)ᵀ).toContinuousLinearMap) |
| 33 | |
| 34 | variable {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 35 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 36 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 37 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 38 | (N : ℕ) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) |
| 39 | |
| 40 | omit N g hg in |
| 41 | theorem direct_single_native_source_adapted_tensor (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) |
| 42 | (z₀ z : B.Domain) (a : ℕ) (u : Fin a → HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 43 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor (SingleLineComponents.CM.directSingleLineComparison K Q hμ j) |
| 44 | (SingleLineComparison.CM.directSingleNativeFiniteInput K Q hμ j L.coordinates hL φ) a |
| 45 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) (fun k => SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (u k)) = |
| 46 | (((Nat.factorial a : ℂ)⁻¹) * SingleLineHalfRatio.CM.singleSourceNativeHalfRatio K d Q hμ j L hL z₀) * |
| 47 | singleSourceAdaptedThetaTensor K L φ a z.val u := by |
| 48 | have h := SingleLineGeometricTensor.CM.single_source_native_geometric_tensor K d Q hμ j L hL φ z₀ z a u |
| 49 | simpa only [singleSourceAdaptedThetaTensor, _root_.smul_apply, smul_eq_mul, |
| 50 | ContinuousMultilinearMap.compContinuousLinearMap_apply, mul_assoc] using! h |
| 51 | |
| 52 | theorem direct_single_source_tensor_covariant (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) |
| 53 | (hcov : SingleLineLevel.CM.SingleSourceThetaCovariant K d Q hμ j L hL φ N g hg) |
| 54 | (z : B.Domain) (a : ℕ) (u : Fin a → HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 55 | singleSourceAdaptedThetaTensor K L φ a (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g z.val) |
| 56 | (fun k => (SourceFrameAction.CM.sourceFrameMatrix K g hg.2.1 B places (d j) z.val)⁻¹ᵀ.mulVec (u k)) = |
| 57 | ((BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2) * |
| 58 | singleSourceAdaptedThetaTensor K L φ a z.val u := by |
| 59 | let z' := BallLineAction.CM.ballPrincipalAction K B g hg.1 z |
| 60 | let S := SourceFrameAction.CM.sourceFrameMatrix K g hg.2.1 B places (d j) z.val |
| 61 | let c := ((Nat.factorial a : ℂ)⁻¹) * SingleLineHalfRatio.CM.singleSourceNativeHalfRatio K d Q hμ j L hL z |
| 62 | have hc : c ≠ 0 := mul_ne_zero (inv_ne_zero (Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero a))) |
| 63 | (SingleLineHalfRatio.CM.single_source_native_half_ratio_ne_zero K d Q hμ j L hL z) |
| 64 | have hu : (fun k => SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (S⁻¹ᵀ.mulVec (u k))) = |
| 65 | (fun k => RepresentationTheory.Theta.Adelic.BallGeometryData.dualFrameChange (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineGroupAction.CM.singleSourceArchimedeanElement K Q N g hg) |
| 66 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) (SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (u k))) := |
| 67 | funext (fun k => SingleLineFrameAction.CM.direct_single_dual_frame_action K d Q hμ j N g hg z (u k)) |
| 68 | have hl := direct_single_native_source_adapted_tensor K d Q hμ j L hL φ z z' a (fun k => S⁻¹ᵀ.mulVec (u k)) |
| 69 | have hr := direct_single_native_source_adapted_tensor K d Q hμ j L hL φ z z a u |
| 70 | have he := congrArg (RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor (SingleLineComponents.CM.directSingleLineComparison K Q hμ j) |
| 71 | (SingleLineComparison.CM.directSingleNativeFiniteInput K Q hμ j L.coordinates hL φ) a (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z')) hu |
| 72 | have hn := hcov z a (fun k => SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (u k)) |
| 73 | have ht := congrArg (fun x : ℂ => ((BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2) * x) hr |
| 74 | apply mul_left_cancel₀ hc |
| 75 | exact (hl.symm.trans (he.trans (hn.trans ht))).trans (mul_left_comm _ _ _) |
| 76 | |
| 77 | theorem direct_single_source_tangent_tensor_covariant (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) |
| 78 | (hcov : SingleLineLevel.CM.SingleSourceThetaCovariant K d Q hμ j L hL φ N g hg) (z : B.Domain) (ξ : HeckeCycles.GeometricSource.CM.BallChart) : |
| 79 | singleSourceAdaptedThetaTensor K L φ 1 (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g z.val) |
| 80 | (fun _ => SingleSourceCotangentAction.CM.singleAdaptedTangentSlot K places (fderiv ℂ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val ξ)) = |
| 81 | singleSourceAdaptedThetaTensor K L φ 1 z.val (fun _ => SingleSourceCotangentAction.CM.singleAdaptedTangentSlot K places ξ) := by |
| 82 | let S := SourceFrameAction.CM.sourceFrameMatrix K g hg.2.1 B places (d j) z.val |
| 83 | let κ := (BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2 |
| 84 | let u : Fin 1 → HeckeCycles.GeometricSource.CM.Positions K places → ℂ := fun _ => SingleSourceCotangentAction.CM.singleAdaptedTangentSlot K places ξ |
| 85 | let u' : Fin 1 → HeckeCycles.GeometricSource.CM.Positions K places → ℂ := |
| 86 | fun _ => SingleSourceCotangentAction.CM.singleAdaptedTangentSlot K places (fderiv ℂ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val ξ) |
| 87 | let T := singleSourceAdaptedThetaTensor K L φ 1 (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g z.val) |
| 88 | have hu : (fun i : Fin 1 => S⁻¹ᵀ.mulVec (u i)) = fun i => κ • u' i := |
| 89 | funext (fun _ => SingleSourceCotangentAction.CM.single_source_dual_tangent K g hg.2.1 B places (d j) hg.1 z ξ) |
| 90 | have hs : T (fun i => κ • u' i) = κ * T u' := by |
| 91 | have h := T.toMultilinearMap.map_smul_univ (fun _ : Fin 1 => κ) u' |
| 92 | simpa only [Fin.prod_univ_one, smul_eq_mul] using! h |
| 93 | have ht := congrArg T hu |
| 94 | have hn := direct_single_source_tensor_covariant K d Q hμ j L hL N g hg φ hcov z 1 u |
| 95 | exact mul_left_cancel₀ (BallLineAction.CM.ball_action_denominator_ne_zero K B g hg.1 z) (hs.symm.trans (ht.symm.trans hn)) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | /-! Every fixed original one-line theta input descends at all multiples |
| 100 | of one actual principal level. The representative is the literal pure |
| 101 | closed source form, so it supplies the full HeckeCycles source predicate. -/ |
| 102 | |
| 103 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 104 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 105 | open OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization |
| 106 | |
| 107 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 108 | |
| 109 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 110 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 111 | |
| 112 | section SourceProjection |
| 113 | variable {d : Gal(K/ℚ) → Bool} (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 114 | |
| 115 | omit [IsGalois ℚ K] in |
| 116 | theorem single_source_adapted_tensor_slot (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) (z : HeckeCycles.GeometricSource.CM.BallChart) (i : Fin 2) : |
| 117 | singleSourceAdaptedThetaTensor K L φ 1 z (fun _ => SingleAdaptedDualSlots.CM.singleAdaptedDualSlot K places i) = |
| 118 | Slots.CM.sourceThetaCoordinates K L φ z i := by |
| 119 | simp only [singleSourceAdaptedThetaTensor, _root_.smul_apply, smul_eq_mul, |
| 120 | ContinuousMultilinearMap.compContinuousLinearMap_apply, iteratedFDeriv_one_apply] |
| 121 | exact (congrArg ((L.halfDet z : ℂ) * ·) |
| 122 | (congrArg (fderiv ℂ (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (L.period z)) 0) |
| 123 | (SingleAdaptedDualSlots.CM.theta_jacobi_slot_adapted_transpose K L z i).symm)).trans |
| 124 | (Slots.CM.source_coordinates_completed_slots K L φ z i).symm |
| 125 | |
| 126 | omit [IsGalois ℚ K] in |
| 127 | theorem single_source_adapted_tensor_tangent (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) (z ξ : HeckeCycles.GeometricSource.CM.BallChart) : |
| 128 | singleSourceAdaptedThetaTensor K L φ 1 z (fun _ => SingleSourceCotangentAction.CM.singleAdaptedTangentSlot K places ξ) = |
| 129 | HeckeCycles.GeometricSource.CM.thetaOneForm K L φ z ξ := by |
| 130 | let l : (HeckeCycles.GeometricSource.CM.Positions K places → ℂ) →L[ℂ] ℂ := |
| 131 | (L.halfDet z : ℂ) • (fderiv ℂ (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (L.period z)) 0).comp |
| 132 | (Matrix.toLin' (SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z)ᵀ).toContinuousLinearMap |
| 133 | have he (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 134 | singleSourceAdaptedThetaTensor K L φ 1 z (fun _ => u) = l u := by |
| 135 | simp only [singleSourceAdaptedThetaTensor, _root_.smul_apply, smul_eq_mul, |
| 136 | ContinuousMultilinearMap.compContinuousLinearMap_apply, iteratedFDeriv_one_apply] |
| 137 | rfl |
| 138 | have hi (i : Fin 2) : l (SingleAdaptedDualSlots.CM.singleAdaptedDualSlot K places i) = Slots.CM.sourceThetaCoordinates K L φ z i := |
| 139 | (he _).symm.trans (single_source_adapted_tensor_slot K L φ z i) |
| 140 | have hb := congrArg (Projection.CM.sourceThetaCovector K L φ z) ((Pi.basisFun ℂ (Fin 2)).sum_repr ξ) |
| 141 | simp only [map_sum, map_smul, Pi.basisFun_repr, smul_eq_mul] at hb |
| 142 | rw [he, SingleSourceCotangentAction.CM.singleAdaptedTangentSlot, map_sum] |
| 143 | simp only [map_smul, smul_eq_mul, hi] |
| 144 | have hc (i : Fin 2) : Slots.CM.sourceThetaCoordinates K L φ z i = |
| 145 | Projection.CM.sourceThetaCovector K L φ z ((Pi.basisFun ℂ (Fin 2)) i) := by |
| 146 | apply congrArg (Projection.CM.sourceThetaCovector K L φ z) |
| 147 | funext k |
| 148 | simp only [Pi.basisFun_apply, Pi.single_apply] |
| 149 | split_ifs <;> rfl |
| 150 | exact (Finset.sum_congr rfl (fun i _ => congrArg (ξ i * ·) (hc i))).trans |
| 151 | (hb.trans (Projection.CM.source_theta_covector_apply K L φ z ξ)) |
| 152 | |
| 153 | end SourceProjection |
| 154 | |
| 155 | variable (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 156 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 157 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 158 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 159 | |
| 160 | theorem direct_single_source_ball_invariant (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) |
| 161 | (N : ℕ) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) |
| 162 | (hcov : SingleLineLevel.CM.SingleSourceThetaCovariant K d Q hμ j L hL φ N g hg) : |
| 163 | (BallForms.CM.sourceBallOneForm K L φ).val.pullback (BallLineAction.CM.ballPrincipalAction K B g hg.1) = (BallForms.CM.sourceBallOneForm K L φ).val := by |
| 164 | apply SourceBallCovariance.CM.source_ball_pullback_of_cotangent K g hg.1 L φ φ |
| 165 | intro z ξ |
| 166 | have h := direct_single_source_tangent_tensor_covariant K d Q hμ j L hL N g hg φ hcov z ξ |
| 167 | simpa only [single_source_adapted_tensor_tangent] using h |
| 168 | |
| 169 | include hμ hL |
| 170 | |
| 171 | theorem exists_single_source_ball_invariant_level (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) : |
| 172 | ∃ M : ℕ, 0 < M ∧ ∀ N : ℕ, M ∣ N → |
| 173 | ∀ (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g), |
| 174 | (BallForms.CM.sourceBallOneForm K L φ).val.pullback (BallLineAction.CM.ballPrincipalAction K B g hg.1) = |
| 175 | (BallForms.CM.sourceBallOneForm K L φ).val := by |
| 176 | have h := SingleLineLevel.CM.exists_single_source_theta_level K d Q hμ j L hL φ |
| 177 | refine ⟨h.choose, h.choose_spec.1, ?_⟩ |
| 178 | intro N hN g hg |
| 179 | exact direct_single_source_ball_invariant K d Q hμ j L hL φ N g hg (h.choose_spec.2 N hN g hg) |
| 180 | |
| 181 | theorem exists_single_source_descent_level (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) : |
| 182 | ∃ M : ℕ, 0 < M ∧ ∀ N : ℕ, M ∣ N → |
| 183 | ∀ (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : B.Domain → X.analyticSpace) (hπ : B.IsBallCover N X π), |
| 184 | ∃ a : AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.pureClosedManifoldForms X.analyticModel X.analyticSpace 1 0, |
| 185 | CoverPullback.CM.ballCoverPullback K B N X π hπ 1 a.val.val = BallForms.CM.sourceBallOneForm K L φ ∧ |
| 186 | HeckeCycles.GeometricSource.CM.RepresentsTheta K L φ X π a := by |
| 187 | have h := exists_single_source_ball_invariant_level K d Q hμ j L hL φ |
| 188 | refine ⟨h.choose, h.choose_spec.1, ?_⟩ |
| 189 | intro N hN X π hπ |
| 190 | exact SourceDescent.CM.exists_source_theta_descent K L φ N X π hπ (h.choose_spec.2 N hN) |
| 191 | |
| 192 | end |
| 193 | |
| 194 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineDescent.CM |