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.TopCoverCoefficientCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSheafValue |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ModelTopCoverComparison |
| 4 | |
| 5 | /-! # Source Global -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SourceGlobal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original single-sheaf output coordinate has the original |
| 12 | native global top-cover value, on any genuine cover. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem cancel_coordinates {C D : Type*} [Category C] [Category D] |
| 18 | (F : C ⥤ D) {A B S : C} {T : D} (a : A ⟶ B) (e : S ≅ B) (b : F.obj B ⟶ T) : |
| 19 | F.map (a ≫ e.inv) ≫ (F.map e.hom ≫ b) = F.map a ≫ b := by |
| 20 | rw [← Category.assoc, ← F.map_comp, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 23 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 24 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 25 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (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 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 29 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 30 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 31 | (g c : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 32 | {ι : Type} [LinearOrder ι] (U : ι → X.left.Opens) (hU : iSup U = ⊤) |
| 33 | |
| 34 | abbrev form := TopCover.form p k n X g |
| 35 | abbrev lift := AdditiveTop.Comparison.lift |
| 36 | |
| 37 | private theorem lift_apply {A B : AddCommGrpCat.{0}} {T : AddCommGrpCat.{2}} |
| 38 | (a : A ⟶ B) (b : lift.obj B ⟶ T) (d : lift.obj A ⟶ T) |
| 39 | (h : lift.map a ≫ b = d) (x : A) : |
| 40 | b (ULift.up.{2,1} (ULift.up.{1,0} (a x))) = |
| 41 | d (ULift.up.{2,1} (ULift.up.{1,0} x)) := |
| 42 | ConcreteCategory.congr_hom h (ULift.up.{2,1} (ULift.up.{1,0} x)) |
| 43 | |
| 44 | abbrev sourceCoordinates := |
| 45 | ((ModuleCech.CohomologyNaturality.forgetHomologyIso |
| 46 | (Truncated.Witt.Ring p k n) X U (form p k n X g) g).hom ≫ |
| 47 | homologyMap (OrderedCech.Projection.map U (form p k n X g).presheaf) g) ≫ |
| 48 | (PrincipalSheafValue.globalCoordinates p k n X g c U).inv |
| 49 | |
| 50 | theorem comparison : |
| 51 | lift.map (sourceCoordinates p k n X g c U) ≫ |
| 52 | PrincipalSheafValue.globalValue p k n X Y f hp I g c U hU = |
| 53 | ModelTopCoverComparison.globalInput p k n X Y f hp I g U hU := by |
| 54 | have hc := cancel_coordinates lift |
| 55 | ((ModuleCech.CohomologyNaturality.forgetHomologyIso |
| 56 | (Truncated.Witt.Ring p k n) X U (form p k n X g) g).hom ≫ |
| 57 | homologyMap (OrderedCech.Projection.map U (form p k n X g).presheaf) g) |
| 58 | (PrincipalSheafValue.globalCoordinates p k n X g c U) |
| 59 | ((PrincipalSheafValue.globalCoefficientIso p k n X g U).hom ≫ |
| 60 | TopCover.globalMap p k n X Y f hp I g U hU) |
| 61 | have hi := congrArg (fun a => a ≫ |
| 62 | TopCover.globalMap p k n X Y f hp I g U hU) |
| 63 | (TopCoverCoefficientCoordinates.comparison p k n X g U) |
| 64 | exact hc.trans ((Category.assoc _ _ _).symm.trans hi) |
| 65 | |
| 66 | attribute [local irreducible] HomologicalComplex.homology |
| 67 | |
| 68 | theorem comparison_apply |
| 69 | (x : IntrinsicDeRham.TopEdge.Intrinsic.source (Truncated.Witt.Ring p k n) X U g) : |
| 70 | PrincipalSheafValue.globalValue p k n X Y f hp I g c U hU |
| 71 | (ULift.up.{2,1} (ULift.up.{1,0} (sourceCoordinates p k n X g c U x))) = |
| 72 | ModelTopCoverComparison.globalInput p k n X Y f hp I g U hU |
| 73 | (ULift.up.{2,1} (ULift.up.{1,0} x)) := |
| 74 | lift_apply (sourceCoordinates p k n X g c U) |
| 75 | (PrincipalSheafValue.globalValue p k n X Y f hp I g c U hU) |
| 76 | (ModelTopCoverComparison.globalInput p k n X Y f hp I g U hU) |
| 77 | (comparison p k n X Y f hp I g c U hU) x |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SourceGlobal |