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.Bounded.GlobalSectionRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.OpenSectionLevel |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionRestriction |
| 4 | |
| 5 | /-! # Global Open Section Level -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.GlobalOpenSectionLevel.BoundedGlobalOpenSectionLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting actual global sections to an open commutes with |
| 12 | restriction between bounded crystalline levels. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 17 | universe u |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) (n m : ℕ) (hnm : n ≤ m) |
| 20 | |
| 21 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 22 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm |
| 23 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) (J := J) (δ := δ) f n m hnm |
| 24 | |
| 25 | theorem natural : GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation (p := p) (J := J) (δ := δ) f m ≫ |
| 26 | OpenSectionLevel.BoundedOpenSectionLevel.transformation f n m hnm = |
| 27 | Functor.whiskerRight (IntegralComparison.Sheaf.PresheafSectionRestriction.map G R (IntegralComparison.BoundedCrystalline.Site.topology f n) (IntegralComparison.BoundedCrystalline.Site.topology f m)) |
| 28 | (Functor.const Y.Opensᵒᵖ) ≫ |
| 29 | Functor.whiskerLeft T (GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation f n) := by |
| 30 | apply NatTrans.ext |
| 31 | funext M |
| 32 | apply NatTrans.ext |
| 33 | funext U |
| 34 | apply ModuleCat.hom_ext |
| 35 | apply LinearMap.ext |
| 36 | intro x |
| 37 | rfl |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.GlobalOpenSectionLevel.BoundedGlobalOpenSectionLevel |