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.Relative.DiagramComposition |
| 2 | |
| 3 | /-! # Resolution Functor -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ResolutionFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: the original relative crystalline complex is a functor of its diagram over the base |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {C : Type v} [Category.{w} C] {p : ℕ} {B : Type u} [CommRing B] |
| 20 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 21 | {f : X ⟶ Spec (CommRingCat.of B)} (Q : C ⥤ BigCrystallineSite.Object p B J δ f) |
| 22 | |
| 23 | def functor : (Over Q)ᵒᵖ ⥤ CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} B) ℕ where |
| 24 | obj U := RelativeCrystalline.ModuleComplex.complex U.unop.left Q U.unop.hom |
| 25 | map α := DiagramComplexMap.map _ _ Q _ _ α.unop.left (Over.w α.unop) |
| 26 | map_id U := DiagramComposition.complex_id U.unop.left Q U.unop.hom |
| 27 | map_comp α β := DiagramComposition.complex_comp _ _ _ Q _ _ _ |
| 28 | β.unop.left α.unop.left (Over.w β.unop) (Over.w α.unop) |
| 29 | |
| 30 | def overIso {H K : C ⥤ BigCrystallineSite.Object p B J δ f} (π : H ⟶ Q) (ρ : K ⟶ Q) |
| 31 | (e : H ≅ K) (he : e.hom ≫ ρ = π) : (Over.mk π) ≅ (Over.mk ρ) := |
| 32 | Over.isoMk e he |
| 33 | |
| 34 | def imageIso {H K : C ⥤ BigCrystallineSite.Object p B J δ f} (π : H ⟶ Q) (ρ : K ⟶ Q) |
| 35 | (e : H ≅ K) (he : e.hom ≫ ρ = π) : |
| 36 | (functor Q).obj (op (Over.mk ρ)) ≅ (functor Q).obj (op (Over.mk π)) := |
| 37 | (functor Q).mapIso (overIso Q π ρ e he).op |
| 38 | |
| 39 | def diagramIso {H K : C ⥤ BigCrystallineSite.Object p B J δ f} (π : H ⟶ Q) (ρ : K ⟶ Q) |
| 40 | (e : H ≅ K) (he : e.hom ≫ ρ = π) : |
| 41 | RelativeCrystalline.ModuleComplex.complex K Q ρ ≅ RelativeCrystalline.ModuleComplex.complex H Q π := |
| 42 | imageIso Q π ρ e he |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ResolutionFunctor |