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.Crystalline.ClosedTopology |
| 2 | import Mathlib.RingTheory.Ideal.Maximal |
| 3 | |
| 4 | /-! # Open Cover -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OpenCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: finite principal refinements subordinate to a fixed open cover |
| 12 | |
| 13 | A crystalline thickening's closed subscheme has the same points as its |
| 14 | ambient scheme. Pulling back a fixed open cover and refining by principal |
| 15 | opens therefore gives principal neighborhoods at every ambient point. |
| 16 | The unit-ideal argument extracts finitely many such neighborhoods. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Localization OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ClosedTopology |
| 24 | |
| 25 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 26 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 27 | (T : BigCrystallineSite.Object p B J δ f) |
| 28 | {ι : Type u} (Y : ι → Scheme.{u}) (j : ∀ i, Y i ⟶ X) [∀ i, IsOpenImmersion (j i)] |
| 29 | (hcover : ∀ z : X, ∃ i, z ∈ Set.range (j i)) |
| 30 | |
| 31 | include hcover in |
| 32 | theorem principal_neighborhood (z : Spec (CommRingCat.of T.ring)) : |
| 33 | ∃ (r : T.ring) (i : ι), r ∉ z.asIdeal ∧ |
| 34 | Set.range (Crystalline.Localization.object T r).mapToX ⊆ Set.range (j i) := by |
| 35 | obtain ⟨y, hy⟩ := Crystalline.ClosedTopology.quotientSpec_surjective T z |
| 36 | obtain ⟨i, hi⟩ := hcover (T.mapToX y) |
| 37 | have hopen : IsOpen (T.mapToX ⁻¹' Set.range (j i)) := |
| 38 | (j i).isOpenEmbedding.isOpen_range.preimage T.mapToX.continuous |
| 39 | obtain ⟨_, ⟨c, rfl⟩, hc, hsub⟩ := |
| 40 | PrimeSpectrum.isTopologicalBasis_basic_opens.exists_subset_of_mem_open hi hopen |
| 41 | obtain ⟨r, hr⟩ := Ideal.Quotient.mk_surjective c |
| 42 | refine ⟨r, i, ?_, ?_⟩ |
| 43 | · rw [← hy] |
| 44 | change Ideal.Quotient.mk T.ideal r ∉ y.asIdeal |
| 45 | rw [hr] |
| 46 | exact hc |
| 47 | · rintro _ ⟨w, rfl⟩ |
| 48 | apply hsub |
| 49 | rw [← hr] |
| 50 | exact Crystalline.ClosedTopology.closedMap_mem_basicOpen T r w |
| 51 | |
| 52 | /-- Pointwise principal neighborhoods admit a finite unit-generating subfamily. -/ |
| 53 | theorem finite_unit_family {R : Type u} [CommRing R] (P : R → Prop) |
| 54 | (hP : ∀ z : PrimeSpectrum R, ∃ r, P r ∧ r ∉ z.asIdeal) : |
| 55 | ∃ s : Finset R, (∀ r ∈ s, P r) ∧ Ideal.span (s : Set R) = ⊤ := by |
| 56 | have hspan : Ideal.span {r : R | P r} = ⊤ := by |
| 57 | by_contra h |
| 58 | obtain ⟨M, hM, hle⟩ := Ideal.exists_le_maximal _ h |
| 59 | let : M.IsMaximal := hM |
| 60 | obtain ⟨r, hr, hnot⟩ := hP ⟨M, inferInstance⟩ |
| 61 | exact hnot (hle (Ideal.subset_span hr)) |
| 62 | have h1 : (1 : R) ∈ Ideal.span {r : R | P r} := by rw [hspan]; trivial |
| 63 | obtain ⟨s, hs, h1s⟩ := Submodule.mem_span_finite_of_mem_span h1 |
| 64 | exact ⟨s, fun r hr => hs hr, (Ideal.eq_top_iff_one _).mpr h1s⟩ |
| 65 | |
| 66 | include hcover in |
| 67 | theorem finite_principal_refinement : |
| 68 | ∃ s : Finset T.ring, Ideal.span (s : Set T.ring) = ⊤ ∧ |
| 69 | ∀ r ∈ s, ∃ i, Set.range (Crystalline.Localization.object T r).mapToX ⊆ Set.range (j i) := by |
| 70 | obtain ⟨s, hs, hspan⟩ := finite_unit_family |
| 71 | (fun r : T.ring => ∃ i, Set.range (Crystalline.Localization.object T r).mapToX ⊆ Set.range (j i)) (by |
| 72 | intro z |
| 73 | obtain ⟨r, i, hr, hi⟩ := principal_neighborhood T Y j hcover z |
| 74 | exact ⟨r, ⟨i, hi⟩, hr⟩) |
| 75 | exact ⟨s, hspan, hs⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OpenCover |