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.Ideal.Quotient.Operations |
| 2 | |
| 3 | /-! # Ring Quotient Factor -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RingQuotientFactor |
| 6 | |
| 7 | /-! A factor between two surjective ring quotients with the same kernel is bijective. -/ |
| 8 | |
| 9 | universe u v w |
| 10 | |
| 11 | variable {R : Type u} {S : Type v} {T : Type w} [CommRing R] [CommRing S] [CommRing T] |
| 12 | (q : R →+* S) (h : R →+* T) (g : S →+* T) |
| 13 | (hq : Function.Surjective q) (hh : Function.Surjective h) |
| 14 | (hc : g.comp q = h) (hk : RingHom.ker q = RingHom.ker h) |
| 15 | |
| 16 | include hq hh hc hk in |
| 17 | theorem bijective : Function.Bijective g := by |
| 18 | constructor |
| 19 | · intro a b hab |
| 20 | obtain ⟨x, rfl⟩ := hq a |
| 21 | obtain ⟨y, rfl⟩ := hq b |
| 22 | have he : h x = h y := |
| 23 | (RingHom.congr_fun hc x).symm.trans (hab.trans (RingHom.congr_fun hc y)) |
| 24 | have hm : x - y ∈ RingHom.ker h := by |
| 25 | change h (x - y) = 0 |
| 26 | rw [map_sub, he, sub_self] |
| 27 | have hq0 : x - y ∈ RingHom.ker q := hk.symm ▸ hm |
| 28 | exact sub_eq_zero.mp ((q.map_sub x y).symm.trans hq0) |
| 29 | · intro t |
| 30 | obtain ⟨r, hr⟩ := hh t |
| 31 | exact ⟨q r, (RingHom.congr_fun hc r).trans hr⟩ |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RingQuotientFactor |