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.BoundedOpen.Support |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OpenCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PrincipalCovers |
| 4 | |
| 5 | /-! # Covering -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Covering |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: geometric open covers cover the original bounded crystalline site |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Support OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ClosedTopology |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 22 | {Y : Scheme.{u}} {fY : Y ⟶ Spec (CommRingCat.of B)} {n : ℕ} |
| 23 | {ι : Type u} (V : ι → Y.Opens) |
| 24 | |
| 25 | def sieve (T : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) : Sieve T where |
| 26 | arrows U _ := ∃ i, SectionPresheaf.property fY n (V i) U |
| 27 | downward_closed := by |
| 28 | intro U W α h β |
| 29 | obtain ⟨i, hi⟩ := h |
| 30 | exact ⟨i, SectionPresheaf.incoming fY n (V i) β hi⟩ |
| 31 | |
| 32 | variable (T : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) |
| 33 | (hcover : ∀ z : Spec (CommRingCat.of (T.obj.ring ⧸ T.obj.ideal)), ∃ i, T.obj.mapToX z ∈ V i) |
| 34 | |
| 35 | include hcover in |
| 36 | theorem principal_neighborhood (z : Spec T.obj.ring) : |
| 37 | ∃ (r : T.obj.ring) (i : ι), r ∉ z.asIdeal ∧ |
| 38 | SectionPresheaf.property fY n (V i) (Bounded.PrincipalCovers.object T r) := by |
| 39 | obtain ⟨y, hy⟩ := Crystalline.ClosedTopology.quotientSpec_surjective T.obj z |
| 40 | obtain ⟨i, hi⟩ := hcover y |
| 41 | have hopen : IsOpen (T.obj.mapToX ⁻¹' (V i : Set Y)) := |
| 42 | (V i).isOpen.preimage T.obj.mapToX.continuous |
| 43 | obtain ⟨_, ⟨c, rfl⟩, hc, hsub⟩ := |
| 44 | PrimeSpectrum.isTopologicalBasis_basic_opens.exists_subset_of_mem_open hi hopen |
| 45 | obtain ⟨r, hr⟩ := Ideal.Quotient.mk_surjective c |
| 46 | refine ⟨r, i, ?_, (Support.property_iff_range_subset fY n _ (V i)).mpr ?_⟩ |
| 47 | · rw [← hy] |
| 48 | change Ideal.Quotient.mk T.obj.ideal r ∉ y.asIdeal |
| 49 | rw [hr] |
| 50 | exact hc |
| 51 | · rintro _ ⟨w, rfl⟩ |
| 52 | apply hsub |
| 53 | rw [← hr] |
| 54 | exact Crystalline.ClosedTopology.closedMap_mem_basicOpen T.obj r w |
| 55 | |
| 56 | include hcover in |
| 57 | theorem finite_principal_refinement : |
| 58 | ∃ s : Finset T.obj.ring, Ideal.span (s : Set T.obj.ring) = ⊤ ∧ |
| 59 | ∀ r ∈ s, ∃ i, SectionPresheaf.property fY n (V i) (Bounded.PrincipalCovers.object T r) := by |
| 60 | obtain ⟨s, hs, hspan⟩ := Principal.OpenCover.finite_unit_family |
| 61 | (fun r : T.obj.ring => ∃ i, SectionPresheaf.property fY n (V i) (Bounded.PrincipalCovers.object T r)) (by |
| 62 | intro z |
| 63 | obtain ⟨r, i, hr, hi⟩ := principal_neighborhood V T hcover z |
| 64 | exact ⟨r, ⟨i, hi⟩, hr⟩) |
| 65 | exact ⟨s, hspan, hs⟩ |
| 66 | |
| 67 | include hcover in |
| 68 | theorem covering : sieve V T ∈ BoundedCrystalline.Site.topology fY n T := by |
| 69 | obtain ⟨s, hspan, hs⟩ := finite_principal_refinement V T hcover |
| 70 | have he : Set.range (fun r : s => r.val) = (s : Set T.obj.ring) := by |
| 71 | ext a |
| 72 | exact ⟨fun ⟨b, hb⟩ => hb ▸ b.property, fun ha => ⟨⟨a, ha⟩, rfl⟩⟩ |
| 73 | have hcover' := Bounded.PrincipalCovers.coveringSieve T (fun r : s => r.val) |
| 74 | (he ▸ hspan) |
| 75 | apply (BoundedCrystalline.Site.topology fY n).superset_covering _ hcover' |
| 76 | apply (Sieve.generate_le_iff _ _).mpr |
| 77 | intro U α hα |
| 78 | cases hα with |
| 79 | | mk r => exact hs r.val r.property |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Covering |