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.FrameFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameClosed |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.OpenFactor |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.ClosedRange |
| 5 | |
| 6 | /-! # Open Factor -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OpenFactor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Incoming crystalline maps factor through smaller actual affine |
| 13 | frames whenever their special-fiber image lies in the smaller open. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 23 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) [Smooth X.hom] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) (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 | (U V : X.left.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hUV : U ≤ V) |
| 28 | |
| 29 | local notation "α" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.map p k n X Y f hp U V hU hV hUV |
| 30 | |
| 31 | theorem ambient_open : IsOpenImmersion (BigCrystallineSite.Object.ambient.map (α).hom) := by |
| 32 | let g := Spec.map (X.left.presheaf.map (homOfLE hUV).op) |
| 33 | have he : BigCrystallineSite.Object.ambient.map (α).hom = g := by |
| 34 | apply congrArg Spec.map |
| 35 | apply CommRingCat.hom_ext |
| 36 | ext a |
| 37 | exact FrameFunctor.map_apply p k n X Y f hp U V hU hV hUV a |
| 38 | rw [he] |
| 39 | have hc : g ≫ hV.fromSpec = hU.fromSpec := hV.map_fromSpec hU (homOfLE hUV).op |
| 40 | let : IsOpenImmersion (g ≫ hV.fromSpec) := hc.symm ▸ inferInstanceAs (IsOpenImmersion hU.fromSpec) |
| 41 | exact IsOpenImmersion.of_comp g hV.fromSpec |
| 42 | |
| 43 | variable (T : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 44 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k Y)) |
| 45 | (β : T ⟶ (Truncated.AffineModelFrame.frame p k n X Y f hp V hV).obj) |
| 46 | (h : Set.range T.mapToX ⊆ (f ⁻¹ᵁ U : Set Y.left)) |
| 47 | |
| 48 | include h in |
| 49 | theorem ambient_range : Set.range (BigCrystallineSite.Object.ambient.map β) ⊆ Set.range (BigCrystallineSite.Object.ambient.map (α).hom) := by |
| 50 | let := FrameClosed.openImmersion p k n X Y f hp V hV |
| 51 | apply GeometricComparison.Crystalline.ClosedRange.CrystallineClosedRange.ambient_range (α).hom β |
| 52 | apply GeometricComparison.Crystalline.ClosedRange.CrystallineClosedRange.closed_range (α).hom β |
| 53 | (Scheme.Hom.isOpenEmbedding (Truncated.AffineModelFrame.frame p k n X Y f hp V hV).obj.mapToX).injective |
| 54 | rw [FrameClosed.range] |
| 55 | exact h |
| 56 | |
| 57 | include h in |
| 58 | theorem exists_factor : |
| 59 | ∃ γ : T ⟶ (Truncated.AffineModelFrame.frame p k n X Y f hp U hU).obj, γ ≫ (α).hom = β := by |
| 60 | let : IsOpenImmersion (BigCrystallineSite.Object.ambient.map (α).hom) := ambient_open p k n X Y f hp U V hU hV hUV |
| 61 | exact GeometricComparison.Crystalline.OpenFactor.CrystallineOpenFactor.exists_factor (α).hom β |
| 62 | (FrameClosed.ideal_generated p k n X Y f hp U hU) |
| 63 | (ambient_range p k n X Y f hp U V hU hV hUV T β h) |
| 64 | |
| 65 | def lift : T ⟶ (Truncated.AffineModelFrame.frame p k n X Y f hp U hU).obj := |
| 66 | (exists_factor p k n X Y f hp U V hU hV hUV T β h).choose |
| 67 | |
| 68 | theorem lift_comp : lift p k n X Y f hp U V hU hV hUV T β h ≫ (α).hom = β := |
| 69 | (exists_factor p k n X Y f hp U V hU hV hUV T β h).choose_spec |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OpenFactor |