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.AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Topology |
| 2 | import Mathlib.RingTheory.Localization.Away.Basic |
| 3 | |
| 4 | /-! # Functions Separation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.FunctionsSeparation.CrystallineFunctionsSeparation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Separation of actual crystalline ambient functions on native covers -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 17 | (X : Over (Spec (CommRingCat.of k))) |
| 18 | |
| 19 | def values : (Site.Object p k X)ᵒᵖ ⥤ Type u := |
| 20 | Site.functions p k X ⋙ forget (ModuleCat.{u} (WittVector p k)) |
| 21 | |
| 22 | def coefficients {Q : Site.Object p k X} (S : Sieve Q) : Set Q.thickening.ring := |
| 23 | {s | S (CrystallinePrincipal.Opens.CrystallinePrincipalOpens.projection p k X Q s)} |
| 24 | |
| 25 | theorem coefficients_span {Q : Site.Object p k X} (S : Sieve Q) |
| 26 | (hS : S ∈ Site.topology p k X Q) : Ideal.span (coefficients p k X S) = ⊤ := by |
| 27 | have hlocal := (CrystallinePrincipal.Topology.CrystallinePrincipalTopology.covering_iff p k X S).mp hS |
| 28 | apply PrimeSpectrum.iSup_basicOpen_eq_top_iff'.mp |
| 29 | apply top_le_iff.mp |
| 30 | intro x _ |
| 31 | obtain ⟨s, hs, hmem⟩ := hlocal x |
| 32 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨s, TopologicalSpace.Opens.mem_iSup.mpr ⟨hmem, hs⟩⟩ |
| 33 | |
| 34 | theorem ext {Q : Site.Object p k X} (S : Sieve Q) |
| 35 | (hS : S ∈ Site.topology p k X Q) (x y : Q.thickening.ring) |
| 36 | (h : ∀ {P : Site.Object p k X} (f : P ⟶ Q), S f → f.ambientMap x = f.ambientMap y) : x = y := by |
| 37 | apply Localization.algebraMap_injective_of_span_eq_top (coefficients p k X S) (coefficients_span p k X S hS) |
| 38 | funext s |
| 39 | exact h (CrystallinePrincipal.Opens.CrystallinePrincipalOpens.projection p k X Q s.val) s.property |
| 40 | |
| 41 | theorem separated {Q : Site.Object p k X} (S : Sieve Q) |
| 42 | (hS : S ∈ Site.topology p k X Q) : Presieve.IsSeparatedFor (values p k X) S.arrows := by |
| 43 | intro z x y hx hy |
| 44 | apply ext p k X S hS x y |
| 45 | intro P f hf |
| 46 | exact (hx f hf).trans (hy f hf).symm |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.FunctionsSeparation.CrystallineFunctionsSeparation |