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.FormalGeometry.Completion.StalkFlat |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.SchemeTheoreticallyDominant |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite |
| 4 | import Mathlib.AlgebraicGeometry.SpreadingOut |
| 5 | |
| 6 | /-! # Dominant Mono Artinian Stalk -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantMonoArtinianStalk |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A scheme-theoretically dominant monomorphism is an isomorphism |
| 13 | over an Artinian stalk. Its inverse spreads to an actual open neighborhood. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [Mono f] |
| 23 | [LocallyOfFiniteType f] [QuasiCompact f] [IsSchemeTheoreticallyDominant f] |
| 24 | |
| 25 | theorem dominantMono_artinianStalk_isIso (y : Y) [IsArtinianRing (Y.presheaf.stalk y)] : |
| 26 | IsIso (pullback.snd f (Y.fromSpecStalk y)) := by |
| 27 | have : Flat (Y.fromSpecStalk y) := StalkFlat.Construction.scheme_fromSpecStalk_flat Y y |
| 28 | have : IsFinite (pullback.snd f (Y.fromSpecStalk y)) := |
| 29 | IsFinite.of_locallyQuasiFinite _ |
| 30 | have : IsClosedImmersion (pullback.snd f (Y.fromSpecStalk y)) := |
| 31 | (IsClosedImmersion.iff_isFinite_and_mono _).mpr ⟨inferInstance, inferInstance⟩ |
| 32 | exact IsClosedImmersion.isIso_iff_ker_eq_bot.mpr (Scheme.Hom.ker_eq_bot _) |
| 33 | |
| 34 | theorem dominantMono_artinianStalk_hasLift (y : Y) [IsArtinianRing (Y.presheaf.stalk y)] : |
| 35 | ∃ φ : Spec (Y.presheaf.stalk y) ⟶ X, φ ≫ f = Y.fromSpecStalk y := by |
| 36 | have := dominantMono_artinianStalk_isIso f y |
| 37 | refine ⟨inv (pullback.snd f (Y.fromSpecStalk y)) ≫ pullback.fst f (Y.fromSpecStalk y), ?_⟩ |
| 38 | rw [Category.assoc, pullback.condition, IsIso.inv_hom_id_assoc] |
| 39 | |
| 40 | theorem dominantMono_hasLocalSection [IsLocallyNoetherian Y] |
| 41 | (y : Y) [IsArtinianRing (Y.presheaf.stalk y)] : |
| 42 | ∃ (U : Y.Opens), y ∈ U ∧ ∃ j : U.toScheme ⟶ X, j ≫ f = U.ι := by |
| 43 | obtain ⟨φ, hφ⟩ := dominantMono_artinianStalk_hasLift f y |
| 44 | obtain ⟨U, hy, j, _, hj⟩ := spread_out_of_isGermInjective' (𝟙 Y) f φ (by simpa using hφ) |
| 45 | exact ⟨U, hy, j, by simpa using hj⟩ |
| 46 | |
| 47 | end Construction |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantMonoArtinianStalk |