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.BoundedFrame.SheafSectionMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SectionChange |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.GeometricMap |
| 4 | |
| 5 | /-! # Geometric Section Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.GeometricSectionMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual frame section maps commute with geometric restriction and change of frame together. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 20 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 21 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 22 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) [Mono g] (hg : g ≫ fY = f) (n : ℕ) |
| 23 | {FX : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 24 | {FY : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 25 | (α : (BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 28 | |
| 29 | def sourceMap : ((R).mapHomologicalComplex (.up ℕ)).obj |
| 30 | (((constantSheaf (BoundedCrystalline.Site.topology fY n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).obj (DeRhamSections.frameComplex fY n FY)) ⟶ |
| 31 | ((constantSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).obj (DeRhamSections.frameComplex f n FX) := |
| 32 | ((R).mapHomologicalComplex (.up ℕ)).map (((constantSheaf (BoundedCrystalline.Site.topology fY n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).map (SectionChange.frameMap α)) ≫ |
| 33 | (SheafSectionMap.sourceIso g hg n FX).hom |
| 34 | |
| 35 | theorem complexes : ((R).mapHomologicalComplex (.up ℕ)).map |
| 36 | (DeRhamSections.sheafMap fY n FY) ≫ GeometricMap.map g hg n α = |
| 37 | sourceMap g hg n α ≫ DeRhamSections.sheafMap f n FX := by |
| 38 | let T := (R).mapHomologicalComplex (.up ℕ) |
| 39 | have h₁ := (T.map_comp (DeRhamSections.sheafMap fY n FY) |
| 40 | (Change.sheafMap α)).symm.trans |
| 41 | ((congrArg T.map (SectionChange.sheaf_naturality α)).trans (T.map_comp _ _)) |
| 42 | have h₂ := SheafSectionMap.complexes g hg n FX |
| 43 | exact (Category.assoc _ _ _).symm.trans |
| 44 | ((congrArg (fun a => a ≫ (SheafRestriction.complexIso g hg n FX).hom) h₁).trans |
| 45 | ((Category.assoc _ _ _).trans |
| 46 | ((congrArg (fun a => T.map (((constantSheaf (BoundedCrystalline.Site.topology fY n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).map (SectionChange.frameMap α)) ≫ a) h₂).trans |
| 47 | (Category.assoc _ _ _).symm))) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.GeometricSectionMap |