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 Mathlib.AlgebraicGeometry.AffineScheme |
| 2 | |
| 3 | /-! # Iso Spec Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.IsoSpecSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical affine isomorphism induces the original spectrum |
| 10 | isomorphism on global sections, with no choice of coordinates. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem affineIsoSpec_inv_appTop (X : Scheme.{0}) [IsAffine X] : |
| 15 | X.isoSpec.inv.appTop = (Scheme.ΓSpecIso Γ(X, ⊤)).inv := by |
| 16 | have h : X.isoSpec.hom.appTop = (Scheme.ΓSpecIso Γ(X, ⊤)).hom := |
| 17 | Scheme.toSpecΓ_appTop X |
| 18 | apply (cancel_epi (Scheme.ΓSpecIso Γ(X, ⊤)).hom).mp |
| 19 | rw [← h, ← Scheme.Hom.comp_appTop, X.isoSpec.inv_hom_id, Scheme.Hom.id_appTop, |
| 20 | h, Iso.hom_inv_id] |
| 21 | |
| 22 | theorem openInclusionTopSectionIso (X : Scheme.{0}) (U : X.Opens) : |
| 23 | (IsOpenImmersion.ΓIsoTop U.ι).hom ≫ |
| 24 | X.presheaf.map (eqToHom U.opensRange_ι.symm).op = U.topIso.hom := by |
| 25 | have h : (IsOpenImmersion.ΓIsoTop U.ι).inv = |
| 26 | U.ι.appLE U.ι.opensRange ⊤ (by rw [U.ι.preimage_opensRange]) := by |
| 27 | simp only [IsOpenImmersion.ΓIsoTop, Iso.trans_inv, Functor.mapIso_inv, Iso.op_inv, |
| 28 | eqToIso.inv, Iso.symm_inv, Scheme.Hom.appIso_hom', Scheme.Hom.map_appLE] |
| 29 | apply (cancel_epi (IsOpenImmersion.ΓIsoTop U.ι).inv).mp |
| 30 | rw [Iso.inv_hom_id_assoc, h, Scheme.Opens.ι_appLE, Scheme.Opens.topIso_hom] |
| 31 | exact (congrArg X.presheaf.map (Subsingleton.elim _ _)).trans (X.presheaf.map_comp _ _) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.IsoSpecSections |