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.Reduction |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.ImmersionFactorization |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | |
| 5 | /-! # Locally Closed Subscheme -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.LocallyClosedSubscheme |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Constructing the reduced induced scheme on an actual locally closed |
| 12 | subset gives its factorization property on all reduced test schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | theorem exists_reduced_immersion_with_range (S : Scheme.{0}) (W : Set S) |
| 17 | (hW : IsLocallyClosed W) : |
| 18 | ∃ (Z : Scheme.{0}) (j : Z ⟶ S), IsReduced Z ∧ IsImmersion j ∧ Set.range j = W := by |
| 19 | obtain ⟨U, F, hU, hF, hUF⟩ := hW |
| 20 | let V : S.Opens := ⟨U, hU⟩ |
| 21 | let K : TopologicalSpace.Closeds V.toScheme := ⟨V.ι ⁻¹' F, hF.preimage V.ι.continuous⟩ |
| 22 | let I := Scheme.IdealSheafData.vanishingIdeal K |
| 23 | let Y : Over S := Over.mk (I.subschemeι ≫ V.ι) |
| 24 | let j : (Reduction.reduction Y).left ⟶ S := (Reduction.reductionι Y).left ≫ Y.hom |
| 25 | have hj : IsImmersion j := by |
| 26 | change IsImmersion ((Reduction.reductionι Y).left ≫ (I.subschemeι ≫ V.ι)) |
| 27 | infer_instance |
| 28 | refine ⟨(Reduction.reduction Y).left, j, inferInstance, hj, ?_⟩ |
| 29 | have hI : Set.range I.subschemeι = V.ι ⁻¹' F := by |
| 30 | rw [Scheme.IdealSheafData.range_subschemeι] |
| 31 | exact Scheme.IdealSheafData.coe_support_vanishingIdeal K |
| 32 | have hred : Set.range j = Set.range Y.hom := by |
| 33 | change Set.range (Y.hom ∘ (Reduction.reductionι Y).left) = _ |
| 34 | rw [Set.range_comp, Reduction.reduction_range, Set.image_univ] |
| 35 | rw [hred] |
| 36 | change Set.range (V.ι ∘ I.subschemeι) = W |
| 37 | rw [Set.range_comp, hI, Set.image_preimage_eq_inter_range] |
| 38 | have hV : Set.range V.ι = U := by |
| 39 | ext x |
| 40 | exact ⟨fun ⟨y, hy⟩ => hy ▸ y.property, fun hx => ⟨⟨x, hx⟩, rfl⟩⟩ |
| 41 | rw [hV, Set.inter_comm] |
| 42 | exact hUF.symm |
| 43 | |
| 44 | theorem exists_reduced_quasicompact_immersion_with_range |
| 45 | (S : Scheme.{0}) [NoetherianSpace S] (W : Set S) (hW : IsLocallyClosed W) : |
| 46 | ∃ (Z : Scheme.{0}) (j : Z ⟶ S), |
| 47 | IsReduced Z ∧ IsImmersion j ∧ QuasiCompact j ∧ Set.range j = W := by |
| 48 | obtain ⟨Z, j, hZ, hj, hr⟩ := exists_reduced_immersion_with_range S W hW |
| 49 | let := hj |
| 50 | let : NoetherianSpace Z := j.isEmbedding.isInducing.noetherianSpace |
| 51 | exact ⟨Z, j, hZ, hj, inferInstance, hr⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.LocallyClosedSubscheme |