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.BoundedOpen.Resolution |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionPresheaf |
| 3 | |
| 4 | /-! # Section Presheaf -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionPresheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: sections of the original bounded crystalline resolution over geometric opens |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 22 | |
| 23 | abbrev property (V : Y.Opens) : ObjectProperty |
| 24 | (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) := |
| 25 | Subsite.property fY V.ι n |
| 26 | |
| 27 | theorem monotone : Monotone (property (p := p) (J := J) (δ := δ) fY n) := by |
| 28 | intro U V h T hT |
| 29 | obtain ⟨t, ht⟩ := hT |
| 30 | refine ⟨t ≫ Y.homOfLE h, ?_⟩ |
| 31 | rw [Category.assoc, Scheme.homOfLE_ι, ht] |
| 32 | |
| 33 | theorem incoming (V : Y.Opens) {U T : BoundedCrystalline.Site.Objects |
| 34 | (p := p) (J := J) (δ := δ) fY n} (α : U ⟶ T) : property fY n V T → property fY n V U := |
| 35 | Subsite.incoming fY V.ι n α |
| 36 | |
| 37 | def functor : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n ⥤ |
| 38 | (Y.Opensᵒᵖ ⥤ ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 39 | sheafToPresheaf (BoundedCrystalline.Site.topology fY n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) ⋙ |
| 40 | Incoming.SectionPresheaf.functor (Crystalline.ExactRestriction.Coeff (B := B)) (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) (Crystalline.ExactRestriction.Coeff (B := B))) |
| 41 | (property fY n) (monotone fY n) |
| 42 | |
| 43 | instance functor_additive : (functor (p := p) (J := J) (δ := δ) fY n).Additive := by |
| 44 | dsimp only [functor] |
| 45 | infer_instance |
| 46 | |
| 47 | theorem restriction_surjective (F : BoundedCrystalline.Site.ModuleSheaf |
| 48 | (p := p) (J := J) (δ := δ) fY n) [Injective F] {U V : Y.Opensᵒᵖ} (α : U ⟶ V) : |
| 49 | Function.Surjective (((functor fY n).obj F).map α) := |
| 50 | Incoming.SectionPresheaf.sheaf_map_surjective (Crystalline.ExactRestriction.Coeff (B := B)) |
| 51 | (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) (Crystalline.ExactRestriction.Coeff (B := B))) (property fY n) (monotone fY n) |
| 52 | (fun V {_ _} α => incoming fY n V α) (BoundedCrystalline.Site.topology fY n) F α |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionPresheaf |