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.IntrinsicKernelSumJets |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineGeometricTensor |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalAdaptedDualSlots |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ConcreteApproximationGeometricTensor |
| 5 | |
| 6 | /-! # Intrinsic Kernel Sum Tensor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicKernelSumTensor.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) |
| 27 | (N : RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData _ _ _ (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ)) |
| 28 | (hN : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification N (IntrinsicKernelArithmetic.CM.directSourceNativeSumFrames K Q)) |
| 29 | (hG : RepresentationTheory.Theta.Adelic.DataTheta.GeometryIdentification N) |
| 30 | (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 31 | (hL : ∀ j, (L j).coordinates.a = Q.a j ∧ (L j).coordinates.delta = Q.delta) |
| 32 | |
| 33 | def sumComparisonDualCoordinates (u : PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 34 | Fin places.count × (Fin 3 × Fin 2) → ℂ := |
| 35 | fun k => (SourceIntrinsicFrameDeterminant.CM.directSourceIndexedFrameCoefficientMatrix K Q)⁻¹ᵀ.mulVec u |
| 36 | ((SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places).symm k) |
| 37 | |
| 38 | include hG in |
| 39 | theorem sum_comparison_jacobi_adapted (z : B.Domain) (u : PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 40 | (fun k => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (IntrinsicKernelSumTransition.CM.sumComparisonSymplecticTransition K Q hμ N hN (fun j => (L j).coordinates) hL)).jacobiChange |
| 41 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)) ((SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z.val)ᵀ.mulVec u) |
| 42 | ((SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places).symm k)) = |
| 43 | (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).invᵀ.mulVec |
| 44 | (sumComparisonDualCoordinates K d Q u) := by |
| 45 | have hGraph : IsUnit (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z.val).det := by |
| 46 | rw [SourceIntrinsicFrameDeterminant.CM.source_total_adapted_graph_matrix_det] |
| 47 | exact isUnit_iff_ne_zero.mpr (pow_ne_zero 2 (mul_ne_zero (Units.ne_zero _) (Units.ne_zero _))) |
| 48 | have h := SingleLineGeometricTensor.CM.single_frame_inverse_transpose_cancel _ _ _ _ |
| 49 | (IntrinsicKernelSumDeterminant.CM.sum_comparison_frame_denominator_matrix K d Q hμ N hN hG L hL z) hGraph u |
| 50 | have hi := congrArg (fun x : PeriodTotal.CM.TotalPositions K places → ℂ => |
| 51 | fun k => x ((SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places).symm k)) h |
| 52 | have hr := FrameDualTransport.CM.reindexed_inverse_transpose_mulVec (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places) |
| 53 | (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val |
| 54 | ((SourceIntrinsicFrameDeterminant.CM.directSourceIndexedFrameCoefficientMatrix K Q)⁻¹ᵀ.mulVec u) |
| 55 | have he := hi.trans hr |
| 56 | have hinv := Matrix.coe_units_inv (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)) |
| 57 | have hf := congrArg (fun M : Matrix (Fin places.count × (Fin 3 × Fin 2)) |
| 58 | (Fin places.count × (Fin 3 × Fin 2)) ℂ => |
| 59 | Mᵀ.mulVec (sumComparisonDualCoordinates K d Q u)) hinv |
| 60 | simpa only [ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply] using! he.trans hf.symm |
| 61 | |
| 62 | include hG in |
| 63 | theorem sum_comparison_geometric_tensor (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (PeriodTotal.CM.TotalPositions K places)) |
| 64 | (z₀ z : B.Domain) (a : ℕ) (u : Fin a → PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 65 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor N |
| 66 | (IntrinsicKernelSum.CM.sumComparisonFiniteInput K Q hμ N hN (fun j => (L j).coordinates) hL φ) a |
| 67 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) (fun k => sumComparisonDualCoordinates K d Q (u k)) = |
| 68 | ((Nat.factorial a : ℂ)⁻¹) * KernelSumHalfRatio.CM.sumComparisonHalfRatio K d Q hμ N hN L hL z₀ * |
| 69 | (((L 0).halfDet z.val : ℂ) * ((L 1).halfDet z.val : ℂ)) * iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val))) 0 |
| 70 | (fun k => (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) := by |
| 71 | let q := N.halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 72 | have hq : q ≠ 0 := |
| 73 | (mul_ne_zero_iff.mp (KernelSumHalfRatio.CM.sum_comparison_half_denominator_ne_zero K d Q hμ N hG L z)).1 |
| 74 | have hj : (fun k i => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (IntrinsicKernelSumTransition.CM.sumComparisonSymplecticTransition K Q hμ N hN (fun j => (L j).coordinates) hL)).jacobiChange |
| 75 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)) ((SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) |
| 76 | ((SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K places).symm i)) = |
| 77 | (fun k => (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).invᵀ.mulVec |
| 78 | (sumComparisonDualCoordinates K d Q (u k))) := |
| 79 | funext (fun k => sum_comparison_jacobi_adapted K d Q hμ N hN hG L hL z (u k)) |
| 80 | have ht := IntrinsicKernelSumJets.CM.sum_comparison_completed_tensor K d Q hμ N hN hG L hL φ z₀ z a |
| 81 | (fun k => (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) |
| 82 | have hx := congrArg (RepresentationTheory.Theta.Adelic.DataTheta.completedTensor N |
| 83 | (IntrinsicKernelSum.CM.sumComparisonFiniteInput K Q hμ N hN (fun j => (L j).coordinates) hL φ) a |
| 84 | (N.period (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).matrix) hj |
| 85 | have hs := congrArg (fun c : ℂ => q⁻¹ * c) (hx.symm.trans ht) |
| 86 | exact hs.trans (ConcreteApproximationGeometricTensor.CM.inverse_half_frame_cancel _ _ _ _ _ hq) |
| 87 | |
| 88 | include hG in |
| 89 | theorem sum_comparison_geometric_source_slots (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (PeriodTotal.CM.TotalPositions K places)) |
| 90 | (z₀ z : B.Domain) (a b : Fin 2 × Fin 2) : |
| 91 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor N (IntrinsicKernelSum.CM.sumComparisonFiniteInput K Q hμ N hN (fun j => (L j).coordinates) hL φ) 2 |
| 92 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 93 | ![sumComparisonDualCoordinates K d Q (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places a), |
| 94 | sumComparisonDualCoordinates K d Q (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places b)] = |
| 95 | (2 : ℂ)⁻¹ * KernelSumHalfRatio.CM.sumComparisonHalfRatio K d Q hμ N hN L hL z₀ * |
| 96 | InitialTensor.CM.splitThetaTensor K (L 0) (L 1) φ z.val a b := by |
| 97 | have h := sum_comparison_geometric_tensor K d Q hμ N hN hG L hL φ z₀ z 2 |
| 98 | ![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places b] |
| 99 | have hu : (fun j : Fin 2 => sumComparisonDualCoordinates K d Q |
| 100 | (![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places b] j)) = |
| 101 | ![sumComparisonDualCoordinates K d Q (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places a), |
| 102 | sumComparisonDualCoordinates K d Q (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places b)] := by |
| 103 | funext j |
| 104 | fin_cases j <;> rfl |
| 105 | have hv : (fun j : Fin 2 => (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z.val)ᵀ.mulVec |
| 106 | (![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places b] j)) = |
| 107 | ![InitialTensor.CM.splitThetaSlot K (L 0) (L 1) z.val a, |
| 108 | InitialTensor.CM.splitThetaSlot K (L 0) (L 1) z.val b] := by |
| 109 | funext j |
| 110 | fin_cases j |
| 111 | · exact (TotalAdaptedDualSlots.CM.split_theta_slot_adapted_transpose K L z.val a).symm |
| 112 | · exact (TotalAdaptedDualSlots.CM.split_theta_slot_adapted_transpose K L z.val b).symm |
| 113 | rw [hu, hv, show (Nat.factorial 2 : ℂ) = 2 from by norm_num] at h |
| 114 | simpa only [InitialTensor.CM.splitThetaTensor, mul_assoc] using! h |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicKernelSumTensor.CM |