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.ConstantScheme.OpenFunctions |
| 2 | |
| 3 | /-! # Open Coefficients -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.OpenCoefficients |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The open-set constant-scheme coordinates respect the actual coefficient functions from the base open. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | variable (S : Scheme.{u}) (I : Type u) (U : S.Opens) |
| 13 | |
| 14 | theorem constantSchemeOpenIso_over : |
| 15 | (OpenFunctions.constantSchemeOpenIso S I U).hom ≫ ((Iff.constantScheme S I).hom ∣_ U) = |
| 16 | (Iff.constantScheme U.toScheme I).hom := |
| 17 | (Category.assoc _ _ _).trans |
| 18 | ((congrArg (fun k => (Constant.BaseChange.constantSchemeBaseChangeIso U.ι I).hom.left ≫ k) |
| 19 | (isPullback_morphismRestrict (Iff.constantScheme S I).hom U).flip.isoPullback_inv_snd).trans |
| 20 | (Constant.BaseChange.constantSchemeBaseChangeIso U.ι I).hom.w) |
| 21 | |
| 22 | theorem morphismRestrict_appTop_coefficient {X Y : Scheme.{u}} (f : X ⟶ Y) (V : Y.Opens) : |
| 23 | f.app V ≫ (f ⁻¹ᵁ V).topIso.inv = V.topIso.inv ≫ (f ∣_ V).appTop := by |
| 24 | have h := (arrowResLEAppIso f V (f ⁻¹ᵁ V) le_rfl).inv.w.symm |
| 25 | change f.appLE V (f ⁻¹ᵁ V) le_rfl ≫ (f ⁻¹ᵁ V).topIso.inv = |
| 26 | V.topIso.inv ≫ (f.resLE V (f ⁻¹ᵁ V) le_rfl).appTop at h |
| 27 | rw [Scheme.Hom.appLE_eq_app, Scheme.Hom.resLE_eq_morphismRestrict] at h |
| 28 | exact h |
| 29 | |
| 30 | theorem constantSchemeOpenRingIso_structure (r : Γ(S, U)) (i : I) : |
| 31 | (OpenFunctions.constantSchemeOpenRingIso S I U).hom ((Iff.constantScheme S I).hom.app U r) i = U.topIso.inv r := by |
| 32 | let p := (Iff.constantScheme S I).hom |
| 33 | let e := OpenFunctions.constantSchemeOpenIso S I U |
| 34 | have he : (p ∣_ U).appTop ≫ e.hom.appTop = (Iff.constantScheme U.toScheme I).hom.appTop := |
| 35 | (Scheme.Hom.comp_appTop _ _).symm.trans |
| 36 | (congrArg (fun f : (Iff.constantScheme U.toScheme I).left ⟶ U.toScheme => f.appTop) |
| 37 | (constantSchemeOpenIso_over S I U)) |
| 38 | have hc : p.app U ≫ (p ⁻¹ᵁ U).topIso.inv ≫ e.hom.appTop = |
| 39 | U.topIso.inv ≫ (Iff.constantScheme U.toScheme I).hom.appTop := |
| 40 | (Category.assoc _ _ _).symm.trans |
| 41 | ((congrArg (fun k => k ≫ e.hom.appTop) (morphismRestrict_appTop_coefficient p U)).trans |
| 42 | ((Category.assoc _ _ _).trans (congrArg (fun k => U.topIso.inv ≫ k) he))) |
| 43 | exact (congrArg (fun z : Γ((Iff.constantScheme U.toScheme I).left, ⊤) => |
| 44 | (GlobalFunctions.constantSchemeGlobalRingIso U.toScheme I).hom z i) (ConcreteCategory.congr_hom hc r)).trans |
| 45 | (FunctionCoordinates.constantSchemeGlobalRingIso_structure U.toScheme I (U.topIso.inv r) i) |
| 46 | |
| 47 | def constantSchemeSectionRingEquiv : |
| 48 | Γ((Iff.constantScheme S I).left, (Iff.constantScheme S I).hom ⁻¹ᵁ U) ≃+* (I → Γ(S, U)) := |
| 49 | (OpenFunctions.constantSchemeOpenRingIso S I U).commRingCatIsoToRingEquiv.trans |
| 50 | (RingEquiv.piCongrRight (fun _ : I => U.topIso.commRingCatIsoToRingEquiv)) |
| 51 | |
| 52 | theorem constantSchemeSectionRingEquiv_structure (r : Γ(S, U)) (i : I) : |
| 53 | constantSchemeSectionRingEquiv S I U ((Iff.constantScheme S I).hom.app U r) i = r := |
| 54 | (congrArg (fun z => U.topIso.hom z) (constantSchemeOpenRingIso_structure S I U r i)).trans |
| 55 | (ConcreteCategory.congr_hom U.topIso.inv_hom_id r) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.OpenCoefficients |