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.RepresentationTheory.Hecke.RadialDilation.PairingTransport |
| 2 | |
| 3 | /-! # Paired Symplectic -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.PairedSymplectic.Realization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Explicit symplectic coordinates for paired split blocks with nondegenerate cross-pairings. -/ |
| 10 | |
| 11 | open scoped Classical _root_.Matrix |
| 12 | open _root_.Matrix |
| 13 | |
| 14 | variable {K Place : Type*} [Field K] |
| 15 | |
| 16 | abbrev SplitPairedSpace := Place → (Fin 3 → K) × (Fin 3 → K) |
| 17 | |
| 18 | def pairedCoordinateEquiv (A : Place → (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) : |
| 19 | SplitPairedSpace (K := K) (Place := Place) ≃ₗ[K] |
| 20 | (Sum (Place × Fin 3) (Place × Fin 3) → K) where |
| 21 | toFun u := Sum.elim (fun p => (u p.1).1 p.2) (fun p => A p.1 (u p.1).2 p.2) |
| 22 | invFun x τ := (fun i => x (Sum.inl (τ, i)), (A τ).symm (fun i => x (Sum.inr (τ, i)))) |
| 23 | left_inv u := by |
| 24 | funext τ |
| 25 | exact Prod.ext rfl ((A τ).symm_apply_apply (u τ).2) |
| 26 | right_inv x := by |
| 27 | funext j |
| 28 | cases j with |
| 29 | | inl p => rfl |
| 30 | | inr p => exact congrFun ((A p.1).apply_symm_apply (fun i => x (Sum.inr (p.1, i)))) p.2 |
| 31 | map_add' u v := by |
| 32 | funext j |
| 33 | cases j with |
| 34 | | inl p => rfl |
| 35 | | inr p => exact congrFun ((A p.1).map_add (u p.1).2 (v p.1).2) p.2 |
| 36 | map_smul' a u := by |
| 37 | funext j |
| 38 | cases j with |
| 39 | | inl p => rfl |
| 40 | | inr p => exact congrFun ((A p.1).map_smul a (u p.1).2) p.2 |
| 41 | |
| 42 | def pairedTraceValue [Fintype Place] (T : Place → Matrix (Fin 3) (Fin 3) K) |
| 43 | (u v : SplitPairedSpace (K := K) (Place := Place)) : K := |
| 44 | ∑ τ, ((u τ).1 ⬝ᵥ (T τ *ᵥ (v τ).2) - (v τ).1 ⬝ᵥ (T τ *ᵥ (u τ).2)) |
| 45 | |
| 46 | def pairedSymplecticCoordinates (T : Place → Matrix (Fin 3) (Fin 3) K) |
| 47 | (hT : ∀ τ, (T τ).det ≠ 0) : |
| 48 | SplitPairedSpace (K := K) (Place := Place) ≃ₗ[K] |
| 49 | (Sum (Place × Fin 3) (Place × Fin 3) → K) := |
| 50 | pairedCoordinateEquiv (fun τ => Matrix.toLinearEquiv' (T τ) |
| 51 | (Matrix.invertibleOfIsUnitDet (T τ) (isUnit_iff_ne_zero.mpr (hT τ)))) |
| 52 | |
| 53 | theorem pairedSymplecticCoordinates_inl (T : Place → Matrix (Fin 3) (Fin 3) K) |
| 54 | (hT : ∀ τ, (T τ).det ≠ 0) (u : SplitPairedSpace (K := K) (Place := Place)) (τ : Place) (i : Fin 3) : |
| 55 | pairedSymplecticCoordinates T hT u (Sum.inl (τ, i)) = (u τ).1 i := rfl |
| 56 | |
| 57 | theorem pairedSymplecticCoordinates_inr (T : Place → Matrix (Fin 3) (Fin 3) K) |
| 58 | (hT : ∀ τ, (T τ).det ≠ 0) (u : SplitPairedSpace (K := K) (Place := Place)) (τ : Place) (i : Fin 3) : |
| 59 | pairedSymplecticCoordinates T hT u (Sum.inr (τ, i)) = (T τ *ᵥ (u τ).2) i := rfl |
| 60 | |
| 61 | theorem pairedSymplecticCoordinates_pairing [Fintype Place] |
| 62 | (T : Place → Matrix (Fin 3) (Fin 3) K) (hT : ∀ τ, (T τ).det ≠ 0) |
| 63 | (u v : SplitPairedSpace (K := K) (Place := Place)) : |
| 64 | FramePositivity.Realization.coordinatePairing (pairedSymplecticCoordinates T hT u) (pairedSymplecticCoordinates T hT v) = |
| 65 | pairedTraceValue T u v := by |
| 66 | simp only [FramePositivity.Realization.coordinatePairing, Fintype.sum_prod_type, pairedSymplecticCoordinates_inl, |
| 67 | pairedSymplecticCoordinates_inr, pairedTraceValue, dotProduct, Finset.sum_sub_distrib] |
| 68 | congr 1 |
| 69 | apply Finset.sum_congr rfl |
| 70 | intro τ _ |
| 71 | apply Finset.sum_congr rfl |
| 72 | intro i _ |
| 73 | exact mul_comm _ _ |
| 74 | |
| 75 | theorem pairedCoordinateEquiv_scalar |
| 76 | (A : Place → (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) (a : Place → K) |
| 77 | (u : SplitPairedSpace (K := K) (Place := Place)) : |
| 78 | pairedCoordinateEquiv A (fun τ => (a τ • (u τ).1, (a τ)⁻¹ • (u τ).2)) = |
| 79 | Sum.elim (fun p => a p.1 * pairedCoordinateEquiv A u (Sum.inl p)) |
| 80 | (fun p => (a p.1)⁻¹ * pairedCoordinateEquiv A u (Sum.inr p)) := by |
| 81 | funext j |
| 82 | cases j with |
| 83 | | inl p => rfl |
| 84 | | inr p => exact congrFun ((A p.1).map_smul (a p.1)⁻¹ (u p.1).2) p.2 |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.RepresentationTheory.Hecke.RadialDilation.PairedSymplectic.Realization |