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.RelativeCrystalline.ModuleComplex |
| 2 | |
| 3 | /-! # Complex Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ComplexRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: restriction of the original relative crystalline complex to an indexing subcategory |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 16 | |
| 17 | universe u v w v' w' |
| 18 | |
| 19 | variable {C : Type v} [Category.{w} C] {D : Type v'} [Category.{w'} D] |
| 20 | {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 21 | {f : X ⟶ Spec (CommRingCat.of B)} (t : D ⥤ C) |
| 22 | |
| 23 | def restriction : (Cᵒᵖ ⥤ ModuleCat.{u} B) ⥤ (Dᵒᵖ ⥤ ModuleCat.{u} B) := |
| 24 | (Functor.whiskeringLeft _ _ _).obj t.op |
| 25 | |
| 26 | instance restriction_additive : (restriction (B := B) t).Additive where |
| 27 | map_add := by intros; rfl |
| 28 | |
| 29 | def formsIso (H Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) (n : ℕ) : |
| 30 | (restriction (B := B) t).obj (RelativeCrystalline.ModuleMaps.formsPresheaf H Q π n) ≅ |
| 31 | RelativeCrystalline.ModuleMaps.formsPresheaf (t ⋙ H) (t ⋙ Q) (Functor.whiskerLeft t π) n := |
| 32 | NatIso.ofComponents (fun _ => Iso.refl _) (by |
| 33 | intro U V α |
| 34 | apply ModuleCat.hom_ext |
| 35 | apply LinearMap.ext |
| 36 | intro ω |
| 37 | rfl) |
| 38 | |
| 39 | def complexIso (H Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) : |
| 40 | ((restriction (B := B) t).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 41 | (RelativeCrystalline.ModuleComplex.complex H Q π) ≅ |
| 42 | RelativeCrystalline.ModuleComplex.complex (t ⋙ H) (t ⋙ Q) (Functor.whiskerLeft t π) := |
| 43 | HomologicalComplex.Hom.isoOfComponents (formsIso t H Q π) (by |
| 44 | intro n m h |
| 45 | change n + 1 = m at h |
| 46 | subst m |
| 47 | change (formsIso t H Q π n).hom ≫ |
| 48 | (RelativeCrystalline.ModuleComplex.complex (t ⋙ H) (t ⋙ Q) (Functor.whiskerLeft t π)).d n (n + 1) = |
| 49 | (restriction (B := B) t).map ((RelativeCrystalline.ModuleComplex.complex H Q π).d n (n + 1)) ≫ |
| 50 | (formsIso t H Q π (n + 1)).hom |
| 51 | rw [RelativeCrystalline.ModuleComplex.complex_d, RelativeCrystalline.ModuleComplex.complex_d] |
| 52 | apply NatTrans.ext |
| 53 | funext U |
| 54 | apply ModuleCat.hom_ext |
| 55 | apply LinearMap.ext |
| 56 | intro ω |
| 57 | rfl) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ComplexRestriction |