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.BallProjectiveCotangent |
| 3 | |
| 4 | /-! # Total Source Cotangent Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalSourceCotangentAction.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual cotangent derivative is the dual action on the fixed |
| 11 | distinguished adapted slots, with exactly one projective denominator |
| 12 | per cotangent argument. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix |
| 15 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | |
| 17 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 18 | |
| 19 | def totalAdaptedTangentSlot (places : HeckeCycles.GeometricSource.CM.Places K) (j : Fin 2) (ξ : HeckeCycles.GeometricSource.CM.BallChart) : PeriodTotal.CM.TotalPositions K places → ℂ := |
| 20 | ∑ i : Fin 2, ξ i • TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K places (i, j) |
| 21 | |
| 22 | omit [IsGalois ℚ K] in |
| 23 | theorem total_adapted_tangent_pairing (places : HeckeCycles.GeometricSource.CM.Places K) (c : PeriodTotal.CM.TotalPositions K places → ℂ) |
| 24 | (j : Fin 2) (ξ : HeckeCycles.GeometricSource.CM.BallChart) : |
| 25 | dotProduct c (totalAdaptedTangentSlot K places j ξ) = |
| 26 | CMExtraction.FrameProjection.Multiplicity.coordinateCovector (fun i => c (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished i.succ j)) ξ := by |
| 27 | simp only [totalAdaptedTangentSlot, Fin.sum_univ_two, dotProduct_add, dotProduct_smul, |
| 28 | TotalAdaptedDualSlots.CM.totalAdaptedDualSlot, dotProduct_single, smul_eq_mul, mul_one, CMExtraction.FrameProjection.Multiplicity.coordinateCovector_apply] |
| 29 | ring |
| 30 | |
| 31 | variable (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hdet : LinearMap.det g.toLinearMap = 1) |
| 32 | (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 33 | |
| 34 | theorem total_source_frame_distinguished_coordinates (z : HeckeCycles.GeometricSource.CM.BallChart) |
| 35 | (c : PeriodTotal.CM.TotalPositions K places → ℂ) (j : Fin 2) : |
| 36 | (fun i : Fin 2 => (ConcreteApproximationFrameAction.CM.totalSourceFrameMatrix K g hdet B places d z).mulVec c |
| 37 | (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished i.succ j)) = |
| 38 | (CMExtraction.UnitaryFrameAction.weightedDualCoordinates (B.b : ℂ) (BallFrameMatrices.CM.ballEmbeddingSL K g hdet (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K)) z).mulVec |
| 39 | (fun i => c (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished i.succ j)) := by |
| 40 | rw [ConcreteApproximationFrameAction.CM.total_source_frame_matrix_mulVec] |
| 41 | funext i |
| 42 | fin_cases j <;> fin_cases i <;> simp [SourceFrameComponents.CM.sourceTotalSlot] |
| 43 | all_goals rw [SourceFrameAction.CM.source_frame_matrix_mulVec] |
| 44 | all_goals simp [SourceFrameAction.CM.sourceFramePlaceMatrix, BallFrameMatrices.CM.sourceActiveFrameMatrix, CMExtraction.UnitaryFrameAction.activeFrameMatrix, |
| 45 | Matrix.mulVec, dotProduct, Fin.sum_univ_succ] |
| 46 | |
| 47 | variable (hg : ∀ x y, HeckeCycles.GeometricSource.CM.hermitian K B.b (g x) (g y) = HeckeCycles.GeometricSource.CM.hermitian K B.b x y) |
| 48 | |
| 49 | include hg |
| 50 | |
| 51 | theorem total_source_frame_det_ne_zero (z : B.Domain) : |
| 52 | (ConcreteApproximationFrameAction.CM.totalSourceFrameMatrix K g hdet B places d z.val).det ≠ 0 := by |
| 53 | rw [ConcreteApproximationFrameAction.CM.totalSourceFrameMatrix, Matrix.det_fromBlocks_zero₂₁, |
| 54 | SourceFrameAction.CM.source_frame_matrix_det K g hdet B places (d 0) hg, |
| 55 | SourceFrameAction.CM.source_frame_matrix_det K g hdet B places (d 1) hg] |
| 56 | exact mul_ne_zero (pow_ne_zero 2 (BallLineAction.CM.ball_action_denominator_ne_zero K B g hg z)) |
| 57 | (pow_ne_zero 2 (BallLineAction.CM.ball_action_denominator_ne_zero K B g hg z)) |
| 58 | |
| 59 | theorem total_source_tangent_cotangent (z : B.Domain) (c : PeriodTotal.CM.TotalPositions K places → ℂ) |
| 60 | (j : Fin 2) (ξ : HeckeCycles.GeometricSource.CM.BallChart) : |
| 61 | ((BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2) * |
| 62 | dotProduct ((ConcreteApproximationFrameAction.CM.totalSourceFrameMatrix K g hdet B places d z.val).mulVec c) |
| 63 | (totalAdaptedTangentSlot K places j (fderiv ℂ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val ξ)) = |
| 64 | dotProduct c (totalAdaptedTangentSlot K places j ξ) := by |
| 65 | rw [total_adapted_tangent_pairing, total_adapted_tangent_pairing, |
| 66 | total_source_frame_distinguished_coordinates] |
| 67 | exact BallProjectiveCotangent.CM.source_ball_projective_cotangent K B g hdet hg z |
| 68 | (fun i => c (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished i.succ j)) ξ |
| 69 | |
| 70 | theorem total_source_transpose_tangent (z : B.Domain) (j : Fin 2) (ξ : HeckeCycles.GeometricSource.CM.BallChart) : |
| 71 | (ConcreteApproximationFrameAction.CM.totalSourceFrameMatrix K g hdet B places d z.val)ᵀ.mulVec |
| 72 | (((BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2) • |
| 73 | totalAdaptedTangentSlot K places j (fderiv ℂ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val ξ)) = |
| 74 | totalAdaptedTangentSlot K places j ξ := by |
| 75 | funext p |
| 76 | have h := total_source_tangent_cotangent K g hdet B places d hg z (Pi.single p 1) j ξ |
| 77 | simpa only [Matrix.mulVec_single_one, single_dotProduct, one_mul, Matrix.mulVec_smul, |
| 78 | Pi.smul_apply, smul_eq_mul] using! h |
| 79 | |
| 80 | theorem total_source_dual_tangent (z : B.Domain) (j : Fin 2) (ξ : HeckeCycles.GeometricSource.CM.BallChart) : |
| 81 | (ConcreteApproximationFrameAction.CM.totalSourceFrameMatrix K g hdet B places d z.val)⁻¹ᵀ.mulVec |
| 82 | (totalAdaptedTangentSlot K places j ξ) = |
| 83 | ((BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2) • |
| 84 | totalAdaptedTangentSlot K places j (fderiv ℂ (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g) z.val ξ) := by |
| 85 | let S := ConcreteApproximationFrameAction.CM.totalSourceFrameMatrix K g hdet B places d z.val |
| 86 | have h := congrArg (Matrix.mulVec S⁻¹ᵀ) (total_source_transpose_tangent K g hdet B places d hg z j ξ) |
| 87 | rw [Matrix.mulVec_mulVec, ← Matrix.transpose_mul, |
| 88 | Matrix.mul_nonsing_inv S (isUnit_iff_ne_zero.mpr (total_source_frame_det_ne_zero K g hdet B places d hg z)), |
| 89 | Matrix.transpose_one, Matrix.one_mulVec] at h |
| 90 | exact h.symm |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalSourceCotangentAction.CM |