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.SmoothProper.WittFrameCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LocalizationLift |
| 4 | |
| 5 | /-! # Witt Geometric Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittGeometricRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every genuine morphism between smooth proper special fibres admits |
| 12 | an actual bounded Witt-frame refinement. The refined source objects are |
| 13 | principal opens in the constructed source frames, and carry actual |
| 14 | crystalline arrows to the target frames. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittFrameFamily.Family OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.StandardCover |
| 19 | BoundedCrystalline.Site |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 24 | (X Y : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 25 | [IsProper Y.hom] [Smooth Y.hom] (g : X ⟶ Y) (n : ℕ) |
| 26 | |
| 27 | local notation "WX" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k X |
| 28 | local notation "WY" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 29 | local notation "PIdeal" => Ideal.span {(p : WittVector p k)} |
| 30 | local notation "DP" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 31 | |
| 32 | omit [Fintype k] [CharP k p] [IsProper X.hom] [Smooth X.hom] [IsProper Y.hom] [Smooth Y.hom] in |
| 33 | theorem over_witt : g.left ≫ WY = WX := by |
| 34 | change g.left ≫ (Y.hom ≫ _) = X.hom ≫ _ |
| 35 | rw [← Category.assoc, g.w] |
| 36 | |
| 37 | abbrev postcompose := BoundedOpen.Equivalence.postcompose |
| 38 | (p := p) (J := PIdeal) (δ := DP) g.left (over_witt p k X Y g) n |
| 39 | |
| 40 | def elements (i : StandardCover.Index k X) : Finset ((WittFrameFamily.Family.frame p k X n i).obj.ring) := |
| 41 | (WittFrameCover.exists_cover p k Y n ((postcompose p k X Y g n).obj (WittFrameFamily.Family.frame p k X n i))).choose |
| 42 | |
| 43 | theorem elements_span (i : StandardCover.Index k X) : |
| 44 | Ideal.span (elements p k X Y g n i : Set ((WittFrameFamily.Family.frame p k X n i).obj.ring)) = ⊤ := |
| 45 | (WittFrameCover.exists_cover p k Y n |
| 46 | ((postcompose p k X Y g n).obj (WittFrameFamily.Family.frame p k X n i))).choose_spec.1 |
| 47 | |
| 48 | abbrev RefinedIndex := Σ i : StandardCover.Index k X, (elements p k X Y g n i) |
| 49 | |
| 50 | def source (i : RefinedIndex p k X Y g n) : BoundedCrystalline.Site.Objects (p := p) (J := PIdeal) (δ := DP) WX n := |
| 51 | Bounded.PrincipalCovers.object (WittFrameFamily.Family.frame p k X n i.1) i.2.val |
| 52 | |
| 53 | def sourceMap (i : RefinedIndex p k X Y g n) : source p k X Y g n i ⟶ WittFrameFamily.Family.frame p k X n i.1 := |
| 54 | Bounded.PrincipalCovers.hom (WittFrameFamily.Family.frame p k X n i.1) i.2.val |
| 55 | |
| 56 | theorem target_exists (i : RefinedIndex p k X Y g n) : |
| 57 | ∃ j : StandardCover.Index k Y, Nonempty ((postcompose p k X Y g n).obj (source p k X Y g n i) ⟶ WittFrameFamily.Family.frame p k Y n j) := by |
| 58 | obtain ⟨j, ⟨α⟩⟩ := (WittFrameCover.exists_cover p k Y n |
| 59 | ((postcompose p k X Y g n).obj (WittFrameFamily.Family.frame p k X n i.1))).choose_spec.2.2 i.2.val i.2.property |
| 60 | let β := ((postcompose p k X Y g n).map (sourceMap p k X Y g n i)).hom |
| 61 | have hu : IsUnit (β.ringMap i.2.val) := |
| 62 | IsLocalization.Away.algebraMap_isUnit |
| 63 | (S := Crystalline.Localization.Ring (WittFrameFamily.Family.frame p k X n i.1).obj i.2.val) i.2.val |
| 64 | exact ⟨j, ⟨ObjectProperty.homMk |
| 65 | (Crystalline.LocalizationLift.liftHom β i.2.val hu) ≫ α⟩⟩ |
| 66 | |
| 67 | def targetIndex (i : RefinedIndex p k X Y g n) : StandardCover.Index k Y := |
| 68 | (target_exists p k X Y g n i).choose |
| 69 | |
| 70 | def targetMap (i : RefinedIndex p k X Y g n) : |
| 71 | (postcompose p k X Y g n).obj (source p k X Y g n i) ⟶ |
| 72 | WittFrameFamily.Family.frame p k Y n (targetIndex p k X Y g n i) := |
| 73 | Classical.choice (target_exists p k X Y g n i).choose_spec |
| 74 | |
| 75 | /-- The refined family still covers the whole original bounded source site. -/ |
| 76 | theorem covering (U : BoundedCrystalline.Site.Objects (p := p) (J := PIdeal) (δ := DP) WX n) : |
| 77 | CoveringObjectsSheafDetection.sieve (source p k X Y g n) U ∈ BoundedCrystalline.Site.topology WX n U := by |
| 78 | have hf (i : StandardCover.Index k X) : |
| 79 | CoveringObjectsSheafDetection.sieve (source p k X Y g n) (WittFrameFamily.Family.frame p k X n i) ∈ |
| 80 | BoundedCrystalline.Site.topology WX n (WittFrameFamily.Family.frame p k X n i) := by |
| 81 | let s := elements p k X Y g n i |
| 82 | have he : Set.range (fun r : s => r.val) = (s : Set ((WittFrameFamily.Family.frame p k X n i).obj.ring)) := by |
| 83 | ext r |
| 84 | exact ⟨fun ⟨a, ha⟩ => ha ▸ a.property, fun hr => ⟨⟨r, hr⟩, rfl⟩⟩ |
| 85 | have hc := Bounded.PrincipalCovers.coveringSieve (WittFrameFamily.Family.frame p k X n i) (fun r : s => r.val) |
| 86 | (by rw [he]; exact elements_span p k X Y g n i) |
| 87 | apply (BoundedCrystalline.Site.topology WX n).superset_covering _ hc |
| 88 | apply (Sieve.generate_le_iff _ _).mpr |
| 89 | intro V α hα |
| 90 | cases hα with |
| 91 | | mk r => exact ⟨⟨i, r⟩, ⟨𝟙 _⟩⟩ |
| 92 | apply (BoundedCrystalline.Site.topology WX n).transitive (WittFrameCover.covering p k X n U) |
| 93 | rintro V α ⟨i, ⟨β⟩⟩ |
| 94 | exact (BoundedCrystalline.Site.topology WX n).pullback_stable β (hf i) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittGeometricRefinement |