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.FrameInjective |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso |
| 3 | |
| 4 | /-! # Frame Cech -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameCech.Complexes |
| 11 | |
| 12 | /-! Shared source and target complexes for the model-frame Cech comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 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)))) |
| 21 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 22 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom |
| 24 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | |
| 26 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 27 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X) |
| 28 | |
| 29 | def cechFunctor : CochainComplex (X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} Rcoeff) ℕ ⥤ |
| 30 | HomologicalComplex₂ (ModuleCat.{2} Rcoeff) (.up ℕ) (.up ℕ) := |
| 31 | AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.bicomplex.{1, 2} Rcoeff N |
| 32 | |
| 33 | def source : CochainComplex (ModuleCat.{2} Rcoeff) ℕ := |
| 34 | ((cechFunctor p k n X).obj |
| 35 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FrameDiagonalMap.source p k n X Y f hp))).total (.up ℕ) |
| 36 | |
| 37 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 38 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 39 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 40 | |
| 41 | def targetBicomplex : HomologicalComplex₂ (ModuleCat.{2} Rcoeff) (.up ℕ) (.up ℕ) := |
| 42 | (cechFunctor p k n X).obj |
| 43 | (((SectionBifunctor.sections p k n X Y f).mapHomologicalComplex (.up ℕ)).obj J.cocomplex) |
| 44 | |
| 45 | def target : CochainComplex (ModuleCat.{2} Rcoeff) ℕ := |
| 46 | (targetBicomplex p k n X Y f J).total (.up ℕ) |
| 47 | |
| 48 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameCech.Complexes |
| 49 | |
| 50 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameCech.Comparison |
| 51 | |
| 52 | /-! The actual ramified frame de Rham diagram and original injective sections have quasi-isomorphic Cech totals in every degree. -/ |
| 53 | |
| 54 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 55 | |
| 56 | set_option backward.isDefEq.respectTransparency false |
| 57 | set_option backward.isDefEq.respectTransparency.types false |
| 58 | |
| 59 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 60 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 61 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 62 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 63 | (hp : IsPullback f Y.hom X.hom |
| 64 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 65 | |
| 66 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 67 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X |
| 68 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 69 | |
| 70 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 71 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 72 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 73 | |
| 74 | def map : Complexes.source p k n X Y f hp ⟶ |
| 75 | Complexes.target p k n X Y f J := |
| 76 | AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.map.{1, 2} Rcoeff N |
| 77 | (FrameInjective.Comparison.map p k n X Y f hp J) |
| 78 | |
| 79 | theorem intersection_quasiIso (m : ℕ) (t : Fin (m + 1) → AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) : |
| 80 | QuasiIso ((((evaluation X.left.affineOpensᵒᵖ (ModuleCat.{2} Rcoeff)).obj |
| 81 | (op (((N).obj (op ⦋m⦌)).obj t))).mapHomologicalComplex (.up ℕ)).map |
| 82 | (FrameInjective.Comparison.map p k n X Y f hp J)) := by |
| 83 | let I : X.left.affineOpens := ((N).obj (op ⦋m⦌)).obj t |
| 84 | have hi : I.val ≤ (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X (t 0)).val := |
| 85 | leOfHom (Pi.π (U ∘ t) 0) |
| 86 | exact FrameInjective.Comparison.evaluation_quasiIso p k n X Y f hp J I (t 0) hi |
| 87 | |
| 88 | theorem quasiIso : QuasiIso (Comparison.map p k n X Y f hp J) := |
| 89 | AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.quasiIso.{1, 2} Rcoeff N |
| 90 | (FrameInjective.Comparison.map p k n X Y f hp J) |
| 91 | (intersection_quasiIso p k n X Y f hp J) |
| 92 | |
| 93 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameCech.Comparison |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI |