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.SingleComparisonJets |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineGeometricTensor |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleAdaptedDualSlots |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ConcreteApproximationGeometricTensor |
| 5 | |
| 6 | /-! # Single Comparison Tensor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleComparisonTensor.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The full native tensor of the fixed one-line input equals the actual |
| 13 | source tensor on constant dual coordinates, including the literal |
| 14 | cotangent coefficients of the source one-form. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 17 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 19 | open OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization |
| 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 → Gal(K/ℚ) → Bool) |
| 25 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 26 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 27 | (N : RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData _ _ _ (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j)) |
| 28 | (hN : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification N (SingleLineComponents.CM.directSingleLineFrames K Q j)) |
| 29 | (hG : RepresentationTheory.Theta.Adelic.DataTheta.GeometryIdentification N) |
| 30 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 31 | |
| 32 | include hG in |
| 33 | theorem single_comparison_jacobi_adapted (z : B.Domain) (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 34 | (fun k => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL)).jacobiChange |
| 35 | (L.period z.val) ((SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val)ᵀ.mulVec u) |
| 36 | ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm k)) = |
| 37 | (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).invᵀ.mulVec |
| 38 | (SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j u) := by |
| 39 | have hGraph : IsUnit (SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val).det := by |
| 40 | rw [SourceHalfDetAction.CM.source_adapted_graph_matrix_det] |
| 41 | exact isUnit_iff_ne_zero.mpr (pow_ne_zero 2 (Units.ne_zero _)) |
| 42 | have h := SingleLineGeometricTensor.CM.single_frame_inverse_transpose_cancel _ _ _ _ |
| 43 | (SingleComparisonDeterminant.CM.single_comparison_frame_denominator_matrix K d Q hμ j N hN hG L hL z) hGraph u |
| 44 | have hi := congrArg (fun x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ => |
| 45 | fun k => x ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm k)) h |
| 46 | have hr := FrameDualTransport.CM.reindexed_inverse_transpose_mulVec (SingleLineFrame.CM.sourceSingleIndexEquiv K places) |
| 47 | (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val |
| 48 | ((SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j)⁻¹ᵀ.mulVec u) |
| 49 | have he := hi.trans hr |
| 50 | have hinv := Matrix.coe_units_inv (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)) |
| 51 | have hf := congrArg (fun M : Matrix (Fin places.count × (Fin 3 × Fin 1)) |
| 52 | (Fin places.count × (Fin 3 × Fin 1)) ℂ => |
| 53 | Mᵀ.mulVec (SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j u)) hinv |
| 54 | simpa only [ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply] using! he.trans hf.symm |
| 55 | |
| 56 | include hG in |
| 57 | theorem single_comparison_geometric_tensor (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) |
| 58 | (z₀ z : B.Domain) (a : ℕ) (u : Fin a → HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 59 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor N |
| 60 | (SingleComparison.CM.singleComparisonFiniteInput K Q hμ j N hN L.coordinates hL φ) a |
| 61 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) (fun k => SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (u k)) = |
| 62 | ((Nat.factorial a : ℂ)⁻¹) * SingleComparisonHalfRatio.CM.singleComparisonHalfRatio K d Q hμ j N hN L hL z₀ * |
| 63 | (L.halfDet z.val : ℂ) * iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (L.period z.val)) 0 |
| 64 | (fun k => (SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) := by |
| 65 | let q := N.halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 66 | have hq : q ≠ 0 := |
| 67 | (mul_ne_zero_iff.mp (SingleComparisonHalfRatio.CM.single_comparison_half_denominator_ne_zero K d Q hμ j N hG L z)).1 |
| 68 | have hj : (fun k i => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleComparisonCoordinates.CM.singleComparisonSymplecticTransition K Q hμ j N hN L.coordinates hL)).jacobiChange |
| 69 | (L.period z.val) ((SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) |
| 70 | ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm i)) = |
| 71 | (fun k => (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).invᵀ.mulVec |
| 72 | (SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (u k))) := |
| 73 | funext (fun k => single_comparison_jacobi_adapted K d Q hμ j N hN hG L hL z (u k)) |
| 74 | have ht := SingleComparisonJets.CM.single_comparison_completed_tensor K d Q hμ j N hN hG L hL φ z₀ z a |
| 75 | (fun k => (SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) |
| 76 | have hx := congrArg (RepresentationTheory.Theta.Adelic.DataTheta.completedTensor N |
| 77 | (SingleComparison.CM.singleComparisonFiniteInput K Q hμ j N hN L.coordinates hL φ) a |
| 78 | (N.period (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).matrix) hj |
| 79 | have hs := congrArg (fun c : ℂ => q⁻¹ * c) (hx.symm.trans ht) |
| 80 | exact hs.trans (ConcreteApproximationGeometricTensor.CM.inverse_half_frame_cancel _ _ _ _ _ hq) |
| 81 | |
| 82 | include hG in |
| 83 | theorem single_comparison_geometric_source_slot (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) |
| 84 | (z₀ z : B.Domain) (i : Fin 2) : |
| 85 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor N |
| 86 | (SingleComparison.CM.singleComparisonFiniteInput K Q hμ j N hN L.coordinates hL φ) 1 |
| 87 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 88 | (fun _ => SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (SingleAdaptedDualSlots.CM.singleAdaptedDualSlot K places i)) = |
| 89 | SingleComparisonHalfRatio.CM.singleComparisonHalfRatio K d Q hμ j N hN L hL z₀ * Slots.CM.sourceThetaCoordinates K L φ z.val i := by |
| 90 | have h := single_comparison_geometric_tensor K d Q hμ j N hN hG L hL φ z₀ z 1 |
| 91 | (fun _ => SingleAdaptedDualSlots.CM.singleAdaptedDualSlot K places i) |
| 92 | simp only [Nat.factorial_one, Nat.cast_one, inv_one, one_mul, iteratedFDeriv_one_apply, |
| 93 | ← SingleAdaptedDualSlots.CM.theta_jacobi_slot_adapted_transpose] at h |
| 94 | exact h.trans (by rw [Slots.CM.source_coordinates_completed_slots]; exact mul_assoc _ _ _) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleComparisonTensor.CM |