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.Topology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology |
| 3 | import Mathlib.CategoryTheory.Sites.Equivalence |
| 4 | |
| 5 | /-! # Sheaves -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Sheaves |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: the actual bounded chart sheaf equivalence retains both cohomology coefficients |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 22 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 23 | (g : X ⟶ Y) [Mono g] (hg : g ≫ fY = f) (n : ℕ) |
| 24 | |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 26 | local notation "JX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology (p := p) (J := J) (δ := δ) f n |
| 27 | local notation "JY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology (p := p) (J := J) (δ := δ) fY n |
| 28 | local notation "JO" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Subsite.topology (p := p) (J := J) (δ := δ) fY g n |
| 29 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.openFunctor (p := p) (J := J) (δ := δ) g hg n |
| 30 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 31 | |
| 32 | def equivalence : Subsite.ModuleSheaf (p := p) (J := J) (δ := δ) fY g n ≌ |
| 33 | BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n := by |
| 34 | let e := BoundedOpen.Equivalence.equivalence (p := p) (J := J) (δ := δ) g hg n |
| 35 | letI : e.symm.inverse.IsDenseSubsite JX JO := Topology.dense g hg n |
| 36 | exact e.symm.sheafCongr JO JX (ModuleCat.{u + 1} R) |
| 37 | |
| 38 | instance equivalence_additive : (equivalence (p := p) (J := J) (δ := δ) g hg n).functor.Additive where |
| 39 | map_add := by intros; rfl |
| 40 | |
| 41 | instance equivalence_linear : (equivalence (p := p) (J := J) (δ := δ) g hg n).functor.Linear R where |
| 42 | map_smul := by intros; rfl |
| 43 | |
| 44 | def restrictionIso : Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n ≅ |
| 45 | Subsite.restriction fY g n ⋙ (equivalence g hg n).functor := Iso.refl _ |
| 46 | |
| 47 | omit [Mono g] in |
| 48 | def levelRestrictionIso : BoundedCrystalline.Site.restriction (p := p) (J := J) (δ := δ) fY n ⋙ |
| 49 | Bounded.PostcomposeTopology.restriction g hg n ≅ |
| 50 | Crystalline.ExactRestriction.restriction g hg ⋙ BoundedCrystalline.Site.restriction f n := Iso.refl _ |
| 51 | |
| 52 | omit [Mono g] in |
| 53 | def structureTransport : (Bounded.PostcomposeTopology.restriction g hg n).obj |
| 54 | (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) fY n) ≅ |
| 55 | BoundedCrystalline.CrystallineCohomology.structureSheaf f n := |
| 56 | (levelRestrictionIso g hg n).app (BigCrystallineCohomology.structureSheaf fY) ≪≫ |
| 57 | (BoundedCrystalline.Site.restriction f n).mapIso (BigCrystallineCohomology.structureTransport g hg) |
| 58 | |
| 59 | variable (fY) |
| 60 | |
| 61 | abbrev constantUnit : Subsite.ModuleSheaf (p := p) (J := J) (δ := δ) fY g n := |
| 62 | (constantSheaf JO (ModuleCat.{u + 1} R)).obj (ModuleCat.of R R) |
| 63 | |
| 64 | abbrev structureSheaf : Subsite.ModuleSheaf (p := p) (J := J) (δ := δ) fY g n := |
| 65 | (Subsite.restriction fY g n).obj (BoundedCrystalline.CrystallineCohomology.structureSheaf fY n) |
| 66 | |
| 67 | variable {fY} |
| 68 | |
| 69 | def constantUnitIso : (equivalence g hg n).functor.obj (constantUnit (p := p) (J := J) (δ := δ) fY g n) ≅ |
| 70 | BoundedCrystalline.CrystallineCohomology.constantUnit f n := |
| 71 | ((E).pushforwardContinuousSheafificationCompatibility (ModuleCat.{u + 1} R) JX JO).symm.app |
| 72 | ((Functor.const (Subsite.Objects (p := p) (J := J) (δ := δ) fY g n)ᵒᵖ).obj (ModuleCat.of R R)) |
| 73 | |
| 74 | def structureSheafIso : (equivalence g hg n).functor.obj (structureSheaf (p := p) (J := J) (δ := δ) fY g n) ≅ |
| 75 | BoundedCrystalline.CrystallineCohomology.structureSheaf f n := |
| 76 | ((restrictionIso g hg n).app (BoundedCrystalline.CrystallineCohomology.structureSheaf fY n)).symm ≪≫ |
| 77 | structureTransport g hg n |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Sheaves |