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 Mathlib.AlgebraicGeometry.AffineScheme |
| 2 | import Mathlib.RingTheory.Localization.Basic |
| 3 | |
| 4 | /-! # Field Base Stalk -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.FieldBaseStalk.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On the spectrum of a field, the actual germ of global sections is |
| 11 | an isomorphism, proved from the native affine-stalk localization. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | theorem fieldBase_germ_isIso (K : Type) [Field K] (x : Spec (CommRingCat.of K)) : |
| 19 | IsIso ((Spec (CommRingCat.of K)).presheaf.germ ⊤ x (by trivial)) := by |
| 20 | let X := Spec (CommRingCat.of K) |
| 21 | let z : (⊤ : X.Opens) := ⟨x, by trivial⟩ |
| 22 | let := X.presheaf.algebra_section_stalk z |
| 23 | let P := (isAffineOpen_top X).primeIdealOf z |
| 24 | let : IsLocalization.AtPrime (X.presheaf.stalk x) P.asIdeal := |
| 25 | (isAffineOpen_top X).isLocalization_stalk z |
| 26 | let e : Γ(X, ⊤) ≃+* K := (Scheme.ΓSpecIso (CommRingCat.of K)).commRingCatIsoToRingEquiv |
| 27 | have hU : P.asIdeal.primeCompl ≤ IsUnit.submonoid Γ(X, ⊤) := by |
| 28 | intro a ha |
| 29 | have ha0 : a ≠ 0 := by |
| 30 | intro h |
| 31 | exact ha (h ▸ P.asIdeal.zero_mem) |
| 32 | have he0 : e a ≠ 0 := by |
| 33 | intro h |
| 34 | exact ha0 (e.injective (h.trans e.map_zero.symm)) |
| 35 | have hu := (isUnit_iff_ne_zero.mpr he0).map e.symm.toRingHom |
| 36 | simp only [RingEquiv.toRingHom_eq_coe, RingEquiv.coe_toRingHom, RingEquiv.symm_apply_apply] at hu |
| 37 | exact hu |
| 38 | let l := IsLocalization.atUnits Γ(X, ⊤) P.asIdeal.primeCompl (S := X.presheaf.stalk x) hU |
| 39 | exact (ConcreteCategory.isIso_iff_bijective _).mpr l.bijective |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.CycleClass.Thom.FieldBaseStalk.Constructions |