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.GeometricComparison.BoundedFrame.RingExt |
| 2 | |
| 3 | /-! # Ring Square -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.RingSquare.BoundedFrameRingSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Generator formulas prove a commuting square of bounded crystalline frames. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 14 | universe u v |
| 15 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 16 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {n : ℕ} |
| 17 | {U V U' V' : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 18 | {A₁ A₂ : Type v} |
| 19 | |
| 20 | theorem ringHom {a b : U ⟶ V} (h : a.hom.ringMap.toRingHom = b.hom.ringMap.toRingHom) : a = b := |
| 21 | RingExt.BoundedFrameRingExt.ext_fun (fun x => RingHom.congr_fun h x) |
| 22 | |
| 23 | theorem comp_ringHom (a : U ⟶ V) (b : V ⟶ V') : |
| 24 | (a ≫ b).hom.ringMap.toRingHom = a.hom.ringMap.toRingHom.comp b.hom.ringMap.toRingHom := rfl |
| 25 | |
| 26 | theorem square_ringHom (a : U ⟶ V) (b : U' ⟶ V') (c : U ⟶ U') (d : V ⟶ V') |
| 27 | (h : a.hom.ringMap.toRingHom.comp d.hom.ringMap.toRingHom = |
| 28 | c.hom.ringMap.toRingHom.comp b.hom.ringMap.toRingHom) : a ≫ d = c ≫ b := ringHom h |
| 29 | |
| 30 | theorem square (qU : A₁ → U.obj.ring) (qV : A₂ → V.obj.ring) |
| 31 | (qU' : A₁ → U'.obj.ring) (qV' : A₂ → V'.obj.ring) |
| 32 | (hq : Function.Surjective qV') (r : A₂ → A₁) |
| 33 | (a : U ⟶ V) (b : U' ⟶ V') (c : U ⟶ U') (d : V ⟶ V') |
| 34 | (ha : ∀ x, a.hom.ringMap (qV x) = qU (r x)) |
| 35 | (hb : ∀ x, b.hom.ringMap (qV' x) = qU' (r x)) |
| 36 | (hc : ∀ x, c.hom.ringMap (qU' x) = qU x) |
| 37 | (hd : ∀ x, d.hom.ringMap (qV' x) = qV x) : a ≫ d = c ≫ b := by |
| 38 | apply RingExt.BoundedFrameRingExt.ext_fun |
| 39 | intro y |
| 40 | obtain ⟨x, rfl⟩ := hq y |
| 41 | exact (congrArg a.hom.ringMap (hd x)).trans |
| 42 | ((ha x).trans ((hc (r x)).symm.trans (congrArg c.hom.ringMap (hb x)).symm)) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.RingSquare.BoundedFrameRingSquare |