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.ProperCrystallineFrames |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.OpenFrame |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PrincipalCovers |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 5 | |
| 6 | /-! # Zero Frames -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.ZeroFrames |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: a fixed finite family of smooth zero frames covers the original bounded site |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.ProperAffineCover |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProperCrystallineFrames OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 24 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 25 | |
| 26 | instance coordinate_smooth (i : (ProperAffineCover.cover X.hom).I₀) : Algebra.Smooth k (ProperAffineCover.coordinateRing X.hom i) := by |
| 27 | have h : Smooth (Spec.map (CommRingCat.ofHom (algebraMap k (ProperAffineCover.coordinateRing X.hom i)))) := by |
| 28 | rw [← ProperAffineCover.chartMap_over X.hom i] |
| 29 | infer_instance |
| 30 | exact RingHom.smooth_algebraMap.mp ((HasRingHomProperty.Spec_iff (P := @Smooth)).mp h) |
| 31 | |
| 32 | theorem exists_cover (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 33 | (δ := OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) 0) : |
| 34 | ∃ s : Finset U.obj.ring, Ideal.span (s : Set U.obj.ring) = ⊤ ∧ |
| 35 | Sieve.generate (Bounded.PrincipalCovers.presieve U (fun r : s => r.val)) ∈ |
| 36 | BoundedCrystalline.Site.topology (Witt.Crystalline.wittStructureMap p k X) 0 U ∧ |
| 37 | ∀ r ∈ s, ∃ i : (ProperAffineCover.cover X.hom).I₀, |
| 38 | Nonempty (Bounded.PrincipalCovers.object U r ⟶ |
| 39 | ZeroLevel.OpenFrame.boundedFrame p k (ProperAffineCover.coordinateRing X.hom i) X |
| 40 | (ProperCrystallineFrames.affineChartMap k X i) (ProperCrystallineFrames.affineChartMap_over k X i)) := by |
| 41 | have hcover : ∀ z : X.left, ∃ i, z ∈ Set.range (ProperAffineCover.chartMap X.hom i) := by |
| 42 | intro z |
| 43 | have hz : z ∈ (⨆ i, (ProperAffineCover.chartMap X.hom i).opensRange : X.left.Opens) := by |
| 44 | rw [ProperAffineCover.chartMaps_cover] |
| 45 | trivial |
| 46 | exact TopologicalSpace.Opens.mem_iSup.mp hz |
| 47 | obtain ⟨s, hspan, hs⟩ := Principal.OpenCover.finite_principal_refinement U.obj |
| 48 | (fun i => Spec (ProperAffineCover.coordinateRing X.hom i)) (ProperAffineCover.chartMap X.hom) hcover |
| 49 | refine ⟨s, hspan, ?_, ?_⟩ |
| 50 | · apply Bounded.PrincipalCovers.coveringSieve |
| 51 | have he : Set.range (fun r : s => r.val) = (s : Set U.obj.ring) := by |
| 52 | ext a |
| 53 | constructor |
| 54 | · rintro ⟨b, rfl⟩ |
| 55 | exact b.property |
| 56 | · intro ha |
| 57 | exact ⟨⟨a, ha⟩, rfl⟩ |
| 58 | rw [he] |
| 59 | exact hspan |
| 60 | · intro r hr |
| 61 | obtain ⟨i, hi⟩ := hs r hr |
| 62 | let V := Crystalline.Localization.object U.obj r |
| 63 | let j : (Crystalline.Presentation.affineScheme k (ProperAffineCover.coordinateRing X.hom i)).left ⟶ X.left := ProperCrystallineFrames.affineChartMap k X i |
| 64 | let : IsOpenImmersion j := ProperCrystallineFrames.affineChartMap_open k X i |
| 65 | let t := IsOpenImmersion.lift j V.mapToX hi |
| 66 | have ht : t ≫ j = V.mapToX := IsOpenImmersion.lift_fac j V.mapToX hi |
| 67 | have hU : (p : U.obj.ring) = 0 := (pow_one (p : U.obj.ring)).symm.trans U.property |
| 68 | have hV : (p : V.ring) = 0 := by |
| 69 | simpa only [map_natCast, map_zero] using |
| 70 | congrArg (algebraMap U.obj.ring (Crystalline.Localization.Ring U.obj r)) hU |
| 71 | obtain ⟨a⟩ := ZeroLevel.OpenFrame.exists_map p k (ProperAffineCover.coordinateRing X.hom i) X j |
| 72 | (ProperCrystallineFrames.affineChartMap_over k X i) V t ht hV |
| 73 | exact ⟨i, ⟨ObjectProperty.homMk a⟩⟩ |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.ZeroFrames |