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.Sheaves |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.SheafInjectives |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ComplexTransport |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionComplex |
| 5 | |
| 6 | /-! # Geometric Resolution -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricResolution |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: the actual global injective resolution restricts to the original chart structure sheaf |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 23 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 24 | (g : X ⟶ Y) [Mono g] (hg : g ≫ fY = f) (n : ℕ) |
| 25 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 27 | |
| 28 | instance restriction_preservesInjectives : (R).PreservesInjectiveObjects := by |
| 29 | change (BoundedOpen.Subsite.restriction fY g n ⋙ |
| 30 | (BoundedOpen.Sheaves.equivalence g hg n).functor).PreservesInjectiveObjects |
| 31 | infer_instance |
| 32 | |
| 33 | variable (I : InjectiveResolution |
| 34 | (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) fY n)) |
| 35 | |
| 36 | def resolution : InjectiveResolution |
| 37 | (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f n) where |
| 38 | cocomplex := ((R).mapHomologicalComplex (ComplexShape.up ℕ)).obj I.cocomplex |
| 39 | injective i := (R).injective_obj_of_injective (I.injective i) |
| 40 | ι := Single.ComplexTransport.map R (BoundedOpen.Sheaves.structureTransport g hg n) I.ι |
| 41 | quasiIso := by |
| 42 | dsimp only [Single.ComplexTransport.map] |
| 43 | infer_instance |
| 44 | |
| 45 | theorem augmentation_zero : (resolution g hg n I).ι.f 0 = |
| 46 | (BoundedOpen.Sheaves.structureTransport g hg n).inv ≫ (R).map (I.ι.f 0) := |
| 47 | Single.ComplexTransport.map_zero R (BoundedOpen.Sheaves.structureTransport g hg n) I.ι |
| 48 | |
| 49 | def complex : CochainComplex (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ := |
| 50 | Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} |
| 51 | (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.Site.topology f n) (resolution g hg n I).cocomplex |
| 52 | |
| 53 | def homologyIso (i : ℕ) : (complex g hg n I).homology i ≅ |
| 54 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) |
| 55 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) := |
| 56 | Sheaf.PresheafSectionComplex.homologyIso.{u + 1, u, u + 1, u + 2} |
| 57 | (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.Site.topology f n) (resolution g hg n I) i |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricResolution |