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.HilbertScheme.Presentations.StalkIsomorphismFromRestriction |
| 2 | |
| 3 | /-! # Restricted Isomorphism Stalks -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.RestrictedIsomorphismStalks |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting the target commutes with testing a morphism for |
| 10 | isomorphism on local spectra. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X Y T : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) |
| 16 | |
| 17 | theorem isIso_pullback_restrict_iff (g : T ⟶ U.toScheme) : |
| 18 | IsIso (pullback.fst g (f ∣_ U)) ↔ IsIso (pullback.fst (g ≫ U.ι) f) := by |
| 19 | rw [← (isPullback_morphismRestrict f U).isoPullback_hom_fst, |
| 20 | PullbackIsomorphismTransport.isIso_pullback_fst_comp_right_iff, IteratedPullbackIsomorphism.isIso_pullback_fst_iterated_iff] |
| 21 | |
| 22 | theorem isIso_pullback_restrict_stalk_iff (u : U) : |
| 23 | IsIso (pullback.fst (U.toScheme.fromSpecStalk u) (f ∣_ U)) ↔ |
| 24 | IsIso (pullback.fst (Y.fromSpecStalk (U.ι u)) f) := by |
| 25 | rw [isIso_pullback_restrict_iff] |
| 26 | have he : Spec.map (U.ι.stalkMap u) ≫ Y.fromSpecStalk (U.ι u) = |
| 27 | U.toScheme.fromSpecStalk u ≫ U.ι := Scheme.SpecMap_stalkMap_fromSpecStalk U.ι |
| 28 | let : IsIso (U.ι.stalkMap u) := ((IsOpenImmersion.iff_isIso_stalkMap |
| 29 | (X := U.toScheme) (Y := Y) (f := U.ι)).mp |
| 30 | (inferInstanceAs (IsOpenImmersion U.ι))).2 u |
| 31 | let : IsIso (Spec.map (U.ι.stalkMap u)) := inferInstance |
| 32 | rw [← he] |
| 33 | exact OpenPullbackIsomorphismTransport.isIso_pullback_fst_comp_left_iff _ _ _ |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.RestrictedIsomorphismStalks |