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.PrincipalOpens |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.Sites |
| 3 | |
| 4 | /-! # Topology -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.Topology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: the principal-open basis carries the actual Zariski topology |
| 12 | |
| 13 | The principal-open functor is fully faithful and cover dense. Its induced |
| 14 | topology has exactly the point-covering sieves, and sheaves on this basis |
| 15 | are equivalent to sheaves on the entire affine Zariski space. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalOpens.Category |
| 21 | |
| 22 | universe u v w |
| 23 | |
| 24 | variable (R : Type u) [CommRing R] |
| 25 | |
| 26 | instance toOpens_faithful : (PrincipalOpens.Category.toOpens R).Faithful where |
| 27 | map_injective _ := Subsingleton.elim _ _ |
| 28 | |
| 29 | instance toOpens_full : (PrincipalOpens.Category.toOpens R).Full where |
| 30 | map_surjective a := ⟨homOfLE (leOfHom a), Subsingleton.elim _ _⟩ |
| 31 | |
| 32 | instance toOpens_coverDense : (PrincipalOpens.Category.toOpens R).IsCoverDense (Opens.grothendieckTopology (PrimeSpectrum R)) where |
| 33 | is_cover := by |
| 34 | intro V z hz |
| 35 | obtain ⟨_, ⟨r, rfl⟩, hr, hsub⟩ := |
| 36 | PrimeSpectrum.isTopologicalBasis_basic_opens.exists_subset_of_mem_open hz V.isOpen |
| 37 | exact ⟨PrimeSpectrum.basicOpen r, homOfLE hsub, |
| 38 | ⟨PrincipalOpens.Category.Principal.mk r, 𝟙 _, homOfLE hsub, rfl⟩, hr⟩ |
| 39 | |
| 40 | def topology : GrothendieckTopology (PrincipalOpens.Category.Principal R) := |
| 41 | (PrincipalOpens.Category.toOpens R).inducedTopology (Opens.grothendieckTopology (PrimeSpectrum R)) |
| 42 | |
| 43 | theorem covering_iff {r : PrincipalOpens.Category.Principal R} (S : Sieve r) : S ∈ topology R r ↔ |
| 44 | ∀ z ∈ PrimeSpectrum.basicOpen r.function, |
| 45 | ∃ (s : PrincipalOpens.Category.Principal R) (a : s ⟶ r), S a ∧ z ∈ PrimeSpectrum.basicOpen s.function := by |
| 46 | rw [topology, Functor.mem_inducedTopology_iff_of_isCoverDense] |
| 47 | apply forall₂_congr |
| 48 | intro z hz |
| 49 | constructor |
| 50 | · rintro ⟨V, a, ⟨s, b, c, hb, rfl⟩, hV⟩ |
| 51 | exact ⟨s, b, hb, (leOfHom c) hV⟩ |
| 52 | · rintro ⟨s, a, ha, hs⟩ |
| 53 | exact ⟨(PrincipalOpens.Category.toOpens R).obj s, (PrincipalOpens.Category.toOpens R).map a, |
| 54 | ⟨s, a, 𝟙 _, ha, Subsingleton.elim _ _⟩, hs⟩ |
| 55 | |
| 56 | variable (A : Type v) [Category.{w} A] |
| 57 | [∀ V : (Opens (PrimeSpectrum R))ᵒᵖ, HasLimitsOfShape (StructuredArrow V (PrincipalOpens.Category.toOpens R).op) A] |
| 58 | |
| 59 | /-- Actual Zariski sheaves can be computed on the principal-open category. -/ |
| 60 | def sheafEquiv : Sheaf (topology R) A ≌ Sheaf (Opens.grothendieckTopology (PrimeSpectrum R)) A := |
| 61 | (PrincipalOpens.Category.toOpens R).sheafInducedTopologyEquivOfIsCoverDense _ _ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.Topology |