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.LocalIncomingHomotopy |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSections |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SectionedIncomingHomotopy |
| 4 | |
| 5 | /-! # Incoming Section Homotopy -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingSectionHomotopy |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual common-incoming-site homotopy, expressed on the whole |
| 12 | original principal-open section family. -/ |
| 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 : ℕ) |
| 21 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 23 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 25 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 26 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 27 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 28 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 29 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 30 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 31 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 32 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 33 | |
| 34 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 35 | local notation "V" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalIncomingHomotopy.preimage f₁ U₁ |
| 36 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSections.opens p k n X₁ Y f₁ U₁ |
| 37 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingRestriction.restriction p k n X₁ Y f₁ U₁ |
| 38 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite.globalSections (p := p) |
| 39 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) w n O |
| 40 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite.localSections (p := p) |
| 41 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) w n V O |
| 42 | local notation "s" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite.iso (p := p) |
| 43 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 44 | w n V O (PrincipalSections.le_chart p k n X₁ Y f₁ U₁) |
| 45 | local notation "F₁" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.functor p k n X₁ Y f₁ hp₁) U₁ |
| 46 | local notation "F₂" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.functor p k n X₂ Y f₂ hp₂) U₂ |
| 47 | local notation "K₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex w n F₁ |
| 48 | local notation "K₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex w n F₂ |
| 49 | |
| 50 | local instance globalSeparated : IsSeparated w := by |
| 51 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 52 | infer_instance |
| 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 source : ((S).mapHomologicalComplex (.up ℕ)).obj K₁ ⟶ |
| 59 | ((S).mapHomologicalComplex (.up ℕ)).obj I.cocomplex := |
| 60 | SectionedIncomingHomotopy.map R S T s (K := K₁) (L := I.cocomplex) |
| 61 | (IncomingFrame.comparison p k n X₁ Y f₁ hp₁ U₁ I) |
| 62 | |
| 63 | def target : ((S).mapHomologicalComplex (.up ℕ)).obj K₂ ⟶ |
| 64 | ((S).mapHomologicalComplex (.up ℕ)).obj I.cocomplex := |
| 65 | SectionedIncomingHomotopy.map R S T s (K := K₂) (L := I.cocomplex) |
| 66 | (LocalIncomingHomotopy.targetMap p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e I) |
| 67 | |
| 68 | def frameMap := ((S).mapHomologicalComplex (.up ℕ)).map |
| 69 | (BoundedFrame.Change.sheafMap |
| 70 | (BoundedFrameIso.iso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).hom) |
| 71 | |
| 72 | variable (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index (Truncated.Witt.Ring p k n) X₁) |
| 73 | (hi : U₁.val ≤ AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens (Truncated.Witt.Ring p k n) X₁ i) |
| 74 | |
| 75 | def homotopy : Homotopy (source p k n X₁ Y f₁ hp₁ U₁ I) |
| 76 | (frameMap p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e ≫ |
| 77 | target p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e I) := |
| 78 | SectionedIncomingHomotopy.homotopy R S T s |
| 79 | (BoundedFrame.Change.sheafMap |
| 80 | (BoundedFrameIso.iso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).hom) |
| 81 | (IncomingFrame.comparison p k n X₁ Y f₁ hp₁ U₁ I) |
| 82 | (LocalIncomingHomotopy.targetMap p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e I) |
| 83 | (LocalIncomingHomotopy.homotopy p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e I i hi) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingSectionHomotopy |