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.ConcreteApproximationFrameAction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalSourceCotangentAction |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.DoubleAltBasis |
| 4 | |
| 5 | /-! # Source Tensor Cotangent Projection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceTensorCotangentProjection.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Double alternation of the full adapted tensor gives the literal |
| 12 | source theta coefficient, and cotangent changes act by their actual |
| 13 | two-dimensional determinant. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | open OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization |
| 18 | |
| 19 | theorem double_alt_tangent_bilinear {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 20 | (Q : V →L[ℂ] V →L[ℂ] ℂ) (B : Matrix (Fin 2) (Fin 2) ℂ) (u : Fin 2 × Fin 2 → V) : |
| 21 | RepresentationTheory.Theta.Kernel.Calculus.doubleAlt (fun a b => Q (∑ k : Fin 2, B a.1 k • u (k, a.2)) |
| 22 | (∑ k : Fin 2, B b.1 k • u (k, b.2))) = |
| 23 | B.det * RepresentationTheory.Theta.Kernel.Calculus.doubleAlt (fun a b => Q (u a) (u b)) := by |
| 24 | simp only [RepresentationTheory.Theta.Kernel.Calculus.doubleAlt, Fin.sum_univ_two, map_add, map_smul, _root_.add_apply, |
| 25 | _root_.smul_apply, smul_eq_mul, Matrix.det_fin_two] |
| 26 | ring |
| 27 | |
| 28 | theorem double_alt_tangent_tensor {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 29 | (H : V [×2]→L[ℂ] ℂ) (B : Matrix (Fin 2) (Fin 2) ℂ) (u : Fin 2 × Fin 2 → V) : |
| 30 | RepresentationTheory.Theta.Kernel.Calculus.doubleAlt (fun a b => H ![∑ k : Fin 2, B a.1 k • u (k, a.2), |
| 31 | ∑ k : Fin 2, B b.1 k • u (k, b.2)]) = B.det * RepresentationTheory.Theta.Kernel.Calculus.doubleAlt (fun a b => H ![u a, u b]) := by |
| 32 | let Q : V →L[ℂ] V →L[ℂ] ℂ := |
| 33 | (continuousMultilinearCurryFin1 ℂ V ℂ : (V [×1]→L[ℂ] ℂ) →L[ℂ] V →L[ℂ] ℂ).comp H.curryLeft |
| 34 | have hQ (x y : V) : Q x y = H ![x, y] := by |
| 35 | change continuousMultilinearCurryFin1 ℂ V ℂ (H.curryLeft x) y = _ |
| 36 | simp only [continuousMultilinearCurryFin1_apply, ContinuousMultilinearMap.curryLeft_apply] |
| 37 | congr 1 |
| 38 | funext i |
| 39 | fin_cases i <;> rfl |
| 40 | simpa only [hQ] using double_alt_tangent_bilinear Q B u |
| 41 | |
| 42 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] |
| 43 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Gal(K/ℚ) → Bool} |
| 44 | (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (PeriodTotal.CM.TotalPositions K places)) |
| 45 | |
| 46 | theorem source_adapted_tensor_slots (z : HeckeCycles.GeometricSource.CM.BallChart) (a b : Fin 2 × Fin 2) : |
| 47 | ConcreteApproximationFrameAction.CM.sourceAdaptedThetaTensor K L φ 2 z |
| 48 | ![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places b] = |
| 49 | InitialTensor.CM.splitThetaTensor K (L 0) (L 1) φ z a b := by |
| 50 | change (((L 0).halfDet z : ℂ) * ((L 1).halfDet z : ℂ)) * |
| 51 | iteratedFDeriv ℂ 2 (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z))) 0 |
| 52 | (fun j => (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z)ᵀ.mulVec |
| 53 | (![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places b] j)) = _ |
| 54 | have hu : (fun j : Fin 2 => (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z)ᵀ.mulVec |
| 55 | (![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places b] j)) = |
| 56 | ![InitialTensor.CM.splitThetaSlot K (L 0) (L 1) z a, InitialTensor.CM.splitThetaSlot K (L 0) (L 1) z b] := by |
| 57 | funext j |
| 58 | fin_cases j |
| 59 | · exact (TotalAdaptedDualSlots.CM.split_theta_slot_adapted_transpose K L z a).symm |
| 60 | · exact (TotalAdaptedDualSlots.CM.split_theta_slot_adapted_transpose K L z b).symm |
| 61 | rw [hu] |
| 62 | rfl |
| 63 | |
| 64 | omit L φ in |
| 65 | theorem total_adapted_tangent_basis (places : HeckeCycles.GeometricSource.CM.Places K) (i j : Fin 2) : |
| 66 | TotalSourceCotangentAction.CM.totalAdaptedTangentSlot K places j ((Pi.basisFun ℂ (Fin 2)) i) = TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places (i, j) := by |
| 67 | fin_cases i <;> simp [TotalSourceCotangentAction.CM.totalAdaptedTangentSlot, Pi.basisFun_apply] |
| 68 | |
| 69 | theorem source_tangent_double_alt (z : HeckeCycles.GeometricSource.CM.BallChart) (T : HeckeCycles.GeometricSource.CM.BallChart →L[ℂ] HeckeCycles.GeometricSource.CM.BallChart) : |
| 70 | RepresentationTheory.Theta.Kernel.Calculus.doubleAlt (fun a b => ConcreteApproximationFrameAction.CM.sourceAdaptedThetaTensor K L φ 2 z |
| 71 | ![TotalSourceCotangentAction.CM.totalAdaptedTangentSlot K places a.2 (T ((Pi.basisFun ℂ (Fin 2)) a.1)), |
| 72 | TotalSourceCotangentAction.CM.totalAdaptedTangentSlot K places b.2 (T ((Pi.basisFun ℂ (Fin 2)) b.1))]) = |
| 73 | LinearMap.det T.toLinearMap * InitialTensor.CM.splitThetaTopCoefficient K (L 0) (L 1) φ z := by |
| 74 | let M : Matrix (Fin 2) (Fin 2) ℂ := fun i j => T ((Pi.basisFun ℂ (Fin 2)) i) j |
| 75 | have hM : M = (LinearMap.toMatrix' T.toLinearMap)ᵀ := by |
| 76 | apply Matrix.ext |
| 77 | intro i j |
| 78 | change T ((Pi.basisFun ℂ (Fin 2)) i) j = T (Pi.single i 1) j |
| 79 | apply congrArg (fun u : HeckeCycles.GeometricSource.CM.BallChart => T u j) |
| 80 | funext k |
| 81 | simp [Pi.basisFun_apply, Pi.single_apply] |
| 82 | have hd : M.det = LinearMap.det T.toLinearMap := by |
| 83 | rw [hM, Matrix.det_transpose, LinearMap.det_toMatrix'] |
| 84 | have h := double_alt_tangent_tensor (ConcreteApproximationFrameAction.CM.sourceAdaptedThetaTensor K L φ 2 z) M |
| 85 | (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places) |
| 86 | rw [hd] at h |
| 87 | simpa only [TotalSourceCotangentAction.CM.totalAdaptedTangentSlot, source_adapted_tensor_slots, InitialTensor.CM.splitThetaTopCoefficient] using! h |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceTensorCotangentProjection.CM |