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.CechSheafResolution |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.TotalRestriction |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafRestriction |
| 6 | |
| 7 | /-! # Cech Geometric Total -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechGeometricTotal |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original global native Čech resolution restricts to the |
| 14 | sheafified geometric chart diagram, with the actual comparison maps. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 23 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 25 | (hp : IsPullback f Y.hom X.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (I : X.left.affineOpens) |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 31 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 32 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X Y f I.val |
| 33 | local instance specialAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ I.val) |
| 34 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 35 | local notation "g" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property |
| 36 | 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)) |
| 37 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X |
| 38 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram.diagram p k n X Y f hp I |
| 39 | |
| 40 | local instance localSeparated : IsSeparated wI := BoundedTruncated.FrameProduct.structureMap_separated p k C |
| 41 | local instance globalSeparated : IsSeparated w := by dsimp only [Witt.Crystalline.wittStructureMap]; infer_instance |
| 42 | local instance chartOpen : IsOpenImmersion g := Truncated.AffineModelFrame.chart_open p k n X Y f hp I.val I.property |
| 43 | |
| 44 | abbrev restriction := Bounded.PostcomposeTopology.restriction (p := p) (J := Ideal.span {(p : W)}) (δ := γ) g hg n |
| 45 | abbrev presheafRestriction := Relative.ComplexRestriction.restriction (B := W) |
| 46 | (BoundedOpen.Equivalence.postcompose (p := p) (J := Ideal.span {(p : W)}) (δ := γ) g hg n) |
| 47 | abbrev localSheafification := Bounded.RelativeSheafComplex.sheafification (p := p) |
| 48 | (J := Ideal.span {(p : W)}) (δ := γ) wI n |
| 49 | |
| 50 | def total := ((localSheafification p k n X Y f I).mapHomologicalComplex (.up ℕ)).obj |
| 51 | (GeometricComparison.CechCone.Total.CechConeTotal.total U P) |
| 52 | |
| 53 | def iso : ((restriction p k n X Y f hp I).mapHomologicalComplex (.up ℕ)).obj |
| 54 | (CechSheafResolution.complex p k n X Y f hp) ≅ total p k n X Y f hp I := |
| 55 | GeometricComparison.Cech.TotalRestriction.CechTotalRestrictionComparison.iso |
| 56 | (Bounded.RelativeSheafComplex.sheafification (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) |
| 57 | (restriction p k n X Y f hp I) (presheafRestriction p k n X Y f hp I) |
| 58 | (localSheafification p k n X Y f I) |
| 59 | (BoundedFrame.SheafRestriction.sheafificationIso g hg n) U |
| 60 | (CechPresheaf.diagram p k n X Y f hp) |
| 61 | |
| 62 | def localFrameIso : ((localSheafification p k n X Y f I).mapHomologicalComplex (.up ℕ)).obj ((P).obj (op I)) ≅ |
| 63 | Bounded.RelativeSheafComplex.complex wI n (Truncated.AffineModelFrame.localFrame p k n X Y f hp I.val I.property) := |
| 64 | ((localSheafification p k n X Y f I).mapHomologicalComplex (.up ℕ)).mapIso |
| 65 | (BoundedFrame.OpenRestriction.presheafIso g hg n (Truncated.AffineModelFrame.localFrame p k n X Y f hp I.val I.property)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechGeometricTotal |