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.AbelianModuli.HilbertConstruction.Matrix.ChartBaseChange |
| 2 | import Mathlib.LinearAlgebra.Pi |
| 3 | |
| 4 | /-! # Coordinate Permutations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Chart.CoordinatePermutations |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Permuting the ambient coordinates uniformly over every coefficient ring. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | /-- A permutation acts on functions by inverse reindexing. -/ |
| 15 | def chartFunctionPermutation (R : Type u) [CommRing R] {ι : Type*} (τ : Equiv.Perm ι) : |
| 16 | (ι → R) ≃ₗ[R] (ι → R) where |
| 17 | toFun f i := f (τ.symm i) |
| 18 | invFun f i := f (τ i) |
| 19 | left_inv f := by funext i; simp |
| 20 | right_inv f := by funext i; simp |
| 21 | map_add' _ _ := rfl |
| 22 | map_smul' _ _ := rfl |
| 23 | |
| 24 | /-- An ambient coordinate permutation acts on the two summands of a quotient chart. -/ |
| 25 | def chartCoordinatePermutation (R : Type u) [CommRing R] {k l : ℕ} |
| 26 | (τ : Equiv.Perm (Fin k ⊕ Fin l)) : |
| 27 | ((Fin k → R) × (Fin l → R)) ≃ₗ[R] ((Fin k → R) × (Fin l → R)) := |
| 28 | (LinearEquiv.sumArrowLequivProdArrow (Fin k) (Fin l) R R).symm.trans |
| 29 | ((chartFunctionPermutation R τ).trans (LinearEquiv.sumArrowLequivProdArrow (Fin k) (Fin l) R R)) |
| 30 | |
| 31 | theorem chartCoordinatePermutation_fst (R : Type u) [CommRing R] {k l : ℕ} |
| 32 | (τ : Equiv.Perm (Fin k ⊕ Fin l)) (x : (Fin k → R) × (Fin l → R)) (i : Fin k) : |
| 33 | (chartCoordinatePermutation R τ x).1 i = Sum.elim x.1 x.2 (τ.symm (Sum.inl i)) := rfl |
| 34 | |
| 35 | theorem chartCoordinatePermutation_snd (R : Type u) [CommRing R] {k l : ℕ} |
| 36 | (τ : Equiv.Perm (Fin k ⊕ Fin l)) (x : (Fin k → R) × (Fin l → R)) (i : Fin l) : |
| 37 | (chartCoordinatePermutation R τ x).2 i = Sum.elim x.1 x.2 (τ.symm (Sum.inr i)) := rfl |
| 38 | |
| 39 | /-- Coordinate permutations commute with arbitrary scalar extension. -/ |
| 40 | theorem chartCoordinatePermutation_naturality {R : Type u} {B : Type v} [CommRing R] [CommRing B] |
| 41 | (φ : R →+* B) {k l : ℕ} (τ : Equiv.Perm (Fin k ⊕ Fin l)) |
| 42 | (x : (Fin k → R) × (Fin l → R)) : |
| 43 | Matrix.ChartBaseChange.chartPairMap φ k l (chartCoordinatePermutation R τ x) = |
| 44 | chartCoordinatePermutation B τ (Matrix.ChartBaseChange.chartPairMap φ k l x) := by |
| 45 | apply Prod.ext |
| 46 | · funext i |
| 47 | change φ (Sum.elim x.1 x.2 (τ.symm (Sum.inl i))) = |
| 48 | Sum.elim (fun j => φ (x.1 j)) (fun j => φ (x.2 j)) (τ.symm (Sum.inl i)) |
| 49 | cases τ.symm (Sum.inl i) <;> rfl |
| 50 | · funext i |
| 51 | change φ (Sum.elim x.1 x.2 (τ.symm (Sum.inr i))) = |
| 52 | Sum.elim (fun j => φ (x.1 j)) (fun j => φ (x.2 j)) (τ.symm (Sum.inr i)) |
| 53 | cases τ.symm (Sum.inr i) <;> rfl |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Chart.CoordinatePermutations |