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.Balanced.SmoothProperWittCup |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.ResolutionFunctorNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittResolutionLevelCohomology |
| 4 | |
| 5 | /-! # Witt Level Resolution -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.WittLevelResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Genuine bounded-level restriction commutes with the balanced |
| 12 | source-resolution comparison on original crystalline Ext. -/ |
| 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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittFrameFamily.Family |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 24 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 25 | (n m : ℕ) (hnm : n ≤ m) |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 28 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k X |
| 29 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) |
| 30 | (J := Ideal.span {(p : WittVector p k)}) |
| 31 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n m hnm |
| 32 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CohomologyTransition.constantUnitIso (p := p) |
| 33 | (J := Ideal.span {(p : WittVector p k)}) |
| 34 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n m hnm |
| 35 | local notation "Ym" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 36 | (J := Ideal.span {(p : WittVector p k)}) |
| 37 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f m |
| 38 | |
| 39 | local instance separated : IsSeparated f := by |
| 40 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 41 | infer_instance |
| 42 | |
| 43 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] in |
| 44 | theorem extMap (i : ℕ) : |
| 45 | ResolutionHom.TransportCohomology.extMap T R (e).inv (𝟙 ((T).obj Ym)) i = |
| 46 | ModuleCat.ofHom (Bounded.CohomologyTransition.map f n m hnm i) := by |
| 47 | apply ModuleCat.hom_ext |
| 48 | apply LinearMap.ext |
| 49 | intro x |
| 50 | exact (Abelian.Ext.comp_assoc_of_third_deg_zero (Abelian.Ext.mk₀ (e).inv) |
| 51 | (x.mapExactFunctor T) (Abelian.Ext.mk₀ (𝟙 ((T).obj Ym))) (zero_add i)).symm |
| 52 | |
| 53 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap |
| 54 | (SmoothProper.WittResolutionLevelCohomology.map p k X n m hnm) i ≫ |
| 55 | (SmoothProperWittCup.resolutionHomologyIso p k X n i).hom = |
| 56 | (SmoothProperWittCup.resolutionHomologyIso p k X m i).hom ≫ |
| 57 | ModuleCat.ofHom (Bounded.CohomologyTransition.map f n m hnm i) := by |
| 58 | let : QuasiIso (SmoothProper.WittPresentationResolution.augmentation p k X n) := |
| 59 | SmoothProper.WittPresentationResolution.augmentation_quasiIso p k X n |
| 60 | let : QuasiIso (SmoothProper.WittPresentationResolution.augmentation p k X m) := |
| 61 | SmoothProper.WittPresentationResolution.augmentation_quasiIso p k X m |
| 62 | have H := ResolutionFunctorNaturality.homology T R Ym |
| 63 | (SmoothProper.WittPresentationResolution.complex p k X m) |
| 64 | (SmoothProper.WittPresentationResolution.complex p k X n) |
| 65 | (SmoothProper.WittResolutionReduction.map p k X n m hnm) |
| 66 | (SmoothProper.WittPresentationResolution.augmentation p k X m) |
| 67 | (SmoothProper.WittPresentationResolution.augmentation p k X n) (e).inv |
| 68 | (SmoothProper.WittResolutionReduction.augmentation_zero p k X n m hnm) |
| 69 | (BalancedBounded.CechCup.resolution p k f m) |
| 70 | (BalancedBounded.CechCup.resolution p k f n) |
| 71 | (BoundedFrame.ResolutionAcyclicity.subsingleton p k f m (SmoothProper.WittFrameFamily.Family.frame p k X m)) |
| 72 | (BoundedFrame.ResolutionAcyclicity.subsingleton p k f n (SmoothProper.WittFrameFamily.Family.frame p k X n)) i |
| 73 | exact H.trans (congrArg |
| 74 | (fun a => (SmoothProperWittCup.resolutionHomologyIso p k X m i).hom ≫ a) |
| 75 | (extMap p k X n m hnm i)) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.WittLevelResolution |