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.SourceIntrinsicFrameDeterminant |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalGraphSlots |
| 3 | |
| 4 | /-! # Total Adapted Dual Slots -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalAdaptedDualSlots.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal source theta slots are duals of the fixed distinguished |
| 11 | adapted coordinates. Their dependence on the period is exactly the |
| 12 | transpose of the actual adapted graph matrix. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | |
| 17 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] |
| 18 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 19 | |
| 20 | def totalAdaptedDualSlot (places : HeckeCycles.GeometricSource.CM.Places K) (a : Fin 2 × Fin 2) : PeriodTotal.CM.TotalPositions K places → ℂ := |
| 21 | Pi.single (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished a.1.succ a.2) 1 |
| 22 | |
| 23 | theorem total_adapted_distinguished_coordinate (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 24 | (w : ComplexTransition.CM.TotalAmbient K) (a : Fin 2 × Fin 2) : |
| 25 | AdaptedTotal.CM.totalAdaptedCoordinates K places d w (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished a.1.succ a.2) = |
| 26 | w a.2 (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) a.1.castSucc := by |
| 27 | rcases a with ⟨i, j⟩ |
| 28 | fin_cases i <;> fin_cases j <;> |
| 29 | simp [AdaptedTotal.CM.totalAdaptedCoordinates, SourceFrameComponents.CM.sourceTotalSlot, HeckeCycles.GeometricSource.CM.adaptedCoordinates, places.identity] |
| 30 | |
| 31 | theorem split_theta_slot_adapted_transpose |
| 32 | {d : Fin 2 → Gal(K/ℚ) → Bool} (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 33 | (z : HeckeCycles.GeometricSource.CM.BallChart) (a : Fin 2 × Fin 2) : |
| 34 | InitialTensor.CM.splitThetaSlot K (L 0) (L 1) z a = |
| 35 | (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z)ᵀ.mulVec (totalAdaptedDualSlot K places a) := by |
| 36 | have hC : ![(L 0).coordinates, (L 1).coordinates] = fun j => (L j).coordinates := by |
| 37 | funext j |
| 38 | fin_cases j <;> rfl |
| 39 | rw [← TotalGraphSlots.CM.total_graph_slot_block, hC] |
| 40 | funext j |
| 41 | rw [TotalGraphSlots.CM.total_graph_slot_apply] |
| 42 | change _ = (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z)ᵀ.mulVec |
| 43 | (Pi.single (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished a.1.succ a.2) 1) j |
| 44 | rw [Matrix.mulVec_single_one] |
| 45 | change _ = SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K L z |
| 46 | (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished a.1.succ a.2) j |
| 47 | rw [SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix, LinearMap.toMatrix'_apply] |
| 48 | simpa only [Pi.basisFun_apply, Pi.single_apply, LinearMap.comp_apply] using! |
| 49 | (total_adapted_distinguished_coordinate K (places := places) d |
| 50 | (TotalPeriodGraphs.CM.totalGraphInAmbient K (fun j => (L j).coordinates) |
| 51 | (BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z)) ((Pi.basisFun ℂ _) j)) a).symm |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalAdaptedDualSlots.CM |