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.Constant.HomFiberDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.GroupObjects |
| 3 | |
| 4 | /-! # Hom Fiber Faithfulness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A single field-valued fiber distinguishes homomorphisms of constant abelian families. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K F : Type u} [Field K] [Field F] {g h : ℕ} {T : Scheme.{u}} |
| 18 | variable (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (B : Abelian.Schemes.AbelianScheme h (Spec (.of K))) |
| 19 | variable (t : T ⟶ Spec (.of K)) [PreconnectedSpace T] (s : Spec (.of F) ⟶ T) |
| 20 | |
| 21 | theorem Abelian.Schemes.AbelianScheme.pullback_hom_eq_of_field_fiber |
| 22 | (f q : (A.pullback t).scheme ⟶ (B.pullback t).scheme) [IsMonHom f] [IsMonHom q] |
| 23 | (hfq : (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 24 | have : IsMonHom (f / q) := by |
| 25 | let d : (A.pullback t).groupObject ⟶ (B.pullback t).groupObject := Grp.homMk f / Grp.homMk q |
| 26 | exact inferInstanceAs (IsMonHom d.hom.hom) |
| 27 | apply div_eq_one.mp |
| 28 | apply A.pullback_hom_eq_one_of_field_fiber B t (f / q) s |
| 29 | rw [div_eq_mul_inv, Functor.map_mul, Functor.map_inv', hfq, mul_inv_cancel] |
| 30 | |
| 31 | theorem Abelian.Schemes.AbelianScheme.pullback_groupHom_field_fiber_injective : |
| 32 | Function.Injective (fun f : (A.pullback t).groupObject ⟶ (B.pullback t).groupObject => |
| 33 | (Over.pullback s).map f.hom.hom) := by |
| 34 | intro f q hfq |
| 35 | exact Grp.hom_ext _ _ (A.pullback_hom_eq_of_field_fiber B t s f.hom.hom q.hom.hom hfq) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |