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.Resolution.Blowups.Blowup.Iteration |
| 2 | |
| 3 | /-! # Inverse Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Open.InverseRestriction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual open inverse identifies the whole specified restriction as an isomorphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem isIso_restrict_of_open_inverse |
| 16 | {Y X : Scheme.{u}} (π : Y ⟶ X) (U : X.Opens) (j : U.toScheme ⟶ Y) [IsOpenImmersion j] |
| 17 | (hfac : j ≫ π = U.ι) (hrange : j.opensRange = π ⁻¹ᵁ U) : IsIso (π ∣_ U) := by |
| 18 | have hr : Set.range j = Set.range (π ⁻¹ᵁ U).ι := by |
| 19 | rw [Scheme.Opens.range_ι] |
| 20 | exact congrArg (fun V : Y.Opens => (V : Set Y)) hrange |
| 21 | let e := IsOpenImmersion.isoOfRangeEq j (π ⁻¹ᵁ U).ι hr |
| 22 | have he : e.hom ≫ (π ∣_ U) = 𝟙 U.toScheme := by |
| 23 | apply (cancel_mono U.ι).mp |
| 24 | rw [Category.assoc, morphismRestrict_ι, ← Category.assoc, |
| 25 | IsOpenImmersion.isoOfRangeEq_hom_fac, hfac, Category.id_comp] |
| 26 | refine ⟨e.hom, ?_, he⟩ |
| 27 | apply (cancel_epi e.hom).mp |
| 28 | rw [← Category.assoc, he, Category.id_comp, Category.comp_id] |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.Resolution.Blowups.Open.InverseRestriction.Construction |