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.Symbols |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramComplexMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex |
| 4 | |
| 5 | /-! # Change -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Change |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: changing an actual bounded crystalline frame maps its native relative resolution |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 22 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 23 | {f : X ⟶ Spec (CommRingCat.of B)} [IsSeparated f] {n : ℕ} |
| 24 | {F G : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} (α : G ⟶ F) |
| 25 | |
| 26 | def diagramMap : Diagram.productDiagram G ⟶ Diagram.productDiagram F where |
| 27 | app U := (BoundedCrystalline.Site.inclusion f n).map (prod.map α (𝟙 U)) |
| 28 | naturality U V β := by |
| 29 | change (BoundedCrystalline.Site.inclusion f n).map (prod.map (𝟙 G) β) ≫ (BoundedCrystalline.Site.inclusion f n).map (prod.map α (𝟙 V)) = |
| 30 | (BoundedCrystalline.Site.inclusion f n).map (prod.map α (𝟙 U)) ≫ (BoundedCrystalline.Site.inclusion f n).map (prod.map (𝟙 F) β) |
| 31 | rw [← Functor.map_comp, ← Functor.map_comp] |
| 32 | apply congrArg (BoundedCrystalline.Site.inclusion f n).map |
| 33 | apply prod.hom_ext |
| 34 | · simp only [Category.assoc, prod.map_fst, prod.map_fst_assoc, Category.id_comp, Category.comp_id] |
| 35 | · simp only [Category.assoc, prod.map_snd, prod.map_snd_assoc, Category.id_comp, Category.comp_id] |
| 36 | |
| 37 | theorem projection : diagramMap α ≫ Diagram.projection F = Diagram.projection G := by |
| 38 | apply NatTrans.ext |
| 39 | funext U |
| 40 | change (diagramMap α).app U ≫ (Diagram.projection F).app U = |
| 41 | (Diagram.projection G).app U |
| 42 | rw [Diagram.projection_app, Diagram.projection_app] |
| 43 | change (BoundedCrystalline.Site.inclusion f n).map (prod.map α (𝟙 U)) ≫ (BoundedCrystalline.Site.inclusion f n).map prod.snd = |
| 44 | (BoundedCrystalline.Site.inclusion f n).map prod.snd |
| 45 | rw [← Functor.map_comp, prod.map_snd, Category.comp_id] |
| 46 | |
| 47 | theorem frameProjection : diagramMap α ≫ Symbols.frameProjection F = |
| 48 | Symbols.frameProjection G ≫ (Functor.const _).map ((BoundedCrystalline.Site.inclusion f n).map α) := by |
| 49 | apply NatTrans.ext |
| 50 | funext U |
| 51 | change (diagramMap α).app U ≫ (Symbols.frameProjection F).app U = |
| 52 | (Symbols.frameProjection G).app U ≫ (BoundedCrystalline.Site.inclusion f n).map α |
| 53 | rw [Symbols.frameProjection_app, Symbols.frameProjection_app] |
| 54 | change (BoundedCrystalline.Site.inclusion f n).map (prod.map α (𝟙 U)) ≫ (BoundedCrystalline.Site.inclusion f n).map prod.fst = |
| 55 | (BoundedCrystalline.Site.inclusion f n).map prod.fst ≫ (BoundedCrystalline.Site.inclusion f n).map α |
| 56 | rw [← Functor.map_comp, prod.map_fst, Functor.map_comp] |
| 57 | |
| 58 | def presheafMap : Diagram.complex F ⟶ Diagram.complex G := |
| 59 | Relative.DiagramComplexMap.map (Diagram.productDiagram G) (Diagram.productDiagram F) Diagram.baseDiagram |
| 60 | (Diagram.projection G) (Diagram.projection F) (diagramMap α) (projection α) |
| 61 | |
| 62 | theorem presheaf_augmentation : Diagram.augmentation F ≫ presheafMap α = |
| 63 | Diagram.augmentation G := |
| 64 | Relative.DiagramComplexMap.augmentation (Diagram.productDiagram G) (Diagram.productDiagram F) Diagram.baseDiagram |
| 65 | (Diagram.projection G) (Diagram.projection F) (diagramMap α) (projection α) |
| 66 | |
| 67 | def sheafMap : Bounded.RelativeSheafComplex.complex f n F ⟶ Bounded.RelativeSheafComplex.complex f n G := |
| 68 | ((Bounded.RelativeSheafComplex.sheafification f n).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 69 | (presheafMap α) |
| 70 | |
| 71 | theorem sheaf_augmentation : Bounded.RelativeSheafComplex.augmentation f n F ≫ sheafMap α = |
| 72 | Bounded.RelativeSheafComplex.augmentation f n G := by |
| 73 | let S := (Bounded.RelativeSheafComplex.sheafification (p := p) (J := J) (δ := δ) f n).mapHomologicalComplex |
| 74 | (ComplexShape.up ℕ) |
| 75 | have h := (S.map_comp (Diagram.augmentation F) (presheafMap α)).symm.trans |
| 76 | (congrArg S.map (presheaf_augmentation α)) |
| 77 | exact (Category.assoc (Bounded.RelativeSheafComplex.sourceIso f n).inv |
| 78 | (S.map (Diagram.augmentation F)) (S.map (presheafMap α))).trans |
| 79 | (congrArg (fun t => (Bounded.RelativeSheafComplex.sourceIso f n).inv ≫ t) h) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Change |