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.SectionRowRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SubchartResolution |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.ImageRestriction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafAugmentation |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.RestrictionCongr |
| 6 | |
| 7 | /-! # Incoming Restriction -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingRestriction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The native local frame resolves the original structure sheaf |
| 14 | on the fixed incoming subsite of its special-fiber open. -/ |
| 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 | (V : 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 V.val |
| 33 | local instance specialAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ V.val) |
| 34 | local notation "wV" => 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 V.val V.property |
| 36 | local notation "hg" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenPresentation.overWitt p k C Y |
| 37 | (Truncated.AffineModelFrame.chart p k n X Y f hp V.val V.property) |
| 38 | (Truncated.AffineModelFrame.chart_over p k n X Y f hp V.val V.property) |
| 39 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 40 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.augmentation p k n X Y f hp |
| 41 | local notation "FG" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.frame p k n X Y f hp V.val V.property |
| 42 | local notation "FL" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.localFrame p k n X Y f hp V.val V.property |
| 43 | |
| 44 | local instance localSeparated : IsSeparated wV := BoundedTruncated.FrameProduct.structureMap_separated p k C |
| 45 | local instance globalSeparated : IsSeparated w := by |
| 46 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 47 | infer_instance |
| 48 | local instance chartOpen : IsOpenImmersion g := |
| 49 | Truncated.AffineModelFrame.chart_open p k n X Y f hp V.val V.property |
| 50 | |
| 51 | abbrev restriction := BoundedOpen.Subsite.restriction (p := p) |
| 52 | (J := Ideal.span {(p : W)}) (δ := γ) w (f ⁻¹ᵁ V.val).ι n |
| 53 | |
| 54 | omit [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 55 | theorem chart_range : (g).opensRange = f ⁻¹ᵁ V.val := |
| 56 | IsAffineOpen.opensRange_fromSpec |
| 57 | (Truncated.AffineModelFrame.residue_affine p k n X Y f hp V.val V.property) |
| 58 | |
| 59 | omit [IsProper X.hom] in |
| 60 | theorem meet_isIso (T : X.left.affineOpens) : IsIso |
| 61 | (((restriction p k n X Y f V).mapHomologicalComplex (.up ℕ)).map |
| 62 | ((P).map (homOfLE (inf_le_left : T ⊓ V ≤ T)).op)) := by |
| 63 | have h := BoundedOpen.ImageRestriction.isIso g hg n |
| 64 | ((P).map (homOfLE (inf_le_left : T ⊓ V ≤ T)).op) |
| 65 | (SectionRowRestriction.restricted_meet_isIso p k n X Y f hp V T) |
| 66 | exact BoundedOpen.RestrictionCongr.isIso w n _ _ _ (chart_range p k n X Y f hp V) h |
| 67 | |
| 68 | variable (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index (Truncated.Witt.Ring p k n) X) |
| 69 | (hi : V.val ≤ AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens (Truncated.Witt.Ring p k n) X i) |
| 70 | |
| 71 | include hi in |
| 72 | omit [X.left.IsSeparated] in |
| 73 | theorem augmentation_quasiIso : QuasiIso |
| 74 | (((restriction p k n X Y f V).mapHomologicalComplex (.up ℕ)).map ((η).app (op V))) := by |
| 75 | have hlocal := SubchartResolution.augmentation_quasiIso p k n X Y f hp V i hi |
| 76 | let e := BoundedFrame.SheafRestriction.complexIso g hg n FL |
| 77 | have hpull : QuasiIso (BoundedFrame.PullbackAugmentation.augmentation g hg n FG) := by |
| 78 | apply (quasiIso_iff_comp_right _ e.hom).mp |
| 79 | exact (BoundedFrame.SheafAugmentation.augmentation g hg n FL).symm ▸ hlocal |
| 80 | have hraw : QuasiIso |
| 81 | (((CechGeometricTotal.restriction p k n X Y f hp V).mapHomologicalComplex |
| 82 | (.up ℕ)).map ((η).app (op V))) := |
| 83 | (quasiIso_iff_comp_left (BoundedFrame.PullbackAugmentation.sourceIso g hg n).inv _).mp hpull |
| 84 | have h := BoundedOpen.ImageRestriction.quasiIso g hg n ((η).app (op V)) hraw |
| 85 | exact BoundedOpen.RestrictionCongr.quasiIso w n _ _ _ (chart_range p k n X Y f hp V) h |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingRestriction |