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.NumberTheory.PadicHodge.PeriodInvariants.FiniteEtaleIntegralTrace |
| 2 | import Mathlib.FieldTheory.Perfect |
| 3 | |
| 4 | /-! # Finite Etale Perfect Field -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteEtalePerfectField |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Finite étale algebras over a perfect field are perfect rings -/ |
| 11 | |
| 12 | universe u |
| 13 | variable (p : ℕ) [Fact p.Prime] (K E : Type u) [Field K] [CommRing E] |
| 14 | [CharP K p] [PerfectRing K p] [Algebra K E] [Algebra.Etale K E] |
| 15 | |
| 16 | include K in |
| 17 | theorem perfectRing : PerfectRing E p := by |
| 18 | classical |
| 19 | have : PerfectField K := PerfectRing.toPerfectField K p |
| 20 | obtain ⟨ι, _, L, hL, hKL, e, hfin⟩ := (Algebra.Etale.iff_exists_algEquiv_prod K E).mp inferInstance |
| 21 | let : ∀ i, Field (L i) := hL |
| 22 | let : ∀ i, Algebra K (L i) := hKL |
| 23 | have : ∀ i, Module.Finite K (L i) := fun i => (hfin i).1 |
| 24 | have : ∀ i, CharP (L i) p := fun i => charP_of_injective_algebraMap (algebraMap K (L i)).injective p |
| 25 | have : ∀ i, PerfectField (L i) := fun i => Algebra.IsAlgebraic.perfectField K |
| 26 | have : ∀ i, PerfectRing (L i) p := fun i => PerfectField.toPerfectRing p |
| 27 | constructor |
| 28 | constructor |
| 29 | · intro x y h |
| 30 | apply e.injective |
| 31 | funext i |
| 32 | apply (frobeniusEquiv (L i) p).injective |
| 33 | simpa only [map_pow, Pi.pow_apply, frobeniusEquiv_def] using congrFun (congrArg e h) i |
| 34 | · intro x |
| 35 | refine ⟨e.symm (fun i => (frobeniusEquiv (L i) p).symm (e x i)), ?_⟩ |
| 36 | apply e.injective |
| 37 | ext i |
| 38 | simp only [map_pow, AlgEquiv.apply_symm_apply, Pi.pow_apply, frobeniusEquiv_symm_pow_p] |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteEtalePerfectField |