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 Mathlib.AlgebraicGeometry.IdealSheaf.Basic |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 3 | |
| 4 | /-! # Section Ideal Punctured Cover -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealPuncturedCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equations for an actual ideal sheaf give the principal cover |
| 11 | of its punctured affine neighborhood and the required excision cover. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u v |
| 16 | variable {X : Scheme.{u}} (I : X.IdealSheafData) (U : X.Opens) (hU : IsAffineOpen U) |
| 17 | {ι : Type v} (a : ι → Γ(X, U)) (ha : Ideal.span (Set.range a) = I.ideal ⟨U, hU⟩) |
| 18 | |
| 19 | def outside : X.Opens := ⟨(I.support : Set X)ᶜ, I.support.isClosed.isOpen_compl⟩ |
| 20 | |
| 21 | include ha in |
| 22 | theorem cover : U ⊓ outside I = ⨆ i, X.basicOpen (a i) := by |
| 23 | classical |
| 24 | apply le_antisymm |
| 25 | · intro x hx |
| 26 | obtain ⟨hxU, hxI⟩ := hx |
| 27 | apply Opens.mem_iSup.mpr |
| 28 | by_contra! h |
| 29 | apply hxI |
| 30 | apply (Scheme.IdealSheafData.mem_support_iff_of_mem (I := I) (U := ⟨U, hU⟩) hxU).2 |
| 31 | rw [← ha, Scheme.zeroLocus_span] |
| 32 | apply (X.mem_zeroLocus_iff _ x).2 |
| 33 | rintro _ ⟨i, rfl⟩ |
| 34 | exact h i |
| 35 | · intro x hx |
| 36 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hx |
| 37 | have hxU := X.basicOpen_le (a i) hi |
| 38 | refine ⟨hxU, ?_⟩ |
| 39 | intro hxI |
| 40 | have hz := (Scheme.IdealSheafData.mem_support_iff_of_mem (I := I) (U := ⟨U, hU⟩) hxU).1 hxI |
| 41 | rw [← ha, Scheme.zeroLocus_span] at hz |
| 42 | exact (X.mem_zeroLocus_iff _ x).1 hz (a i) (Set.mem_range_self i) hi |
| 43 | |
| 44 | include ha in |
| 45 | theorem basicOpen_le (i : ι) : X.basicOpen (a i) ≤ outside I := |
| 46 | (le_iSup (fun j => X.basicOpen (a j)) i).trans |
| 47 | ((cover I U hU a ha).symm.le.trans inf_le_right) |
| 48 | |
| 49 | theorem global (hI : (I.support : Set X) ⊆ U) : U ⊔ outside I = ⊤ := by |
| 50 | classical |
| 51 | ext x |
| 52 | change (x ∈ U ∨ x ∉ I.support) ↔ True |
| 53 | constructor |
| 54 | · intro _ |
| 55 | trivial |
| 56 | · intro _ |
| 57 | by_cases hx : x ∈ U |
| 58 | · exact Or.inl hx |
| 59 | · exact Or.inr (fun h => hx (hI h)) |
| 60 | |
| 61 | variable {T : Scheme.{u}} (s : T ⟶ X) [IsClosedImmersion s] |
| 62 | |
| 63 | theorem section_global (h : ⊤ ≤ s ⁻¹ᵁ U) : U ⊔ outside s.ker = ⊤ := by |
| 64 | apply global s.ker U |
| 65 | intro x hx |
| 66 | rw [Scheme.Hom.support_ker, s.isClosedEmbedding.isClosed_range.closure_eq] at hx |
| 67 | obtain ⟨t, rfl⟩ := hx |
| 68 | exact h (by trivial) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealPuncturedCover |