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.GeometricComparison.IntrinsicPadic.FrameAmbient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameClosed |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameBaseIdeal |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.OpenFactor |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.ClosedRange |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.AmbientFormula |
| 7 | |
| 8 | /-! # Open Factor -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.OpenFactor.IntrinsicPadicOpenFactor |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A map to a native affine frame factors through a smaller affine frame |
| 15 | when its original closed image lies in that smaller open. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 20 | variable (p : ℕ) [Fact p.Prime] |
| 21 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 22 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (n : ℕ) (U V : X.left.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hUV : U ≤ V) |
| 25 | (T : IntegralComparison.BigCrystallineSite.Object p (WittVector p (ZMod p)) (Ideal.span {(p : WittVector p (ZMod p))}) |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 27 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y)) |
| 28 | (β : T ⟶ (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp V hV n).obj) |
| 29 | (h : Set.range T.mapToX ⊆ (f ⁻¹ᵁ U : Set Y.left)) |
| 30 | |
| 31 | local notation "α" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n |
| 32 | |
| 33 | theorem ambient_open : IsOpenImmersion (IntegralComparison.BigCrystallineSite.Object.ambient.map |
| 34 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n).hom) := |
| 35 | Crystalline.AmbientFormula.CrystallineAmbientFormula.openImmersion |
| 36 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n) |
| 37 | (FrameAmbient.IntrinsicPadicFrameAmbient.openImmersion p X Y f hp U V hU hV hUV n) |
| 38 | |
| 39 | include h in |
| 40 | theorem ambient_range : Set.range (IntegralComparison.BigCrystallineSite.Object.ambient.map β) ⊆ Set.range (IntegralComparison.BigCrystallineSite.Object.ambient.map (α).hom) := by |
| 41 | let := FrameClosed.IntrinsicPadicFrameClosed.openImmersion p X Y f hp n V hV |
| 42 | apply Crystalline.ClosedRange.CrystallineClosedRange.ambient_range (α).hom β |
| 43 | apply Crystalline.ClosedRange.CrystallineClosedRange.closed_range (α).hom β |
| 44 | (Scheme.Hom.isOpenEmbedding (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp V hV n).obj.mapToX).injective |
| 45 | rw [FrameClosed.IntrinsicPadicFrameClosed.range] |
| 46 | exact h |
| 47 | |
| 48 | include h in |
| 49 | theorem exists_factor : ∃ γ : T ⟶ (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n).obj, γ ≫ (α).hom = β := by |
| 50 | let : IsOpenImmersion (IntegralComparison.BigCrystallineSite.Object.ambient.map (α).hom) := ambient_open p X Y f hp n U V hU hV hUV |
| 51 | exact Crystalline.OpenFactor.CrystallineOpenFactor.exists_factor (α).hom β (FrameBaseIdeal.IntrinsicPadicFrameBaseIdeal.generated p X Y f hp n U hU) |
| 52 | (ambient_range p X Y f hp n U V hU hV hUV T β h) |
| 53 | |
| 54 | def lift : T ⟶ (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n).obj := |
| 55 | (exists_factor p X Y f hp n U V hU hV hUV T β h).choose |
| 56 | |
| 57 | theorem lift_comp : lift p X Y f hp n U V hU hV hUV T β h ≫ (α).hom = β := |
| 58 | (exists_factor p X Y f hp n U V hU hV hUV T β h).choose_spec |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.OpenFactor.IntrinsicPadicOpenFactor |