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.EquivalentPresheafSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricResolution |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Resolution |
| 4 | |
| 5 | /-! # Geometric Open Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricOpenSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: the geometric chart section complex is the original incoming-subsite section complex |
| 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 "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Subsite.restriction (p := p) (J := J) (δ := δ) fY g n |
| 27 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 28 | |
| 29 | def linearEquiv (F : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n) : |
| 30 | ((Functor.const (BoundedOpen.Subsite.Objects (p := p) (J := J) (δ := δ) fY g n)ᵒᵖ).obj |
| 31 | (ModuleCat.of R R) ⟶ ((S).obj F).obj) ≃ₗ[R] |
| 32 | ((Functor.const (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ).obj |
| 33 | (ModuleCat.of R R) ⟶ ((G).obj F).obj) := |
| 34 | EquivalentPresheafSections.linearEquiv R (BoundedOpen.Equivalence.openFunctor g hg n) |
| 35 | (ModuleCat.of R R) ((S).obj F).obj |
| 36 | |
| 37 | theorem naturality {F H : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n} |
| 38 | (a : (Functor.const (BoundedOpen.Subsite.Objects (p := p) (J := J) (δ := δ) fY g n)ᵒᵖ).obj |
| 39 | (ModuleCat.of R R) ⟶ ((S).obj F).obj) (b : F ⟶ H) : |
| 40 | linearEquiv g hg n H (a ≫ ((S).map b).hom) = linearEquiv g hg n F a ≫ ((G).map b).hom := rfl |
| 41 | |
| 42 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 43 | (p := p) (J := J) (δ := δ) fY n)) |
| 44 | |
| 45 | def complexIso : BoundedOpen.Resolution.complex fY g n I ≅ GeometricResolution.complex g hg n I := |
| 46 | HomologicalComplex.Hom.isoOfComponents |
| 47 | (fun i => (ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapIso |
| 48 | (linearEquiv g hg n (I.cocomplex.X i)).toModuleIso) |
| 49 | (by |
| 50 | intro i j hij |
| 51 | apply ModuleCat.hom_ext |
| 52 | apply LinearMap.ext |
| 53 | intro x |
| 54 | rfl) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricOpenSections |