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.DominantOpen |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 3 | |
| 4 | /-! # Open Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.OpenSection.ProperOpenSection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A dense open section of a proper morphism fills the whole inverse image of its base open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem isIso_restrict {X Y : Scheme.{u}} (f : X ⟶ Y) [IsProper f] |
| 17 | (U : Y.Opens) (j : U.toScheme ⟶ X) [IsOpenImmersion j] [IsDominant j] |
| 18 | (hj : j ≫ f = U.ι) : IsIso (f ∣_ U) := by |
| 19 | have hr : Set.range j ⊆ Set.range (f ⁻¹ᵁ U).ι := by |
| 20 | rintro _ ⟨y, rfl⟩ |
| 21 | refine ⟨⟨j y, ?_⟩, rfl⟩ |
| 22 | change f (j y) ∈ U |
| 23 | rw [← Scheme.Hom.comp_apply, hj] |
| 24 | exact y.2 |
| 25 | let b := IsOpenImmersion.lift (f ⁻¹ᵁ U).ι j hr |
| 26 | have hb : b ≫ f ∣_ U = 𝟙 U.toScheme := by |
| 27 | apply (cancel_mono U.ι).mp |
| 28 | rw [Category.assoc, morphismRestrict_ι, ← Category.assoc, |
| 29 | IsOpenImmersion.lift_fac, hj, Category.id_comp] |
| 30 | have : IsDominant b := DominantOpen.DominantOpenLift.dominant_lift _ _ hr |
| 31 | have : IsOpenImmersion b := inferInstance |
| 32 | have : IsProper (b ≫ f ∣_ U) := by rw [hb]; infer_instance |
| 33 | have : IsProper b := IsProper.of_comp b (f ∣_ U) |
| 34 | have : Surjective b := inferInstance |
| 35 | have : Epi b.base := ConcreteCategory.epi_of_surjective _ b.surjective |
| 36 | have : IsIso b := IsOpenImmersion.isIso b |
| 37 | have : IsIso (b ≫ f ∣_ U) := by rw [hb]; infer_instance |
| 38 | exact IsIso.of_isIso_comp_left b (f ∣_ U) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.OpenSection.ProperOpenSection |