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.RingTheory.Regular.Flat |
| 2 | import Mathlib.RingTheory.RingHom.Flat |
| 3 | |
| 4 | /-! # Algebra Equiv Regular Sequence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraEquivRegularSequence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual weakly regular sequences are preserved by a ring |
| 11 | isomorphism, through its genuine flat algebra structure. -/ |
| 12 | variable {A B : Type*} [CommRing A] [CommRing B] |
| 13 | |
| 14 | theorem regular (e : A ≃+* B) {n : ℕ} (s : Fin n → A) |
| 15 | (hs : RingTheory.Sequence.IsWeaklyRegular A (List.ofFn s)) : |
| 16 | RingTheory.Sequence.IsWeaklyRegular B (List.ofFn (fun i => e (s i))) := by |
| 17 | let : Algebra A B := e.toRingHom.toAlgebra |
| 18 | let : Module.Flat A B := RingHom.Flat.of_bijective e.bijective |
| 19 | have h := hs.of_flat (S := B) |
| 20 | have he : (List.ofFn s).map (algebraMap A B) = List.ofFn (fun i => e (s i)) := by |
| 21 | rw [List.map_ofFn] |
| 22 | rfl |
| 23 | rw [he] at h |
| 24 | exact h |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraEquivRegularSequence |