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.AbelianScheme.IsogenyQuotient.Noetherian.LocalGlobalFunctions |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.MapStalkDetection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.FunctionsMapRigidity |
| 4 | |
| 5 | /-! # Global Functions -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Noetherian.GlobalFunctions.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Noetherian local constancy extends to a locally Noetherian base |
| 12 | by detection on actual local spectra, retaining all nilpotents. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.FunctionsMapRigidity |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false in |
| 19 | theorem noetherian_affineMap_eq_of_section |
| 20 | {S X Z : Scheme.{0}} [IsLocallyNoetherian S] [IsAffine Z] |
| 21 | (f : X ⟶ S) [IsProper f] [Smooth f] [GeometricallyConnected f] |
| 22 | (σ : S ⟶ X) (hσ : σ ≫ f = 𝟙 _) (g : X ⟶ Z) : g = f ≫ σ ≫ g := by |
| 23 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 24 | apply HilbertScheme.Presentations.MapStalkDetection.schemeHom_eq_of_fromSpecStalk |
| 25 | intro x |
| 26 | have : IsNoetherianRing (S.presheaf.stalk (f x)) := inferInstance |
| 27 | let s := S.fromSpecStalk (f x) |
| 28 | let b := pullback.snd f s |
| 29 | let σ' : Spec (S.presheaf.stalk (f x)) ⟶ pullback f s := |
| 30 | pullback.lift (s ≫ σ) (𝟙 _) (by simp [Category.assoc, hσ]) |
| 31 | have : IsIso b.appTop := LocalGlobalFunctions.Construction.noetherianLocal_globalFunctions_isIso |
| 32 | (R := S.presheaf.stalk (f x)) b σ' (pullback.lift_snd _ _ _) |
| 33 | let τ : Spec (X.presheaf.stalk x) ⟶ pullback f s := |
| 34 | pullback.lift (X.fromSpecStalk x) (Spec.map (f.stalkMap x)) |
| 35 | (Scheme.SpecMap_stalkMap_fromSpecStalk f).symm |
| 36 | have h := congrArg (fun k => τ ≫ k) |
| 37 | (AbelianModuli.HilbertConstruction.Global.FunctionsMapRigidity.affineMap_eq_of_globalFunctions_iso b σ' (pullback.lift_snd _ _ _) (pullback.fst f s ≫ g)) |
| 38 | simpa only [τ, b, σ', s, Category.assoc, pullback.lift_fst_assoc, pullback.lift_snd_assoc, |
| 39 | Scheme.SpecMap_stalkMap_fromSpecStalk_assoc] using h |
| 40 | |
| 41 | set_option backward.isDefEq.respectTransparency false in |
| 42 | theorem noetherian_globalFunctions_isIso |
| 43 | {S X : Scheme.{0}} [IsLocallyNoetherian S] |
| 44 | (f : X ⟶ S) [IsProper f] [Smooth f] [GeometricallyConnected f] |
| 45 | (σ : S ⟶ X) (hσ : σ ≫ f = 𝟙 _) : IsIso f.appTop := by |
| 46 | have h := congrArg Scheme.Hom.appTop (noetherian_affineMap_eq_of_section f σ hσ X.toSpecΓ) |
| 47 | rw [Scheme.Hom.comp_appTop, Scheme.Hom.comp_appTop, Scheme.toSpecΓ_appTop] at h |
| 48 | have he : σ.appTop ≫ f.appTop = 𝟙 Γ(X, ⊤) := by |
| 49 | apply (cancel_epi (Scheme.ΓSpecIso Γ(X, ⊤)).hom).mp |
| 50 | simpa only [Category.comp_id, Category.assoc] using h.symm |
| 51 | exact (show Γ(S, ⊤) ≅ Γ(X, ⊤) from { |
| 52 | hom := f.appTop |
| 53 | inv := σ.appTop |
| 54 | hom_inv_id := by rw [← Scheme.Hom.comp_appTop, hσ, Scheme.Hom.id_appTop] |
| 55 | inv_hom_id := he }).isIso_hom |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Noetherian.GlobalFunctions.Construction |