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.SingleLineGeometricTensor |
| 2 | import OAI.RepresentationTheory.Theta.OneFormsIntrinsicLattice |
| 3 | |
| 4 | /-! # Single Intrinsic Cotangent Slots -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleIntrinsicCotangentSlots.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The fixed source cotangent slots are exactly a single nonzero scalar |
| 11 | times the actual distinguished slots of the native ThetaOneForms one-form. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField _root_.Matrix |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 16 | |
| 17 | section |
| 18 | |
| 19 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 20 | |
| 21 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 22 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 23 | (Q : Lagrangians.CM.LagrangianPair K B places d) (j : Fin 2) |
| 24 | |
| 25 | theorem direct_single_frame_coefficient_diagonal : |
| 26 | SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j = |
| 27 | Matrix.diagonal (fun p : HeckeCycles.GeometricSource.CM.Positions K places => SourceFrameComponents.CM.directSourceFrameScale K Q p.1 (p.2, j)) := by |
| 28 | apply Matrix.ext_iff_mulVec.mpr |
| 29 | intro u |
| 30 | rw [SingleLineFrameDeterminant.CM.direct_single_indexed_frame_coefficient_apply] |
| 31 | funext p |
| 32 | rw [Matrix.mulVec_diagonal] |
| 33 | rfl |
| 34 | |
| 35 | def singleNativeCotangentScale : ℂ := SourceFrameComponents.CM.directSourceFrameScale K Q places.distinguished (1, j) |
| 36 | |
| 37 | theorem single_native_cotangent_scale_ne_zero : singleNativeCotangentScale K Q j ≠ 0 := |
| 38 | SourceFrameComponents.CM.direct_source_frame_scale_ne_zero K Q places.distinguished (1, j) |
| 39 | |
| 40 | theorem single_native_cotangent_scale_slot (i : Fin 2) : |
| 41 | SourceFrameComponents.CM.directSourceFrameScale K Q places.distinguished (i.succ, j) = singleNativeCotangentScale K Q j := by |
| 42 | fin_cases i <;> simp [singleNativeCotangentScale, SourceFrameComponents.CM.directSourceFrameScale] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 47 | |
| 48 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 49 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 50 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 51 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 52 | |
| 53 | theorem direct_single_native_dual_apply (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) |
| 54 | (p : Fin places.count × (Fin 3 × Fin 1)) : |
| 55 | SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j u p = |
| 56 | (SourceFrameComponents.CM.directSourceFrameScale K Q p.1 (p.2.1, j))⁻¹ * u (p.1, p.2.1) := by |
| 57 | have hi : (SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j)⁻¹ = |
| 58 | Matrix.diagonal (fun p : HeckeCycles.GeometricSource.CM.Positions K places => (SourceFrameComponents.CM.directSourceFrameScale K Q p.1 (p.2, j))⁻¹) := by |
| 59 | apply Matrix.inv_eq_right_inv |
| 60 | rw [direct_single_frame_coefficient_diagonal, Matrix.diagonal_mul_diagonal] |
| 61 | simp only [mul_inv_cancel₀ (SourceFrameComponents.CM.direct_source_frame_scale_ne_zero K Q _ _), Matrix.diagonal_one] |
| 62 | rw [SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates, hi, Matrix.diagonal_transpose, Matrix.mulVec_diagonal] |
| 63 | rfl |
| 64 | |
| 65 | theorem direct_single_native_dual_slot (i : Fin 2) : |
| 66 | SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (SingleAdaptedDualSlots.CM.singleAdaptedDualSlot K places i) = |
| 67 | (singleNativeCotangentScale K Q j)⁻¹ • Pi.single |
| 68 | (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.slot (A := SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) i) 1 := by |
| 69 | funext p |
| 70 | rcases p with ⟨v, k, l⟩ |
| 71 | fin_cases l |
| 72 | rw [direct_single_native_dual_apply] |
| 73 | change (SourceFrameComponents.CM.directSourceFrameScale K Q v (k, j))⁻¹ * |
| 74 | (Pi.single (places.distinguished, i.succ) 1 : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) (v, k) = |
| 75 | (singleNativeCotangentScale K Q j)⁻¹ * |
| 76 | (Pi.single (places.distinguished, i.succ, (0 : Fin 1)) 1 : |
| 77 | Fin places.count × (Fin 3 × Fin 1) → ℂ) (v, k, 0) |
| 78 | by_cases h : places.distinguished = v ∧ i.succ = k |
| 79 | · rcases h with ⟨rfl, rfl⟩ |
| 80 | simp only [Pi.single_eq_same, mul_one, single_native_cotangent_scale_slot] |
| 81 | · have hn : ¬ (v = places.distinguished ∧ k = i.succ) := |
| 82 | fun hh => h ⟨hh.1.symm, hh.2.symm⟩ |
| 83 | simp only [Pi.single_apply, Prod.mk.injEq, and_true, ite_eq_right hn, mul_zero] |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleIntrinsicCotangentSlots.CM |