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.AbelianModuli.HilbertConstruction.ReducedComponentFiniteness |
| 2 | |
| 3 | /-! # Component Constant Finite Image -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ComponentConstantFiniteImage |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Constancy on every reduced irreducible component gives a finite underlying image for a morphism from a noetherian scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {K : Type u} [Field K] {X Y : Scheme.{u}} [IsNoetherian X] |
| 16 | |
| 17 | theorem finite_range_of_constant_reduced_components (p : X ⟶ Spec (.of K)) (f : X ⟶ Y) |
| 18 | (h : ∀ (C : Set X) (hC : C ∈ irreducibleComponents X), |
| 19 | ∃ a : Spec (.of K) ⟶ Y, |
| 20 | (ReducedClosedSubschemes.reducedClosedInclusion X ⟨C, isClosed_of_mem_irreducibleComponents C hC⟩ ≫ p) ≫ a = |
| 21 | ReducedClosedSubschemes.reducedClosedInclusion X ⟨C, isClosed_of_mem_irreducibleComponents C hC⟩ ≫ f) : |
| 22 | (Set.range f).Finite := by |
| 23 | have himg (C : Set X) (hC : C ∈ irreducibleComponents X) : (f '' C).Finite := by |
| 24 | let Z : TopologicalSpace.Closeds X := ⟨C, isClosed_of_mem_irreducibleComponents C hC⟩ |
| 25 | let i := ReducedClosedSubschemes.reducedClosedInclusion X Z |
| 26 | obtain ⟨a, ha⟩ := h C hC |
| 27 | apply (Set.finite_range a).subset |
| 28 | rintro y ⟨x, hx, rfl⟩ |
| 29 | have hi : x ∈ Set.range i := (ReducedClosedSubschemes.reducedClosedInclusion_range X Z).symm ▸ hx |
| 30 | obtain ⟨w, hw⟩ := hi |
| 31 | refine ⟨(i ≫ p) w, ?_⟩ |
| 32 | have hv := congrArg (fun b : ReducedClosedSubschemes.reducedClosedSubscheme X Z ⟶ Y => b w) ha |
| 33 | change a ((i ≫ p) w) = f (i w) at hv |
| 34 | exact hv.trans (congrArg f hw) |
| 35 | rw [← Set.image_univ, ← sUnion_irreducibleComponents (X := X), Set.image_sUnion, Set.sUnion_image] |
| 36 | exact TopologicalSpace.NoetherianSpace.finite_irreducibleComponents.biUnion himg |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ComponentConstantFiniteImage |