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.Albanese.Construction.ReducedFactor |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Immersion |
| 3 | |
| 4 | /-! # Immersion Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.ImmersionFactorization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On every reduced test scheme, an actual locally closed immersion |
| 11 | is detected by its underlying pointwise image. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem existsUnique_lift_immersion_of_range_subset |
| 16 | {X Y Z : Scheme} (i : X ⟶ Z) [IsImmersion i] (f : Y ⟶ Z) [IsReduced Y] |
| 17 | (h : Set.range f ⊆ Set.range i) : ∃! g : Y ⟶ X, g ≫ i = f := by |
| 18 | let u := i.coborderRange.ι |
| 19 | have hu : Set.range f ⊆ Set.range u := by |
| 20 | rintro _ ⟨y, rfl⟩ |
| 21 | obtain ⟨x, hx⟩ := h ⟨y, rfl⟩ |
| 22 | refine ⟨i.liftCoborder x, ?_⟩ |
| 23 | exact (congrArg (fun q => q x) i.liftCoborder_ι).trans hx |
| 24 | let l := IsOpenImmersion.lift u f hu |
| 25 | have hl : l ≫ u = f := IsOpenImmersion.lift_fac u f hu |
| 26 | have hr : Set.range l ⊆ Set.range i.liftCoborder := by |
| 27 | rintro _ ⟨y, rfl⟩ |
| 28 | obtain ⟨x, hx⟩ := h ⟨y, rfl⟩ |
| 29 | refine ⟨x, ?_⟩ |
| 30 | apply u.isOpenEmbedding.injective |
| 31 | exact (congrArg (fun q => q x) i.liftCoborder_ι).trans |
| 32 | (hx.trans (congrArg (fun q => q y) hl).symm) |
| 33 | let g := Albanese.Construction.ReducedFactor.factorThroughClosed i.liftCoborder l hr |
| 34 | have hg : g ≫ i = f := by |
| 35 | rw [← i.liftCoborder_ι, ← Category.assoc, Albanese.Construction.ReducedFactor.factorThroughClosed_comp] |
| 36 | exact hl |
| 37 | exact ⟨g, hg, fun q hq => (cancel_mono i).mp (hq.trans hg.symm)⟩ |
| 38 | |
| 39 | theorem reduced_immersion_lift_iff_range |
| 40 | {X Y Z : Scheme} (i : X ⟶ Z) [IsImmersion i] (f : Y ⟶ Z) [IsReduced Y] : |
| 41 | (∃! g : Y ⟶ X, g ≫ i = f) ↔ Set.range f ⊆ Set.range i := by |
| 42 | constructor |
| 43 | · rintro ⟨g, hg, _⟩ _ ⟨y, rfl⟩ |
| 44 | exact ⟨g y, congrArg (fun q => q y) hg⟩ |
| 45 | · exact existsUnique_lift_immersion_of_range_subset i f |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.ImmersionFactorization |