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.TorsionQuotient.SubgroupFunctor |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 5 | import Mathlib.Algebra.CharZero.Defs |
| 6 | |
| 7 | /-! # Unit -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Unit.Construction |
| 10 | |
| 11 | /-! |
| 12 | Explicit IsogenyQuotient prerequisite propositions. TorsionQuotientInput copies the repaired |
| 13 | Statements/TorsionQuotient.lean specification, including its uliftYoneda conclusion. |
| 14 | The statement theorem itself is not imported or invoked as a proved fact. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | /-- The supplied TorsionQuotient proposition, using its actual torsion and subgroup functor. -/ |
| 23 | def TorsionQuotientInput : Prop := |
| 24 | ∀ {S : Scheme.{u}} (A : Over S) |
| 25 | [GrpObj A] [IsCommMonObj A] |
| 26 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 27 | (m : ℕ) (_hm : 0 < m) |
| 28 | (_hm_unit : ∀ s : S, IsUnit (m : S.presheaf.stalk s)) |
| 29 | (M : Type u) [AddCommGroup M] [Module (ZMod m) M] [Finite M], |
| 30 | IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A m).hom ∧ |
| 31 | Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A m).hom ∧ |
| 32 | ∃ P : Over S, |
| 33 | IsFinite P.hom ∧ Etale P.hom ∧ |
| 34 | Nonempty (uliftYoneda.{u + 1}.obj P ≅ TorsionQuotient.SubgroupFunctor.subgroupChoiceFunctor A m M) |
| 35 | |
| 36 | /-- Every positive integer is invertible on every scheme over a |
| 37 | characteristic-zero field, including on nonreduced test schemes. -/ |
| 38 | theorem positive_integer_unit_on_characteristic_zero_base |
| 39 | {K : Type u} [Field K] [CharZero K] |
| 40 | {S : Scheme.{u}} (s : S ⟶ Spec (CommRingCat.of K)) |
| 41 | (m : ℕ) (hm : 0 < m) (x : S) : IsUnit (m : S.presheaf.stalk x) := by |
| 42 | let constants : K →+* Γ(S, ⊤) := |
| 43 | s.appTop.hom.comp (Scheme.ΓSpecIso (CommRingCat.of K)).inv.hom |
| 44 | let toStalk : K →+* S.presheaf.stalk x := |
| 45 | (S.presheaf.germ ⊤ x (by trivial)).hom.comp constants |
| 46 | have hmK : IsUnit (m : K) := |
| 47 | isUnit_iff_ne_zero.mpr (Nat.cast_ne_zero.mpr (Nat.ne_of_gt hm)) |
| 48 | simpa only [map_natCast] using hmK.map toStalk |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Unit.Construction |