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.IntegralComparison.BoundedCrystalline.Site |
| 2 | import Mathlib.RingTheory.RingHom.Flat |
| 3 | |
| 4 | /-! # Base Ring -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.BaseRing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original coefficient ring acts on every bounded frame through its native prime-power quotient. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 20 | |
| 21 | theorem kills (U : Site.Objects (p := p) (J := J) (δ := δ) f n) : |
| 22 | (Ideal.span {(p : B)}) ^ (n + 1) ≤ RingHom.ker U.obj.base := by |
| 23 | rw [Ideal.span_singleton_pow, Ideal.span_le] |
| 24 | rintro a (rfl : a = _) |
| 25 | change U.obj.base ((p : B) ^ (n + 1)) = 0 |
| 26 | rw [map_pow, map_natCast] |
| 27 | exact U.property |
| 28 | |
| 29 | def base (U : Site.Objects (p := p) (J := J) (δ := δ) f n) : |
| 30 | (B ⧸ (Ideal.span {(p : B)}) ^ (n + 1)) →+* U.obj.ring := |
| 31 | Ideal.Quotient.lift _ U.obj.base (kills f n U) |
| 32 | |
| 33 | theorem base_mk (U : Site.Objects (p := p) (J := J) (δ := δ) f n) (b : B) : |
| 34 | BaseRing.base f n U (Ideal.Quotient.mk ((Ideal.span {(p : B)}) ^ (n + 1)) b) = U.obj.base b := rfl |
| 35 | |
| 36 | theorem natural {U V : Site.Objects (p := p) (J := J) (δ := δ) f n} (α : U ⟶ V) : |
| 37 | α.hom.ringMap.toRingHom.comp (BaseRing.base f n V) = BaseRing.base f n U := by |
| 38 | apply RingHom.ext |
| 39 | intro a |
| 40 | obtain ⟨b, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 41 | exact DFunLike.congr_fun α.hom.overBase b |
| 42 | |
| 43 | theorem flat_of_hom {U V : Site.Objects (p := p) (J := J) (δ := δ) f n} (α : U ⟶ V) |
| 44 | (hα : α.hom.ringMap.toRingHom.Flat) (hV : (BaseRing.base f n V).Flat) : (BaseRing.base f n U).Flat := |
| 45 | natural f n α ▸ hV.comp hα |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.BaseRing |