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.BoundedTruncated.FrameProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalSectionQuasiIso |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.ChartSectionFunctorIso |
| 4 | |
| 5 | /-! # Zariski Section Quasi Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ZariskiSectionQuasiIso.Cech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original global native comparison is a quasi-isomorphism on |
| 12 | Zariski sections of each affine subchart in the integral coordinate cover. -/ |
| 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 | (I : X.left.affineOpens) |
| 26 | |
| 27 | local notation "W" => WittVector p k |
| 28 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 29 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 30 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X Y f I.val |
| 31 | local instance specialAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ I.val) |
| 32 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 33 | local notation "g" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property |
| 34 | local notation "hg" => (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenPresentation.overWitt p k C Y (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property) (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart_over p k n X Y f hp I.val I.property)) |
| 35 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X |
| 36 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram.diagram p k n X Y f hp I |
| 37 | |
| 38 | local instance localSeparated : IsSeparated wI := BoundedTruncated.FrameProduct.structureMap_separated p k C |
| 39 | local instance globalSeparated : IsSeparated w := by dsimp only [Witt.Crystalline.wittStructureMap]; infer_instance |
| 40 | local instance chartOpen : IsOpenImmersion g := Truncated.AffineModelFrame.chart_open p k n X Y f hp I.val I.property |
| 41 | |
| 42 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechGeometricTotal.restriction p k n X Y f hp I |
| 43 | |
| 44 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 45 | (J := Ideal.span {(p : WittVector p k)}) |
| 46 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 47 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 48 | |
| 49 | def map := ((BoundedOpen.SectionComplex.functor (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n).mapHomologicalComplex (.up ℕ)).map |
| 50 | (CechInjective.Comparison.map p k n X Y f hp J) |
| 51 | |
| 52 | variable (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) |
| 53 | (hi : I.val ≤ (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X i).val) |
| 54 | |
| 55 | include hi in |
| 56 | theorem evaluation_quasiIso : QuasiIso |
| 57 | (((BoundedOpen.SectionComplex.evaluation (B := W) (f ⁻¹ᵁ I.val)).mapHomologicalComplex (.up ℕ)).map |
| 58 | (Cech.map p k n X Y f hp J)) := by |
| 59 | let : QuasiIso (((Bounded.PostcomposeTopology.restriction g hg n ⋙ |
| 60 | Sheaf.PresheafSectionComplex.sectionFunctor.{1, 0, 1, 2} |
| 61 | (Crystalline.ExactRestriction.Coeff (B := W)) |
| 62 | (BoundedCrystalline.Site.topology wI n)).mapHomologicalComplex (.up ℕ)).map |
| 63 | (CechInjective.Comparison.map p k n X Y f hp J)) := |
| 64 | LocalSectionQuasiIso.Cech.globalMap_sections_quasiIso p k n X Y f hp I J i hi |
| 65 | have h := QuasiIsoFunctorIso.transport _ _ |
| 66 | (NatIso.mapHomologicalComplex (GeometricComparison.Bounded.ChartSectionFunctorIso.BoundedChartSectionFunctorIso.iso g hg n) (.up ℕ)) |
| 67 | (CechInjective.Comparison.map p k n X Y f hp J) |
| 68 | have hj : (g).opensRange = f ⁻¹ᵁ I.val := |
| 69 | IsAffineOpen.opensRange_fromSpec (Truncated.AffineModelFrame.residue_affine p k n X Y f hp I.val I.property) |
| 70 | erw [hj] at h |
| 71 | exact h |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ZariskiSectionQuasiIso.Cech |