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.SingleLineComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleAdaptedDualSlots |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ConcreteApproximationGeometricTensor |
| 4 | |
| 5 | /-! # Single Line Geometric Tensor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineGeometricTensor.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The full native tensor of the fixed one-line input equals the actual |
| 12 | source tensor on constant dual coordinates, including the literal |
| 13 | cotangent coefficients of the source one-form. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 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.Kernel.Definitions.DerivativeFactorization |
| 19 | |
| 20 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 21 | |
| 22 | theorem single_frame_inverse_transpose_cancel {I : Type} [Fintype I] [DecidableEq I] |
| 23 | (J F C G : Matrix I I ℂ) (h : J = F * C * G) (hG : IsUnit G.det) (u : I → ℂ) : |
| 24 | J⁻¹ᵀ.mulVec (Gᵀ.mulVec u) = F⁻¹ᵀ.mulVec (C⁻¹ᵀ.mulVec u) := by |
| 25 | have he : J * 1 = F * C * G := (mul_one J).trans h |
| 26 | simpa only [inv_one, Matrix.transpose_one, Matrix.one_mulVec] using |
| 27 | FrameDualTransport.CM.frame_inverse_transpose_cancel J 1 F C G he hG u |
| 28 | |
| 29 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 30 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 31 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 32 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 33 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 34 | |
| 35 | def directSingleNativeDualCoordinates (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 36 | Fin places.count × (Fin 3 × Fin 1) → ℂ := |
| 37 | fun k => (SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j)⁻¹ᵀ.mulVec u |
| 38 | ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm k) |
| 39 | |
| 40 | theorem single_source_native_jacobi_adapted (z : B.Domain) (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 41 | (fun k => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL)).jacobiChange |
| 42 | (L.period z.val) ((SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val)ᵀ.mulVec u) |
| 43 | ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm k)) = |
| 44 | ((SingleLineComponents.CM.directSingleLineComparison K Q hμ j).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).invᵀ.mulVec |
| 45 | (directSingleNativeDualCoordinates K d Q j u) := by |
| 46 | have hG : IsUnit (SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val).det := by |
| 47 | rw [SourceHalfDetAction.CM.source_adapted_graph_matrix_det] |
| 48 | exact isUnit_iff_ne_zero.mpr (pow_ne_zero 2 (Units.ne_zero _)) |
| 49 | have h := single_frame_inverse_transpose_cancel _ _ _ _ |
| 50 | (SingleLineFrameDeterminant.CM.single_source_native_frame_denominator_matrix K d Q hμ j L hL z) hG u |
| 51 | have hi := congrArg (fun x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ => |
| 52 | fun k => x ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm k)) h |
| 53 | have hr := FrameDualTransport.CM.reindexed_inverse_transpose_mulVec (SingleLineFrame.CM.sourceSingleIndexEquiv K places) |
| 54 | ((SingleLineComponents.CM.directSingleLineComparison K Q hμ j).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).val |
| 55 | ((SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j)⁻¹ᵀ.mulVec u) |
| 56 | have he := hi.trans hr |
| 57 | have hinv := Matrix.coe_units_inv ((SingleLineComponents.CM.directSingleLineComparison K Q hμ j).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)) |
| 58 | have hf := congrArg (fun M : Matrix (Fin places.count × (Fin 3 × Fin 1)) |
| 59 | (Fin places.count × (Fin 3 × Fin 1)) ℂ => |
| 60 | Mᵀ.mulVec (directSingleNativeDualCoordinates K d Q j u)) hinv |
| 61 | simpa only [ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply] using! he.trans hf.symm |
| 62 | |
| 63 | theorem single_source_native_geometric_tensor (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) |
| 64 | (z₀ z : B.Domain) (a : ℕ) (u : Fin a → HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 65 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor (SingleLineComponents.CM.directSingleLineComparison K Q hμ j) |
| 66 | (SingleLineComparison.CM.directSingleNativeFiniteInput K Q hμ j L.coordinates hL φ) a |
| 67 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) (fun k => directSingleNativeDualCoordinates K d Q j (u k)) = |
| 68 | ((Nat.factorial a : ℂ)⁻¹) * SingleLineHalfRatio.CM.singleSourceNativeHalfRatio K d Q hμ j L hL z₀ * |
| 69 | (L.halfDet z.val : ℂ) * iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (L.period z.val)) 0 |
| 70 | (fun k => (SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) := by |
| 71 | let N := SingleLineComponents.CM.directSingleLineComparison K Q hμ j |
| 72 | let q := N.halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 73 | have hq : q ≠ 0 := |
| 74 | (mul_ne_zero_iff.mp (SingleLineHalfRatio.CM.single_source_native_half_denominator_ne_zero K d Q hμ j L z)).1 |
| 75 | have hj : (fun k i => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL)).jacobiChange |
| 76 | (L.period z.val) ((SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) |
| 77 | ((SingleLineFrame.CM.sourceSingleIndexEquiv K places).symm i)) = |
| 78 | (fun k => (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).invᵀ.mulVec |
| 79 | (directSingleNativeDualCoordinates K d Q j (u k))) := |
| 80 | funext (fun k => single_source_native_jacobi_adapted K d Q hμ j L hL z (u k)) |
| 81 | have ht := SingleLineComparison.CM.single_source_native_completed_tensor K d Q hμ j L hL φ z₀ z a |
| 82 | (fun k => (SourceHalfDetAction.CM.sourceAdaptedGraphMatrix K L z.val)ᵀ.mulVec (u k)) |
| 83 | have hx := congrArg (RepresentationTheory.Theta.Adelic.DataTheta.completedTensor N |
| 84 | (SingleLineComparison.CM.directSingleNativeFiniteInput K Q hμ j L.coordinates hL φ) a |
| 85 | (N.period (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).matrix) hj |
| 86 | have hs := congrArg (fun c : ℂ => q⁻¹ * c) (hx.symm.trans ht) |
| 87 | exact hs.trans (ConcreteApproximationGeometricTensor.CM.inverse_half_frame_cancel _ _ _ _ _ hq) |
| 88 | |
| 89 | theorem single_source_native_geometric_source_slot (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (HeckeCycles.GeometricSource.CM.Positions K places)) |
| 90 | (z₀ z : B.Domain) (i : Fin 2) : |
| 91 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor (SingleLineComponents.CM.directSingleLineComparison K Q hμ j) |
| 92 | (SingleLineComparison.CM.directSingleNativeFiniteInput K Q hμ j L.coordinates hL φ) 1 |
| 93 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 94 | (fun _ => directSingleNativeDualCoordinates K d Q j (SingleAdaptedDualSlots.CM.singleAdaptedDualSlot K places i)) = |
| 95 | SingleLineHalfRatio.CM.singleSourceNativeHalfRatio K d Q hμ j L hL z₀ * Slots.CM.sourceThetaCoordinates K L φ z.val i := by |
| 96 | have h := single_source_native_geometric_tensor K d Q hμ j L hL φ z₀ z 1 |
| 97 | (fun _ => SingleAdaptedDualSlots.CM.singleAdaptedDualSlot K places i) |
| 98 | simp only [Nat.factorial_one, Nat.cast_one, inv_one, one_mul, iteratedFDeriv_one_apply, |
| 99 | ← SingleAdaptedDualSlots.CM.theta_jacobi_slot_adapted_transpose] at h |
| 100 | exact h.trans (by rw [Slots.CM.source_coordinates_completed_slots]; exact mul_assoc _ _ _) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineGeometricTensor.CM |