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.IncomingFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.BoundedFrameIso |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrameOpens |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.IsoOpens |
| 5 | |
| 6 | /-! # Local Incoming Homotopy -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalIncomingHomotopy |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original local injective comparisons for two isomorphic |
| 13 | native frames agree up to homotopy on one common incoming site. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | abbrev preimage {Y X : Scheme} (f : Y ⟶ X) (U : X.affineOpens) : Y.Opens := f ⁻¹ᵁ U.val |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 23 | (n : ℕ) |
| 24 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 25 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 26 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 27 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 28 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 29 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 30 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 31 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 32 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 33 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 34 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 35 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 36 | |
| 37 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 38 | local notation "F₁" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.functor p k n X₁ Y f₁ hp₁) U₁ |
| 39 | local notation "F₂" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.functor p k n X₂ Y f₂ hp₂) U₂ |
| 40 | local notation "V₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalIncomingHomotopy.preimage f₁ U₁ |
| 41 | local notation "V₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalIncomingHomotopy.preimage f₂ U₂ |
| 42 | |
| 43 | local instance globalSeparated : IsSeparated w := by |
| 44 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 45 | infer_instance |
| 46 | |
| 47 | include e in |
| 48 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 49 | theorem opens_eq : V₁ = V₂ := |
| 50 | (SmallFrameOpens.opensRange p k n X₁ Y f₁ hp₁ U₁).symm.trans |
| 51 | ((CrystallinePrincipal.IsoOpens.opens_eq p k Y e).symm.trans |
| 52 | (SmallFrameOpens.opensRange p k n X₂ Y f₂ hp₂ U₂)) |
| 53 | |
| 54 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 55 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 56 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 57 | |
| 58 | def frameMap := Incoming.FrameHomotopy.Comparison.map w n V₁ F₁ F₂ |
| 59 | (BoundedFrameIso.iso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).hom |
| 60 | |
| 61 | def targetMap := Incoming.FrameTransport.Comparison.map w n V₁ V₂ |
| 62 | (opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) F₂ I |
| 63 | (IncomingFrame.comparison p k n X₂ Y f₂ hp₂ U₂ I) |
| 64 | |
| 65 | variable (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index (Truncated.Witt.Ring p k n) X₁) |
| 66 | (hi : U₁.val ≤ AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens (Truncated.Witt.Ring p k n) X₁ i) |
| 67 | |
| 68 | def homotopy : Homotopy (IncomingFrame.comparison p k n X₁ Y f₁ hp₁ U₁ I) |
| 69 | (frameMap p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e ≫ |
| 70 | targetMap p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e I) := by |
| 71 | let : QuasiIso (Incoming.FrameHomotopy.Comparison.augmentation w n V₁ F₁) := |
| 72 | IncomingFrame.quasiIso p k n X₁ Y f₁ hp₁ U₁ i hi |
| 73 | exact Incoming.FrameTransport.Comparison.homotopy w n V₁ V₂ |
| 74 | (opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) F₁ I F₂ |
| 75 | (BoundedFrameIso.iso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).hom |
| 76 | (IncomingFrame.comparison p k n X₁ Y f₁ hp₁ U₁ I) |
| 77 | (IncomingFrame.comparison p k n X₂ Y f₂ hp₂ U₂ I) |
| 78 | (IncomingFrame.augmentation p k n X₁ Y f₁ hp₁ U₁ I) |
| 79 | (IncomingFrame.augmentation p k n X₂ Y f₂ hp₂ U₂ I) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalIncomingHomotopy |