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.RefinedSliceResolution |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSheafAugmentationCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.CoveringSheafQuasiIso |
| 5 | |
| 6 | /-! # Refined Sheaf Resolution -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.RefinedSheafResolution |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every finite affine cover refining the actual model coordinate cover gives a resolution of the original bounded crystalline structure sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _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 : ℕ) (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 | {ι : Type} [Finite ι] (U : ι → X.left.affineOpens) |
| 26 | (index : ι → AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) |
| 27 | (hU : ∀ i, (U i).val ≤ (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X (index i)).val) |
| 28 | |
| 29 | variable (hcover : (⨆ i, (U i).val) = ⊤) |
| 30 | local notation "W" => WittVector p k |
| 31 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 32 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 33 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 34 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechPresheaf.diagram p k n X Y f hp |
| 35 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 36 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechPresheaf.cone p k n X Y f hp |
| 37 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 38 | local instance separated : IsSeparated w := by |
| 39 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 40 | infer_instance |
| 41 | local instance sheafCoproducts : HasCoproducts.{0} |
| 42 | (BoundedCrystalline.Site.ModuleSheaf (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) := |
| 43 | GeometricComparison.Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts (Crystalline.ExactRestriction.Coeff (B := W)) |
| 44 | (BoundedCrystalline.Site.topology w n) |
| 45 | |
| 46 | include hcover in |
| 47 | omit [X.left.IsSeparated] [IsSeparated Y.hom] [IsProper X.hom] [Finite ι] in |
| 48 | theorem cover (T : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) : |
| 49 | CoveringObjectsSheafDetection.sieve |
| 50 | (fun i => Truncated.AffineModelFrame.frame p k n X Y f hp (U i).val (U i).property) T ∈ |
| 51 | BoundedCrystalline.Site.topology w n T := by |
| 52 | exact FrameCover.covering p k n X Y f hp |
| 53 | (fun i => (U i).val) (fun i => (U i).property) |
| 54 | (fun x => by |
| 55 | have hx : x ∈ ⨆ i, (U i).val := by rw [hcover]; trivial |
| 56 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 57 | exact ⟨i, hi⟩) T |
| 58 | |
| 59 | include hU hcover in |
| 60 | theorem sheafified_quasiIso : QuasiIso (((S).mapHomologicalComplex (.up ℕ)).map |
| 61 | (CechPresheaf.augmentation p k n X Y f hp U)) := by |
| 62 | apply GeometricComparison.Bounded.CoveringSheafQuasiIso.BoundedCoveringSheafQuasiIso.quasiIso W (BoundedCrystalline.Site.topology w n) |
| 63 | (CechPresheaf.augmentation p k n X Y f hp U) |
| 64 | (fun i => Truncated.AffineModelFrame.frame p k n X Y f hp (U i).val (U i).property) |
| 65 | (cover p k n X Y f hp U hcover) |
| 66 | intro i |
| 67 | exact RefinedSliceResolution.restricted_quasiIso p k n X Y f hp U index hU i |
| 68 | |
| 69 | def complex := ((S).mapHomologicalComplex (.up ℕ)).obj |
| 70 | (CechPresheaf.total p k n X Y f hp U) |
| 71 | def augmentation : (CochainComplex.single₀ _).obj O ⟶ complex p k n X Y f hp U := |
| 72 | (Bounded.RelativeSheafComplex.sourceIso w n).inv ≫ |
| 73 | ((S).mapHomologicalComplex (.up ℕ)).map (CechPresheaf.augmentation p k n X Y f hp U) |
| 74 | include hU hcover in |
| 75 | theorem augmentation_quasiIso : QuasiIso (augmentation p k n X Y f hp U) := by |
| 76 | dsimp only [augmentation] |
| 77 | apply (quasiIso_iff_comp_left (Bounded.RelativeSheafComplex.sourceIso w n).inv _).mpr |
| 78 | exact sheafified_quasiIso p k n X Y f hp U index hU hcover |
| 79 | |
| 80 | def totalIso : complex p k n X Y f hp U ≅ GeometricComparison.CechCone.Total.CechConeTotal.total U Q := |
| 81 | GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso S U P |
| 82 | |
| 83 | omit [IsProper X.hom] in |
| 84 | theorem diagram_augmentation : augmentation p k n X Y f hp U ≫ (totalIso p k n X Y f hp U).hom = |
| 85 | GeometricComparison.CechCone.Total.CechConeTotal.augmentation U Q ((CochainComplex.single₀ _).obj O) |
| 86 | (ResolutionDiagram.augmentation p k n X Y f hp) := |
| 87 | (GeometricComparison.CechCone.TotalTransportAugmentation.CechConeTotalTransportAugmentation.augmentation S U P |
| 88 | (Bounded.RelativeSheafComplex.structureIso w n) η).trans |
| 89 | (congrArg (fun η' => GeometricComparison.CechCone.Total.CechConeTotal.augmentation U Q ((CochainComplex.single₀ _).obj O) η') |
| 90 | (CechSheafAugmentationCoordinates.cone_eq p k n X Y f hp)) |
| 91 | |
| 92 | include hU hcover in |
| 93 | theorem diagram_quasiIso : QuasiIso |
| 94 | (GeometricComparison.CechCone.Total.CechConeTotal.augmentation U Q ((CochainComplex.single₀ _).obj O) |
| 95 | (ResolutionDiagram.augmentation p k n X Y f hp)) := by |
| 96 | rw [← diagram_augmentation p k n X Y f hp U] |
| 97 | exact (quasiIso_iff_comp_right _ (totalIso p k n X Y f hp U).hom).mpr |
| 98 | (augmentation_quasiIso p k n X Y f hp U index hU hcover) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.RefinedSheafResolution |