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.PointedMapRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.HomFiberDetection |
| 3 | |
| 4 | /-! # Pointed Field Faithfulness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A single field-valued point detects identity-preserving morphisms between constant abelian families on connected test schemes, including nonreduced tests. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem Abelian.Schemes.AbelianScheme.pullback_pointedMap_eq_one_of_field_fiber |
| 18 | {K F : Type u} [Field K] [Field F] {g h : ℕ} {T : Scheme.{u}} |
| 19 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (B : Abelian.Schemes.AbelianScheme h (Spec (.of K))) |
| 20 | (t : T ⟶ Spec (.of K)) [PreconnectedSpace T] |
| 21 | (f : (A.pullback t).scheme ⟶ (B.pullback t).scheme) |
| 22 | (hpoint : η[(A.pullback t).scheme] ≫ f = η[(B.pullback t).scheme]) |
| 23 | (s : Spec (.of F) ⟶ T) (hf : (Over.pullback s).map f = 1) : f = 1 := by |
| 24 | let a : Spec (.of F) ⟶ B.scheme.left := |
| 25 | s ≫ η[(B.pullback t).scheme].left ≫ Limits.pullback.fst B.scheme.hom t |
| 26 | let v : Spec (.of F) := default |
| 27 | apply A.pullback_pointedMap_eq_one_of_constant_fiber B t f hpoint (s v) (a v) |
| 28 | intro z hz |
| 29 | have hr : z ∈ Set.range (Limits.pullback.fst (A.pullback t).scheme.hom s) := by |
| 30 | rw [Scheme.Pullback.range_fst] |
| 31 | exact ⟨v, hz.symm⟩ |
| 32 | obtain ⟨w, rfl⟩ := hr |
| 33 | have H := Abelian.Schemes.AbelianScheme.hom_killed_by_baseChange (A.pullback t) (B.pullback t) s f hf |
| 34 | have he := congrArg (fun q : Limits.pullback (A.pullback t).scheme.hom s ⟶ |
| 35 | (B.pullback t).scheme.left => q w) H |
| 36 | exact (congrArg (fun b => Limits.pullback.fst B.scheme.hom t b) he).trans |
| 37 | (congrArg a (Subsingleton.elim (Limits.pullback.snd (A.pullback t).scheme.hom s w) v)) |
| 38 | |
| 39 | theorem Abelian.Schemes.AbelianScheme.pullback_pointedMaps_eq_of_field_fiber |
| 40 | {K F : Type u} [Field K] [Field F] {g h : ℕ} {T : Scheme.{u}} |
| 41 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (B : Abelian.Schemes.AbelianScheme h (Spec (.of K))) |
| 42 | (t : T ⟶ Spec (.of K)) [PreconnectedSpace T] (s : Spec (.of F) ⟶ T) |
| 43 | (f q : (A.pullback t).scheme ⟶ (B.pullback t).scheme) |
| 44 | (hpoint : η[(A.pullback t).scheme] ≫ f = η[(A.pullback t).scheme] ≫ q) |
| 45 | (hfq : (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 46 | apply div_eq_one.mp |
| 47 | refine A.pullback_pointedMap_eq_one_of_field_fiber B t (f / q) ?_ s ?_ |
| 48 | · rw [GrpObj.comp_div, hpoint] |
| 49 | exact (div_self' (η[(A.pullback t).scheme] ≫ q)).trans (MonObj.one_eq_one _).symm |
| 50 | · rw [div_eq_mul_inv, Functor.map_mul, Functor.map_inv', hfq, mul_inv_cancel] |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |