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.Noetherian |
| 2 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 3 | import Mathlib.RingTheory.Ideal.Operations |
| 4 | import Mathlib.Topology.Sober |
| 5 | |
| 6 | /-! # Noetherian Vertical Image -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.NoetherianVerticalImage |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! A noetherian scheme whose image misses the generic point of a |
| 15 | domain is supported over one nonzero equation on the base. The equation |
| 16 | is the product of witnesses at the finitely many component generic points. -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | theorem noetherian_vertical_image_annihilator |
| 21 | {R : Type} [CommRing R] [IsDomain R] {X : Scheme.{0}} [IsNoetherian X] |
| 22 | (f : X ⟶ Spec (.of R)) (h : ∀ x : X, (f x).asIdeal ≠ ⊥) : |
| 23 | ∃ r : R, r ≠ 0 ∧ ∀ x : X, r ∈ (f x).asIdeal := by |
| 24 | classical |
| 25 | let I := irreducibleComponents X |
| 26 | have : Finite I := NoetherianSpace.finite_irreducibleComponents.to_subtype |
| 27 | let : Fintype I := Fintype.ofFinite I |
| 28 | let p (i : I) : X := i.property.1.genericPoint |
| 29 | choose a ha hn using fun i : I => ((f (p i)).asIdeal.ne_bot_iff).mp (h (p i)) |
| 30 | refine ⟨∏ i, a i, Finset.prod_ne_zero_iff.mpr (fun i _ => hn i), ?_⟩ |
| 31 | intro x |
| 32 | let i : I := ⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩ |
| 33 | have hx : x ∈ i.val := mem_irreducibleComponent |
| 34 | have hp : p i ⤳ x := |
| 35 | (i.property.1.isGenericPoint_genericPoint (isClosed_of_mem_irreducibleComponents _ i.property)).specializes hx |
| 36 | have hf : (f (p i)).asIdeal ≤ (f x).asIdeal := |
| 37 | (PrimeSpectrum.le_iff_specializes _ _).mpr (hp.map f.continuous) |
| 38 | exact (f x).asIdeal.mem_of_dvd (Finset.dvd_prod_of_mem a (Finset.mem_univ i)) (hf (ha i)) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | section |
| 43 | |
| 44 | /-! The finite generic-point argument for a vertical locus also applies |
| 45 | to noetherian sober closed subspaces, without choosing a closed scheme model. -/ |
| 46 | |
| 47 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 48 | |
| 49 | theorem noetherian_topological_vertical_annihilator |
| 50 | {R : Type} [CommRing R] [IsDomain R] |
| 51 | {X : Type} [TopologicalSpace X] [NoetherianSpace X] [QuasiSober X] |
| 52 | (f : X → PrimeSpectrum R) (hf : Continuous f) (h : ∀ x : X, (f x).asIdeal ≠ ⊥) : |
| 53 | ∃ r : R, r ≠ 0 ∧ ∀ x : X, r ∈ (f x).asIdeal := by |
| 54 | classical |
| 55 | let I := irreducibleComponents X |
| 56 | have : Finite I := NoetherianSpace.finite_irreducibleComponents.to_subtype |
| 57 | let : Fintype I := Fintype.ofFinite I |
| 58 | let p (i : I) : X := i.property.1.genericPoint |
| 59 | choose a ha hn using fun i : I => ((f (p i)).asIdeal.ne_bot_iff).mp (h (p i)) |
| 60 | refine ⟨∏ i, a i, Finset.prod_ne_zero_iff.mpr (fun i _ => hn i), ?_⟩ |
| 61 | intro x |
| 62 | let i : I := ⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩ |
| 63 | have hx : x ∈ i.val := mem_irreducibleComponent |
| 64 | have hp : p i ⤳ x := |
| 65 | (i.property.1.isGenericPoint_genericPoint (isClosed_of_mem_irreducibleComponents _ i.property)).specializes hx |
| 66 | have hi : (f (p i)).asIdeal ≤ (f x).asIdeal := |
| 67 | (PrimeSpectrum.le_iff_specializes _ _).mpr (hp.map hf) |
| 68 | exact (f x).asIdeal.mem_of_dvd (Finset.dvd_prod_of_mem a (Finset.mem_univ i)) (hi (ha i)) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | /-! An open containing the complete generic fiber contains every |
| 73 | fiber after inverting one nonzero coefficient. -/ |
| 74 | |
| 75 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 76 | |
| 77 | theorem noetherian_generic_open_locus_away |
| 78 | {R : Type} [CommRing R] [IsDomain R] {X : Scheme.{0}} [IsNoetherian X] |
| 79 | (p : X ⟶ Spec (.of R)) (U : X.Opens) |
| 80 | (hgeneric : ∀ x : X, (p x).asIdeal = ⊥ → x ∈ U) : |
| 81 | ∃ r : R, r ≠ 0 ∧ ∀ x : X, r ∉ (p x).asIdeal → x ∈ U := by |
| 82 | let C : Set X := (U : Set X)ᶜ |
| 83 | have : QuasiSober C := U.isOpen.isClosed_compl.isClosedEmbedding_subtypeVal.quasiSober |
| 84 | obtain ⟨r, hr, hC⟩ := noetherian_topological_vertical_annihilator |
| 85 | (fun x : C => p x.val) (p.continuous.comp continuous_subtype_val) |
| 86 | (fun x hx => x.property (hgeneric x.val hx)) |
| 87 | refine ⟨r, hr, fun x hx => ?_⟩ |
| 88 | by_contra hn |
| 89 | exact hx (hC ⟨x, hn⟩) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.NoetherianVerticalImage |