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.PELModuli.IntegralModel.NoetherianVerticalImage |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.BaseFunctorRepresentation |
| 3 | import OAI.AlgebraicGeometry.Albanese.Construction.ReducedFactor |
| 4 | |
| 5 | /-! # Noetherian Generic Closed Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.NoetherianGenericClosedLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A closed condition holding on the generic fiber holds uniformly |
| 12 | after localization on a reduced noetherian parameter scheme. The resulting |
| 13 | factorization persists on arbitrary tests, including nonreduced tests. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem noetherian_generic_closed_locus_away |
| 18 | {R : Type} [CommRing R] [IsDomain R] {X : Scheme.{0}} [IsNoetherian X] |
| 19 | (p : X ⟶ Spec (.of R)) (C : Set X) (hC : IsClosed C) |
| 20 | (hgeneric : ∀ x : X, (p x).asIdeal = ⊥ → x ∈ C) : |
| 21 | ∃ r : R, r ≠ 0 ∧ ∀ x : X, r ∉ (p x).asIdeal → x ∈ C := by |
| 22 | let U : X.Opens := ⟨Cᶜ, hC.isOpen_compl⟩ |
| 23 | have : CompactSpace U.toScheme := QuasiCompact.compactSpace_of_compactSpace U.ι |
| 24 | have : IsNoetherian U.toScheme := ⟨⟩ |
| 25 | obtain ⟨r, hr, hu⟩ := NoetherianVerticalImage.noetherian_vertical_image_annihilator (U.ι ≫ p) |
| 26 | (fun x hx => x.property (hgeneric x.val hx)) |
| 27 | refine ⟨r, hr, fun x hx => ?_⟩ |
| 28 | by_contra hn |
| 29 | exact hx (hu (⟨x, hn⟩ : U.toScheme)) |
| 30 | |
| 31 | theorem noetherian_generic_closed_factorization_away |
| 32 | {R : Type} [CommRing R] [IsDomain R] {X Y : Scheme.{0}} |
| 33 | [IsNoetherian X] [IsReduced X] (p : X ⟶ Spec (.of R)) |
| 34 | (i : Y ⟶ X) [IsClosedImmersion i] |
| 35 | (hgeneric : ∀ x : X, (p x).asIdeal = ⊥ → x ∈ Set.range i) : |
| 36 | ∃ r : R, r ≠ 0 ∧ ∀ {T : Scheme.{0}} (t : T ⟶ X), |
| 37 | (∀ x : T, r ∉ (p (t x)).asIdeal) → ∃! q : T ⟶ Y, q ≫ i = t := by |
| 38 | obtain ⟨r, hr, hs⟩ := noetherian_generic_closed_locus_away p (Set.range i) |
| 39 | i.isClosedEmbedding.isClosed_range hgeneric |
| 40 | let U : X.Opens := p ⁻¹ᵁ PrimeSpectrum.basicOpen r |
| 41 | have hU : Set.range U.ι ⊆ Set.range i := by |
| 42 | rw [Scheme.Opens.range_ι] |
| 43 | exact fun x hx => hs x hx |
| 44 | let u := Albanese.Construction.ReducedFactor.factorThroughClosed i U.ι hU |
| 45 | have hu : u ≫ i = U.ι := Albanese.Construction.ReducedFactor.factorThroughClosed_comp i U.ι hU |
| 46 | refine ⟨r, hr, fun t ht => ?_⟩ |
| 47 | let a := Open.BaseFunctorRepresentation.OpenBaseTest.lift U (Over.mk t) ht |
| 48 | have ha : a ≫ U.ι = t := Open.BaseFunctorRepresentation.OpenBaseTest.lift_ι U (Over.mk t) ht |
| 49 | have hq : (a ≫ u) ≫ i = t := (Category.assoc _ _ _).trans |
| 50 | ((congrArg (a ≫ ·) hu).trans ha) |
| 51 | exact ⟨a ≫ u, hq, fun q h => (cancel_mono i).mp (h.trans hq.symm)⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.NoetherianGenericClosedLocus |