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.Resolution.Blowups.Etale.CenterDescent |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Finite.OpenIdealSheafUniqueness |
| 3 | |
| 4 | /-! # Comparison Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.ComparisonGluing.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global center gluing from pointed comparisons of the actual local ideals. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | /-- Equality of ideals can be checked on flat comparison charts through |
| 17 | each closed point. Different charts and different comparison maps may be |
| 18 | used at different points. -/ |
| 19 | theorem ideal_eq_of_pointed_flat_comparisons {R : Type u} [CommRing R] (I L : Ideal R) |
| 20 | (h : ∀ (q : Ideal R) (_ : q.IsMaximal), |
| 21 | ∃ (S : Type u) (_ : CommRing S), ∃ f g : R →+* S, |
| 22 | ∃ (Q : Ideal S) (_ : Q.IsPrime), f.Flat ∧ Q.comap f = q ∧ |
| 23 | I.map f = L.map g ∧ L.map f = L.map g) : I = L := by |
| 24 | apply Ideal.eq_of_localization_maximal |
| 25 | intro q hq |
| 26 | let : q.IsMaximal := hq |
| 27 | obtain ⟨S, instS, f, g, Q, hQ, hf, hqQ, hIL, hLL⟩ := h q hq |
| 28 | let : CommRing S := instS |
| 29 | let : Q.IsPrime := hQ |
| 30 | exact Etale.CenterDescent.Construction.flat_map_ideal_equality_at_prime f hf I L q Q hqQ (hIL.trans hLL.symm) |
| 31 | |
| 32 | /-- Pointed flat comparisons on affine opens identify the actual ideal |
| 33 | sheaves, so their closed subschemes agree, including their scheme structures. -/ |
| 34 | theorem idealSheaf_eq_of_pointed_flat_comparisons {X : Scheme.{u}} |
| 35 | (I L : X.IdealSheafData) |
| 36 | (h : ∀ W : X.affineOpens, ∀ (q : Ideal Γ(X, W)) (_ : q.IsMaximal), |
| 37 | ∃ (S : Type u) (_ : CommRing S), ∃ f g : Γ(X, W) →+* S, |
| 38 | ∃ (Q : Ideal S) (_ : Q.IsPrime), f.Flat ∧ Q.comap f = q ∧ |
| 39 | (I.ideal W).map f = (L.ideal W).map g ∧ |
| 40 | (L.ideal W).map f = (L.ideal W).map g) : I = L := by |
| 41 | ext1 |
| 42 | funext W |
| 43 | exact ideal_eq_of_pointed_flat_comparisons (I.ideal W) (L.ideal W) (h W) |
| 44 | |
| 45 | /-- Compatible pointwise comparisons on the pairwise overlaps of a finite |
| 46 | affine cover construct a unique global ideal sheaf. Pairwise equality of the |
| 47 | local ideal sheaves is proved by flat descent, rather than assumed. -/ |
| 48 | theorem existsUnique_idealSheaf_of_pointed_flat_overlap_comparisons |
| 49 | {X : Scheme.{u}} {ι : Type v} [Finite ι] (U : ι → Scheme.{u}) (j : ∀ i, U i ⟶ X) |
| 50 | [∀ i, IsAffine (U i)] [∀ i, IsOpenImmersion (j i)] [∀ i, QuasiCompact (j i)] |
| 51 | (hcover : ⨆ i, (j i).opensRange = ⊤) (J : ∀ i, (U i).IdealSheafData) |
| 52 | (h : ∀ a b : ι, ∀ W : (pullback (j a) (j b)).affineOpens, |
| 53 | ∀ (q : Ideal Γ(pullback (j a) (j b), W)) (_ : q.IsMaximal), |
| 54 | ∃ (S : Type u) (_ : CommRing S), ∃ f g : Γ(pullback (j a) (j b), W) →+* S, |
| 55 | ∃ (Q : Ideal S) (_ : Q.IsPrime), f.Flat ∧ Q.comap f = q ∧ |
| 56 | (((J a).comap (pullback.fst (j a) (j b))).ideal W).map f = |
| 57 | (((J b).comap (pullback.snd (j a) (j b))).ideal W).map g ∧ |
| 58 | (((J b).comap (pullback.snd (j a) (j b))).ideal W).map f = |
| 59 | (((J b).comap (pullback.snd (j a) (j b))).ideal W).map g) : |
| 60 | ∃! I : X.IdealSheafData, ∀ a, I.comap (j a) = J a := by |
| 61 | apply Blowups.Finite.OpenIdealSheafUniqueness.Construction.existsUnique_idealSheaf_of_finite_affine_cover U j hcover J |
| 62 | intro a b |
| 63 | exact idealSheaf_eq_of_pointed_flat_comparisons _ _ (h a b) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.ComparisonGluing.Construction |