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.Weil.AdelicSplitting.TensorSpace |
| 2 | |
| 3 | /-! # Frame Change -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.FrameChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Changing between two symplectic frames of the same actual trace tensor |
| 10 | space conjugates its concrete matrix action. -/ |
| 11 | |
| 12 | open OAI.RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction |
| 13 | |
| 14 | variable {k : Type*} [Field k] {d : k} {n m : ℕ} |
| 15 | {H : Matrix (Fin n) (Fin n) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)} |
| 16 | {K : Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)} |
| 17 | (c e : Weil.AdelicSplitting.TensorSpace.Construction.SymplecticFrame d n m H K) |
| 18 | |
| 19 | def frameChangeLinear : Weil.AdelicSplitting.TensorSpace.Construction.StandardPhase (k := k) n m ≃ₗ[k] Weil.AdelicSplitting.TensorSpace.Construction.StandardPhase (k := k) n m := |
| 20 | c.coordinates.symm.trans e.coordinates |
| 21 | |
| 22 | theorem frameChange_preserves (x y : Weil.AdelicSplitting.TensorSpace.Construction.StandardPhase (k := k) n m) : |
| 23 | Weil.AdelicSplitting.TensorSpace.Construction.coordinatePairing n m (frameChangeLinear c e x) (frameChangeLinear c e y) = |
| 24 | Weil.AdelicSplitting.TensorSpace.Construction.coordinatePairing n m x y := by |
| 25 | change Weil.AdelicSplitting.TensorSpace.Construction.coordinatePairing n m (e.coordinates (c.coordinates.symm x)) |
| 26 | (e.coordinates (c.coordinates.symm y)) = _ |
| 27 | rw [e.preserves, ← c.preserves] |
| 28 | simp |
| 29 | |
| 30 | def frameChange : Matrix.symplecticGroup (Fin (n * m)) k := by |
| 31 | refine ⟨LinearMap.toMatrix' (frameChangeLinear c e).toLinearMap, ?_⟩ |
| 32 | apply SymplecticGroup.mem_iff'.mpr |
| 33 | apply Matrix.toBilin'.injective |
| 34 | rw [← Matrix.toBilin'_comp] |
| 35 | simp only [Matrix.toLin'_toMatrix'] |
| 36 | apply LinearMap.ext |
| 37 | intro x |
| 38 | apply LinearMap.ext |
| 39 | intro y |
| 40 | have h := congrArg (fun a : k => -a) (frameChange_preserves c e x y) |
| 41 | simpa [Weil.AdelicSplitting.TensorSpace.Construction.coordinatePairing] using h |
| 42 | |
| 43 | theorem frameChange_intertwines (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H × Weil.AdelicSplitting.UnitaryBase.Construction.Unitary K) : |
| 44 | frameChange c e * Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H K c g = |
| 45 | Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H K e g * frameChange c e := by |
| 46 | apply Subtype.ext |
| 47 | apply LinearMap.toMatrix'.symm.injective |
| 48 | ext x i |
| 49 | simp [frameChange, frameChangeLinear, Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic, |
| 50 | Weil.AdelicSplitting.TensorSpace.Construction.coordinateMatrix, Weil.AdelicSplitting.TensorSpace.Construction.coordinateAction] |
| 51 | |
| 52 | theorem frameChange_conjugates (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H × Weil.AdelicSplitting.UnitaryBase.Construction.Unitary K) : |
| 53 | frameChange c e * Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H K c g * (frameChange c e)⁻¹ = |
| 54 | Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H K e g := by |
| 55 | rw [frameChange_intertwines] |
| 56 | exact mul_inv_cancel_right _ _ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.RepresentationTheory.Theta.Adelic.FrameChange |