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.SheafifiedSourceCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSourceCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSheafProductMap |
| 4 | |
| 5 | /-! # Frame Section Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSectionCoordinates.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical Ext-zero sections of the original native frame cone have |
| 12 | the same source coordinates as its literal constant-sheaf Čech map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | private theorem replace_left {C : Type*} [Category C] {A B D : C} |
| 17 | (a a' : A ⟶ B) (t : B ⟶ D) (b : A ⟶ D) |
| 18 | (ha : a = a') (h : a' ≫ t = b) : a ≫ t = b := |
| 19 | (congrArg (fun q => q ≫ t) ha).trans h |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] |
| 22 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 26 | |
| 27 | local notation "W" => WittVector p (ZMod p) |
| 28 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 29 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 30 | local notation "CR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 31 | local notation "JT" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology |
| 32 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 33 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelativeResolution.coefficientFunctor (B := W) |
| 34 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSourceCoordinates.Intrinsic.constantFunctor p Y n |
| 35 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex.IntrinsicPadicPrincipalComplexComparison.pdComplexes p X Y f hp n |
| 36 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp n |
| 37 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 38 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameProductMap.Intrinsic.complex p X Y f hp n |
| 39 | local notation "K" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.total p X Y f hp n U |
| 40 | local notation "a" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameProductMap.Intrinsic.map p X Y f hp n |
| 41 | |
| 42 | local instance separated : IsSeparated w := by |
| 43 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 44 | infer_instance |
| 45 | |
| 46 | local instance sheafCoproducts : HasCoproducts.{0} |
| 47 | (BoundedCrystalline.Site.ModuleSheaf |
| 48 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) := |
| 49 | GeometricComparison.Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts CR JT |
| 50 | |
| 51 | abbrev coefficientSource := Crystalline.ConeProduct.coefficientSource W M |
| 52 | abbrev coefficientComplex := Crystalline.SheafComplexProduct.coefficientComplex W K |
| 53 | abbrev coefficientMap := Crystalline.ConeProduct.coefficientMap W M K a |
| 54 | |
| 55 | abbrev sourceTotal := GeometricComparison.CechCone.Total.CechConeTotal.total U |
| 56 | (Q ⋙ (F).mapHomologicalComplex (.up ℕ)) |
| 57 | abbrev targetTotal := GeometricComparison.CechCone.Total.CechConeTotal.total U P |
| 58 | abbrev levelMap := GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map T U |
| 59 | (Q ⋙ (F).mapHomologicalComplex (.up ℕ)) P |
| 60 | (FrameSourceCoordinates.Intrinsic.transformation p X Y f hp n) |
| 61 | |
| 62 | abbrev sheaf_square := replace_left _ _ _ _ |
| 63 | (Crystalline.SheafConstantCoordinates.map_eq W JT M K a) |
| 64 | (FrameSourceCoordinates.Intrinsic.comparison p X Y f hp n) |
| 65 | |
| 66 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 67 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 68 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 69 | (Witt.Crystalline.wittStructureMap p (ZMod p) Y) n)) |
| 70 | |
| 71 | abbrev sectionsMap_eq := Balanced.SheafifiedSourceCoordinates.sectionsMap_eq.{1,2} |
| 72 | CR JT I (coefficientSource p X Y f hp n) (coefficientComplex p X Y f hp n) |
| 73 | (coefficientMap p X Y f hp n) (GeometricComparison.IntrinsicPadic.CechInjective.IntrinsicPadicCechInjectiveComparison.map p X Y f hp n I) |
| 74 | (sourceTotal p X Y f hp n) (targetTotal p X Y f hp n) |
| 75 | (FrameSourceCoordinates.Intrinsic.sourceIso p X Y f hp n) |
| 76 | (GeometricComparison.IntrinsicPadic.PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X Y f hp n) |
| 77 | (levelMap p X Y f hp n) (sheaf_square p X Y f hp n) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSectionCoordinates.Intrinsic |