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 Mathlib.FieldTheory.Perfect |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Basic |
| 3 | |
| 4 | /-! # Perfect Quotient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.PerfectQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Reduced quotients of perfect rings are perfect -/ |
| 11 | |
| 12 | variable (p : ℕ) [Fact p.Prime] (R : Type*) [CommRing R] [CharP R p] [PerfectRing R p] |
| 13 | (I : Ideal R) [CharP (R ⧸ I) p] [IsReduced (R ⧸ I)] |
| 14 | |
| 15 | theorem perfectRing : PerfectRing (R ⧸ I) p := by |
| 16 | apply PerfectRing.ofSurjective (R ⧸ I) p |
| 17 | intro x |
| 18 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 19 | refine ⟨Ideal.Quotient.mk I ((frobeniusEquiv R p).symm r), ?_⟩ |
| 20 | change (Ideal.Quotient.mk I ((frobeniusEquiv R p).symm r)) ^ p = Ideal.Quotient.mk I r |
| 21 | rw [← map_pow, frobeniusEquiv_symm_pow_p] |
| 22 | |
| 23 | end |
| 24 | |
| 25 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.PerfectQuotient |