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.Global.FunctionsLocalRingCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.GlobalFunctions |
| 3 | |
| 4 | /-! # Global Functions Local Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.GlobalFunctionsLocalCriterion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global-function constancy on all local-ring tests implies constancy on every Cartesian base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem universal_globalFunctions_isIso_of_localRingConstants |
| 17 | {X S T Y : Scheme.{u}} (p : X ⟶ S) (x : S ⟶ X) (hx : x ≫ p = 𝟙 _) |
| 18 | (h : ∀ (A : Type u) [CommRing A] [IsLocalRing A] (c : Spec (.of A) ⟶ S), |
| 19 | IsIso (pullback.snd p c).appTop) |
| 20 | {a : Y ⟶ X} {b : Y ⟶ T} {c : T ⟶ S} (H : IsPullback a b p c) : |
| 21 | IsIso b.appTop := by |
| 22 | let σ := PointedFamilyFiberConnectedness.schemeSectionBaseChange p x hx c ≫ H.isoPullback.inv |
| 23 | have hσ : σ ≫ b = 𝟙 _ := |
| 24 | (Category.assoc _ _ _).trans |
| 25 | ((congrArg (fun f => PointedFamilyFiberConnectedness.schemeSectionBaseChange p x hx c ≫ f) H.isoPullback_inv_snd).trans |
| 26 | (PointedFamilyFiberConnectedness.schemeSectionBaseChange_section p x hx c)) |
| 27 | apply Global.FunctionsLocalRingCriterion.globalFunctions_isIso_of_localRingConstants b σ hσ |
| 28 | intro A _ _ s |
| 29 | have H' : IsPullback (pullback.fst b s ≫ a) (pullback.snd b s) p (s ≫ c) := |
| 30 | (IsPullback.of_hasPullback b s).paste_horiz H |
| 31 | exact (Cartesian.GlobalFunctions.cartesian_globalFunctions_isIso_iff H').mpr (h A (s ≫ c)) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.GlobalFunctionsLocalCriterion |