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.OpenSectionMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections |
| 4 | |
| 5 | /-! # Sheaf Section Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafSectionMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: geometric restriction preserves the actual constant-sheaf frame comparison |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | private theorem compose_square {D : Type*} [Category D] {A B C E F G : D} |
| 22 | (a : A ⟶ B) (e : B ⟶ C) (s : A ⟶ E) (b : E ⟶ C) (c : C ⟶ F) (d : E ⟶ G) (a' : G ⟶ F) |
| 23 | (h₁ : a ≫ e = s ≫ b) (h₂ : b ≫ c = d ≫ a') : a ≫ e ≫ c = (s ≫ d) ≫ a' := |
| 24 | (Category.assoc _ _ _).symm.trans |
| 25 | ((congrArg (fun t => t ≫ c) h₁).trans ((Category.assoc _ _ _).trans |
| 26 | ((congrArg (fun t => s ≫ t) h₂).trans (Category.assoc _ _ _).symm))) |
| 27 | |
| 28 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 29 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 30 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 31 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) [Mono g] (hg : g ≫ fY = f) (n : ℕ) |
| 32 | (F : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 33 | |
| 34 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 35 | local notation "QY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n |
| 36 | local notation "SY" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := J) (δ := δ) fY n |
| 37 | local notation "SX" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := J) (δ := δ) f n |
| 38 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 39 | |
| 40 | def sourceIso : ((R).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 41 | (((constantSheaf (BoundedCrystalline.Site.topology fY n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex |
| 42 | (ComplexShape.up ℕ)).obj (DeRhamSections.frameComplex fY n ((G).obj F))) ≅ |
| 43 | (((constantSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex |
| 44 | (ComplexShape.up ℕ)).obj (DeRhamSections.frameComplex f n F)) := |
| 45 | (NatIso.mapHomologicalComplex (SheafRestriction.sheafificationIso g hg n) (ComplexShape.up ℕ)).app |
| 46 | (RelativeFrame.ComplexMap.constantComplex ((G).obj F).obj) ≪≫ |
| 47 | ((SX).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso (OpenSectionMap.sourceIso g hg n F) |
| 48 | |
| 49 | theorem component (i : ℕ) : (R).map ((DeRhamSections.sheafMap fY n ((G).obj F)).f i) ≫ |
| 50 | (SheafRestriction.complexIso g hg n F).hom.f i = |
| 51 | (sourceIso g hg n F).hom.f i ≫ (DeRhamSections.sheafMap f n F).f i := by |
| 52 | have h₁ := (SheafRestriction.sheafificationIso g hg n).hom.naturality |
| 53 | ((RelativeFrame.ComplexMap.map (Diagram.productDiagram ((G).obj F)) QY |
| 54 | (Diagram.projection ((G).obj F)) ((G).obj F).obj |
| 55 | (Symbols.frameProjection ((G).obj F))).f i) |
| 56 | have hraw := congrArg (SX).map (congrArg (fun φ => φ.f i) (OpenSectionMap.presheaf g hg n F)) |
| 57 | have h₂ := ((SX).map_comp _ _).symm.trans (hraw.trans ((SX).map_comp _ _)) |
| 58 | exact compose_square _ _ _ _ _ _ _ h₁ h₂ |
| 59 | |
| 60 | theorem complexes : ((R).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 61 | (DeRhamSections.sheafMap fY n ((G).obj F)) ≫ |
| 62 | (SheafRestriction.complexIso g hg n F).hom = |
| 63 | (sourceIso g hg n F).hom ≫ DeRhamSections.sheafMap f n F := by |
| 64 | apply HomologicalComplex.Hom.ext |
| 65 | funext i |
| 66 | exact component g hg n F i |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafSectionMap |