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.Proper.IntegralAffineMaps |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RangeCriterion |
| 3 | |
| 4 | /-! # Affine Range Constants -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.AffineRangeConstants |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A map from a proper integral scheme over an algebraically closed field is constant when its image lies in one affine open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] [IsAlgClosed K] {X Y : Scheme.{u}} |
| 17 | |
| 18 | theorem properIntegral_map_constant_of_affine_range (p : X ⟶ Spec (.of K)) |
| 19 | [IsIntegral X] [UniversallyClosed p] (f : X ⟶ Y) (U : Y.Opens) (hU : IsAffineOpen U) |
| 20 | (hf : f ⁻¹ᵁ U = ⊤) : ∃ a : Spec (.of K) ⟶ Y, p ≫ a = f := by |
| 21 | have hr : Set.range f ⊆ Set.range U.ι := by |
| 22 | rw [Scheme.Opens.range_ι] |
| 23 | exact (Open.RangeCriterion.range_subset_open_iff_preimage_eq_top f U).mpr hf |
| 24 | let q := IsOpenImmersion.lift U.ι f hr |
| 25 | have : IsAffine U.toScheme := hU |
| 26 | obtain ⟨a, ha, _⟩ := IntegralAffineMaps.properIntegral_affineFactorization p q |
| 27 | exact ⟨a ≫ U.ι, (Category.assoc _ _ _).symm.trans |
| 28 | ((congrArg (fun b => b ≫ U.ι) ha).trans (IsOpenImmersion.lift_fac _ _ _))⟩ |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.AffineRangeConstants |