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.FrameFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Open.CrystallineDiagram |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SmallCrystallineDpow |
| 4 | |
| 5 | /-! # Small Frame -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrame |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Affine frames of the actual finite-level smooth model are open |
| 12 | crystalline thickenings in both original small-site presentations. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 20 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) [Smooth X.hom] |
| 21 | (Y : Over (Spec (CommRingCat.of k))) (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 24 | |
| 25 | def bigFunctor := FrameFunctor.functor p k n X Y f hp ⋙ |
| 26 | BoundedCrystalline.Site.inclusion (Witt.Crystalline.wittStructureMap p k Y) n |
| 27 | |
| 28 | theorem mapToX_open (U : X.left.affineOpens) : |
| 29 | IsOpenImmersion ((bigFunctor p k n X Y f hp).obj U).mapToX := by |
| 30 | let e := Truncated.SmoothFrame.quotientEquiv p |
| 31 | (Truncated.AffineModelFrame.sourceRing p k n X U.val) |
| 32 | (Truncated.AffineModelFrame.targetRing p k n X Y f U.val) |
| 33 | (Truncated.AffineModelFrame.reduction p k n X Y f U.val) |
| 34 | (Truncated.AffineModelFrame.reduction_surjective p k n X Y f hp U.val U.property) |
| 35 | (Truncated.AffineModelFrame.reduction_kernel p k n X Y f hp U.val U.property) |
| 36 | change IsOpenImmersion ((Scheme.Spec.mapIso e.toCommRingCatIso.symm.op).hom ≫ |
| 37 | Truncated.AffineModelFrame.chart p k n X Y f hp U.val U.property) |
| 38 | infer_instance |
| 39 | |
| 40 | def smallFunctor : X.left.affineOpens ⥤ Witt.Crystalline.CrystallineObject p k Y := |
| 41 | Open.CrystallineDiagram.functor (bigFunctor p k n X Y f hp) (mapToX_open p k n X Y f hp) |
| 42 | |
| 43 | def functor : X.left.affineOpens ⥤ AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k Y := |
| 44 | smallFunctor p k n X Y f hp ⋙ GeometricComparison.SmallCrystallineDpow.SmallCrystallineAdapter.to62 |
| 45 | |
| 46 | theorem map_ambient {U V : X.left.affineOpens} (a : U ⟶ V) (x : Γ(X.left, V.val)) : |
| 47 | ((functor p k n X Y f hp).map a).ambientMap x = |
| 48 | (X.left.presheaf.map (homOfLE (leOfHom a)).op).hom x := |
| 49 | FrameFunctor.map_apply p k n X Y f hp U.val V.val U.property V.property |
| 50 | (leOfHom a) x |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrame |