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.ParameterHalfDet |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Slots |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.InitialTensor |
| 4 | |
| 5 | /-! # Total Graph Slots -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalGraphSlots.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! ThetaCycle: the actual total graph rows that project Jacobi tensors to |
| 12 | the distinguished ball cotangent and multiplicity factors. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | |
| 17 | variable (K : IntermediateField ℚ ℂ) |
| 18 | [NumberField K] [NumberField.IsCMField K] |
| 19 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 20 | |
| 21 | def totalGraphCoefficient (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 22 | (a : Fin 2 × Fin 2) : |
| 23 | (Sum (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) → ℂ) →ₗ[ℂ] ℂ where |
| 24 | toFun x := (ComplexTransition.CM.totalComplexCoordinates K C).symm x a.2 (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) a.1.castSucc |
| 25 | map_add' _ _ := by simp |
| 26 | map_smul' _ _ := by simp |
| 27 | |
| 28 | def totalGraphSlot (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 29 | (Z : Matrix (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) ℂ) |
| 30 | (a : Fin 2 × Fin 2) : PeriodTotal.CM.TotalPositions K places → ℂ := fun j => |
| 31 | totalGraphCoefficient K C a (Sum.elim (Z *ᵥ (Pi.basisFun ℂ _) j) ((Pi.basisFun ℂ _) j)) |
| 32 | |
| 33 | theorem total_graph_slot_apply (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 34 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (PeriodTotal.CM.TotalPositions K places)) (a : Fin 2 × Fin 2) |
| 35 | (j : PeriodTotal.CM.TotalPositions K places) : |
| 36 | totalGraphSlot K C Z.matrix a j = |
| 37 | TotalPeriodGraphs.CM.totalGraphInAmbient K C Z ((Pi.basisFun ℂ _) j) a.2 (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) a.1.castSucc := rfl |
| 38 | |
| 39 | theorem total_graph_slot_holomorphic |
| 40 | {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] {s : Set V} |
| 41 | (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 42 | (Z : V → Matrix (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) ℂ) |
| 43 | (hZ : DifferentiableOn ℂ Z s) (a : Fin 2 × Fin 2) : |
| 44 | DifferentiableOn ℂ (fun z => totalGraphSlot K C (Z z) a) s := by |
| 45 | apply differentiableOn_pi.mpr |
| 46 | intro j |
| 47 | apply (totalGraphCoefficient K C a).toContinuousLinearMap.differentiable.comp_differentiableOn |
| 48 | apply differentiableOn_pi.mpr |
| 49 | intro i |
| 50 | cases i with |
| 51 | | inl i => |
| 52 | change DifferentiableOn ℂ (fun z => ∑ k, Z z i k * ((Pi.basisFun ℂ _) j) k) s |
| 53 | fun_prop |
| 54 | | inr i => exact differentiableOn_const _ |
| 55 | |
| 56 | theorem total_graph_slot_block {d₀ d₁ : Gal(K/ℚ) → Bool} |
| 57 | (L₀ : HeckeCycles.GeometricSource.CM.LinePeriod K B places d₀) (L₁ : HeckeCycles.GeometricSource.CM.LinePeriod K B places d₁) |
| 58 | (z : HeckeCycles.GeometricSource.CM.BallChart) (a : Fin 2 × Fin 2) : |
| 59 | totalGraphSlot K ![L₀.coordinates, L₁.coordinates] |
| 60 | (BlockPeriod.CM.blockPeriod (L₀.period z) (L₁.period z)).matrix a = InitialTensor.CM.splitThetaSlot K L₀ L₁ z a := by |
| 61 | funext j |
| 62 | rw [total_graph_slot_apply, TotalPeriodGraphs.CM.total_block_graph] |
| 63 | rcases a with ⟨i, k⟩ |
| 64 | have hs (j : HeckeCycles.GeometricSource.CM.Positions K places) : |
| 65 | (fun l => if l = j then (1 : ℂ) else 0) = Pi.single j 1 := by |
| 66 | funext l |
| 67 | simp only [Pi.single_apply] |
| 68 | have hzero (C : HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (HeckeCycles.GeometricSource.CM.Positions K places)) : |
| 69 | HeckeCycles.GeometricSource.CM.graphInAmbient K C Z (fun _ => 0) = 0 := map_zero _ |
| 70 | fin_cases k <;> cases j with |
| 71 | | inl j => |
| 72 | simp [InitialTensor.CM.splitThetaSlot, Slots.CM.thetaJacobiSlot, Slots.CM.graphCoefficient, Pi.basisFun_apply, Pi.single_apply, hs, hzero] |
| 73 | | inr j => |
| 74 | simp [InitialTensor.CM.splitThetaSlot, Slots.CM.thetaJacobiSlot, Slots.CM.graphCoefficient, Pi.basisFun_apply, Pi.single_apply, hs, hzero] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalGraphSlots.CM |