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.TruncatedModel.AffineSheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalOrdinary |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FractionClass |
| 4 | |
| 5 | /-! # Principal Sheaf -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSheaf.Comparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting the genuine sheaf comparison to the principal diagram |
| 12 | recovers the original local PD comparison in integral-form coordinates. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 19 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom |
| 22 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 23 | (U : X.left.affineOpens) |
| 24 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 25 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 26 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 27 | |
| 28 | def restriction : |
| 29 | Sheaf (Opens.grothendieckTopology X.left) |
| 30 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ⥤ |
| 31 | ((PrincipalFrame.Index X.left U)ᵒᵖ ⥤ |
| 32 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) := |
| 33 | sheafToPresheaf (Opens.grothendieckTopology X.left) _ ⋙ |
| 34 | GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback |
| 35 | (Principal.DeRhamSectionUnit.opens (Truncated.Witt.Ring p k n) X U) |
| 36 | |
| 37 | instance restriction_additive : (restriction p k n X U).Additive := by |
| 38 | dsimp only [restriction] |
| 39 | infer_instance |
| 40 | |
| 41 | def map : FractionClass.Integral.target p k n X U ⟶ |
| 42 | ((Principal.Comparison.restriction p k n X U).mapHomologicalComplex |
| 43 | (.up ℕ)).obj |
| 44 | (((SectionBifunctor.sections p k n X Y f).mapHomologicalComplex |
| 45 | (.up ℕ)).obj I.cocomplex) := |
| 46 | ((restriction p k n X U).mapHomologicalComplex (.up ℕ)).map |
| 47 | (ModelSheafComparison.map p k n X Y f hp I) |
| 48 | |
| 49 | theorem component (q : ℕ) (r : PrincipalFrame.Index X.left U) : |
| 50 | ((Comparison.map p k n X Y f hp U I).f q).app (op r) = |
| 51 | ((ModelSheafComparison.map p k n X Y f hp I).f q).hom.app |
| 52 | (op ((AffinePrincipal.Diagram.functor X.left U.val U.property).obj r).val) := rfl |
| 53 | |
| 54 | theorem raw_component (V : X.left.affineOpens) (q : ℕ) : |
| 55 | (ModelSheafComparison.rawMap p k n X Y f hp I V).f q = |
| 56 | (Principal.Comparison.coefficients p k).map |
| 57 | (((OrdinaryBaseIso.Ordinary.pdIso p k n X Y f hp).inv.app (op V)).f q) ≫ |
| 58 | ((FrameInjective.Comparison.map p k n X Y f hp I).f q).app (op V) := by |
| 59 | change 𝟙 _ ≫ (_ ≫ _) = _ |
| 60 | exact Category.id_comp _ |
| 61 | |
| 62 | variable (σ : Type) [LinearOrder σ] |
| 63 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 64 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 65 | [IsScalarTower (Truncated.Witt.Ring p k n) (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 66 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 67 | [Algebra.Etale (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 68 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 69 | |
| 70 | theorem unit_comparison : |
| 71 | ((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves |
| 72 | (Principal.Comparison.coefficients p k)).mapHomologicalComplex (.up ℕ)).map |
| 73 | (PrincipalSheafIso.iso p k n X U σ).hom ≫ |
| 74 | Comparison.map p k n X Y f hp U I = |
| 75 | PrincipalOrdinary.OrdinaryComparison.map p k n X Y f hp U I := by |
| 76 | apply HomologicalComplex.Hom.ext |
| 77 | funext q |
| 78 | apply NatTrans.ext |
| 79 | funext r |
| 80 | let V := (AffinePrincipal.Diagram.functor X.left U.val U.property).obj r.unop |
| 81 | have h := AffineSheaf.Comparison.unit_affine p k n X Y f hp I V q |
| 82 | rw [raw_component] at h |
| 83 | rw [comp_f, NatTrans.comp_app, component, |
| 84 | PrincipalOrdinary.OrdinaryComparison.component] |
| 85 | change (OrdinarySectionMap.Ordinary.coefficients p k n).map |
| 86 | ((IntrinsicDeRham.SectionUnit.Intrinsic.unit (Truncated.Witt.Ring p k n) X V.val).f q) ≫ _ = _ |
| 87 | exact h |
| 88 | |
| 89 | theorem comparison : |
| 90 | (FractionClass.Integral.iso p k n X Y f hp U σ).hom ≫ |
| 91 | Comparison.map p k n X Y f hp U I = |
| 92 | Principal.Comparison.map p k n X Y f hp U I := by |
| 93 | change ((PrincipalFractionClass.iso p k n X Y f hp U).hom ≫ |
| 94 | ((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves |
| 95 | (Principal.Comparison.coefficients p k)).mapHomologicalComplex (.up ℕ)).map |
| 96 | (PrincipalSheafIso.iso p k n X U σ).hom) ≫ |
| 97 | Comparison.map p k n X Y f hp U I = _ |
| 98 | rw [Category.assoc, unit_comparison p k n X Y f hp U I σ] |
| 99 | exact PrincipalOrdinary.OrdinaryComparison.comparison p k n X Y f hp U I |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSheaf.Comparison |