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 | |
| 3 | /-! # Ring Ext -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.RingExt.BoundedFrameRingExt |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Bounded frame maps are determined on any surjective family of ring elements. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 14 | |
| 15 | universe u v |
| 16 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 17 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {n : ℕ} |
| 18 | {U V T : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 19 | |
| 20 | theorem ext_fun {α β : U ⟶ V} (h : ∀ x, α.hom.ringMap x = β.hom.ringMap x) : α = β := by |
| 21 | apply (IntegralComparison.BoundedCrystalline.Site.inclusion f n).map_injective |
| 22 | apply IntegralComparison.BigCrystallineSite.Object.Hom.ext |
| 23 | ext x |
| 24 | exact h x |
| 25 | |
| 26 | theorem id_of_surjective {A : Type v} (q : A → U.obj.ring) (hq : Function.Surjective q) |
| 27 | (α : U ⟶ U) (h : ∀ a, α.hom.ringMap (q a) = q a) : α = 𝟙 U := by |
| 28 | apply ext_fun |
| 29 | intro x |
| 30 | obtain ⟨a, rfl⟩ := hq x |
| 31 | exact h a |
| 32 | |
| 33 | theorem comp_of_surjective {A : Type v} (q : A → T.obj.ring) (hq : Function.Surjective q) |
| 34 | (α : U ⟶ V) (β : V ⟶ T) (γ : U ⟶ T) |
| 35 | (h : ∀ a, γ.hom.ringMap (q a) = α.hom.ringMap (β.hom.ringMap (q a))) : |
| 36 | γ = α ≫ β := by |
| 37 | apply ext_fun |
| 38 | intro x |
| 39 | obtain ⟨a, rfl⟩ := hq x |
| 40 | exact h a |
| 41 | |
| 42 | theorem id_of_formula {A : Type v} (q : A → U.obj.ring) (hq : Function.Surjective q) |
| 43 | (α : U ⟶ U) (r : A → A) (h : ∀ a, α.hom.ringMap (q a) = q (r a)) |
| 44 | (hr : ∀ a, r a = a) : α = 𝟙 U := |
| 45 | id_of_surjective q hq α (fun a => (h a).trans (congrArg q (hr a))) |
| 46 | |
| 47 | theorem comp_of_formulas {A₁ A₂ A₃ : Type v} |
| 48 | (q₁ : A₁ → U.obj.ring) (q₂ : A₂ → V.obj.ring) (q₃ : A₃ → T.obj.ring) |
| 49 | (hq₃ : Function.Surjective q₃) |
| 50 | (α : U ⟶ V) (β : V ⟶ T) (γ : U ⟶ T) |
| 51 | (r₁₂ : A₂ → A₁) (r₂₃ : A₃ → A₂) (r₁₃ : A₃ → A₁) |
| 52 | (hα : ∀ a, α.hom.ringMap (q₂ a) = q₁ (r₁₂ a)) |
| 53 | (hβ : ∀ a, β.hom.ringMap (q₃ a) = q₂ (r₂₃ a)) |
| 54 | (hγ : ∀ a, γ.hom.ringMap (q₃ a) = q₁ (r₁₃ a)) |
| 55 | (hr : ∀ a, r₁₃ a = r₁₂ (r₂₃ a)) : γ = α ≫ β := |
| 56 | comp_of_surjective q₃ hq₃ α β γ (fun a => |
| 57 | (hγ a).trans ((congrArg q₁ (hr a)).trans |
| 58 | ((congrArg α.hom.ringMap (hβ a)).trans (hα (r₂₃ a))).symm)) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.RingExt.BoundedFrameRingExt |