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.Finite.CrystallineCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FrameForms |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenPresentation |
| 4 | |
| 5 | /-! # Finite Frame -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.FiniteFrame |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: finite crystalline frames over affine opens of a scheme |
| 13 | |
| 14 | Postcomposing the prescribed closed fibre with an actual affine open |
| 15 | immersion produces a finite frame in the original global crystalline |
| 16 | site. Every small thickening whose closed map lands in this open maps |
| 17 | to one of these frames, and its ambient forms retain their finiteness. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable (p : ℕ) [Fact p.Prime] (k C σ : Type u) [Field k] [Fintype k] [CharP k p] |
| 27 | [CommRing C] [Algebra k C] (x : σ → C) |
| 28 | (hx : Function.Surjective (MvPolynomial.aeval x : MvPolynomial σ k →ₐ[k] C)) |
| 29 | (X : Over (Spec (CommRingCat.of k))) |
| 30 | (j : (Crystalline.Presentation.affineScheme k C).left ⟶ X.left) [IsOpenImmersion j] |
| 31 | (hj : j ≫ X.hom = (Crystalline.Presentation.affineScheme k C).hom) |
| 32 | |
| 33 | /-- The finite affine frame, as an object of the original global crystalline site. -/ |
| 34 | def frame (n : ℕ) : Witt.Crystalline.CrystallineObject p k X where |
| 35 | ring := (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).ring |
| 36 | base := (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).base |
| 37 | ideal := (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).ideal |
| 38 | dividedPowers := (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).dividedPowers |
| 39 | baseCompatible := (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).baseCompatible |
| 40 | primeNilpotent := (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).primeNilpotent |
| 41 | nilIdeal := (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).nilIdeal |
| 42 | openMap := (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).openMap ≫ j |
| 43 | overBase := by |
| 44 | rw [Category.assoc, Crystalline.OpenPresentation.overWitt p k C X j hj] |
| 45 | exact (IntegralComparison.Finite.CrystallineFrame.object p k C σ x n hx).overBase |
| 46 | |
| 47 | variable (U : Witt.Crystalline.CrystallineObject p k X) |
| 48 | (closedFactor : Spec (CommRingCat.of (U.ring ⧸ U.ideal)) ⟶ (Crystalline.Presentation.affineScheme k C).left) |
| 49 | (ht : closedFactor ≫ j = U.openMap) |
| 50 | |
| 51 | def affineObject : Witt.Crystalline.CrystallineObject p k (Crystalline.Presentation.affineScheme k C) where |
| 52 | ring := U.ring |
| 53 | base := U.base |
| 54 | ideal := U.ideal |
| 55 | dividedPowers := U.dividedPowers |
| 56 | baseCompatible := U.baseCompatible |
| 57 | primeNilpotent := U.primeNilpotent |
| 58 | nilIdeal := U.nilIdeal |
| 59 | openMap := closedFactor |
| 60 | isOpenImmersion := by |
| 61 | have : IsOpenImmersion (closedFactor ≫ j) := by rw [ht]; infer_instance |
| 62 | exact IsOpenImmersion.of_comp closedFactor j |
| 63 | overBase := by |
| 64 | rw [← Crystalline.OpenPresentation.overWitt p k C X j hj, ← Category.assoc, ht] |
| 65 | exact U.overBase |
| 66 | |
| 67 | def presentationMorphism : U ⟶ frame p k C σ x hx X j hj |
| 68 | (Crystalline.Cover.levelBound p k C (affineObject p k C X j hj U closedFactor ht)) where |
| 69 | ringMap := (IntegralComparison.Finite.CrystallineCover.presentationMorphism p k C σ x |
| 70 | (affineObject p k C X j hj U closedFactor ht) hx).ringMap |
| 71 | overBase := (IntegralComparison.Finite.CrystallineCover.presentationMorphism p k C σ x |
| 72 | (affineObject p k C X j hj U closedFactor ht) hx).overBase |
| 73 | overX := by |
| 74 | let α := IntegralComparison.Finite.CrystallineCover.presentationMorphism p k C σ x |
| 75 | (affineObject p k C X j hj U closedFactor ht) hx |
| 76 | change Crystalline.Site.AffineThickening.quotientMap |
| 77 | (affineObject p k C X j hj U closedFactor ht) |
| 78 | (IntegralComparison.Finite.CrystallineFrame.object p k C σ x _ hx) α.ringMap |> fun q => |
| 79 | Spec.map (CommRingCat.ofHom q) ≫ |
| 80 | ((IntegralComparison.Finite.CrystallineFrame.object p k C σ x _ hx).openMap ≫ j) = U.openMap |
| 81 | exact (Category.assoc _ _ _).symm.trans |
| 82 | ((congrArg (fun m => m ≫ j) α.overX).trans ht) |
| 83 | |
| 84 | include ht in |
| 85 | theorem exists_presentation : ∃ n : ℕ, Nonempty (U ⟶ frame p k C σ x hx X j hj n) := |
| 86 | ⟨_, ⟨presentationMorphism p k C σ x hx X j hj U closedFactor ht⟩⟩ |
| 87 | |
| 88 | omit U closedFactor ht in |
| 89 | /-- The global frame's actual Witt-relative forms are finite over its ambient ring. -/ |
| 90 | theorem forms_finite [Finite σ] (n m : ℕ) : |
| 91 | let V := frame p k C σ x hx X j hj n |
| 92 | letI : Algebra (WittVector p k) V.ring := V.base.toAlgebra |
| 93 | Module.Finite V.ring |
| 94 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form (WittVector p k) V.ring V.ideal V.dividedPowers m) := |
| 95 | IntegralComparison.Finite.FrameForms.object_forms_finite p k C σ x n hx m |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.FiniteFrame |