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.Proper.FieldBaseChangeRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.BaseChangeFunctions |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionScheme |
| 4 | |
| 5 | /-! # Family Map Rigidity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Rigidity for constant abelian families over arbitrary connected parameter schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] {g h : ℕ} {T Y : Scheme.{u}} |
| 19 | |
| 20 | theorem Schemes.AbelianScheme.pullback_map_rigidity (A : Schemes.AbelianScheme g (Spec (.of K))) |
| 21 | (t : T ⟶ Spec (.of K)) [PreconnectedSpace T] |
| 22 | (f : (A.pullback t).scheme.left ⟶ Y) [Y.IsSeparated] |
| 23 | (s : T) (y : Y) |
| 24 | (hy : ∀ z : (A.pullback t).scheme.left, (A.pullback t).scheme.hom z = s → f z = y) : |
| 25 | f = (A.pullback t).scheme.hom ≫ η[(A.pullback t).scheme].left ≫ f := by |
| 26 | have : IsReduced A.scheme.left := A.reduced_overField |
| 27 | have : ConnectedSpace A.scheme.left := A.connected_overField |
| 28 | exact Proper.FieldBaseChangeRigidity.properField_baseChange_globalRigidity A.scheme.hom η[A.scheme].left η[A.scheme].w |
| 29 | (IsPullback.of_hasPullback A.scheme.hom t) (A.pullback t).scheme.hom.isOpenMap |
| 30 | η[(A.pullback t).scheme].left η[(A.pullback t).scheme].w f s y hy |
| 31 | |
| 32 | theorem Schemes.AbelianScheme.pullback_hom_eq_one_of_constant_fiber |
| 33 | (A : Schemes.AbelianScheme g (Spec (.of K))) (B : Schemes.AbelianScheme h (Spec (.of K))) |
| 34 | (t : T ⟶ Spec (.of K)) [PreconnectedSpace T] |
| 35 | (f : (A.pullback t).scheme ⟶ (B.pullback t).scheme) [IsMonHom f] |
| 36 | (s : T) (y : B.scheme.left) |
| 37 | (hy : ∀ z : (A.pullback t).scheme.left, (A.pullback t).scheme.hom z = s → |
| 38 | Limits.pullback.fst B.scheme.hom t (f.left z) = y) : f = 1 := by |
| 39 | have : B.scheme.left.IsSeparated := by |
| 40 | have : IsSeparated (B.scheme.hom ≫ Limits.terminal.from (Spec (.of K))) := inferInstance |
| 41 | rw [Limits.terminal.comp_from] at this |
| 42 | exact ⟨this⟩ |
| 43 | have H := A.pullback_map_rigidity t (f.left ≫ Limits.pullback.fst B.scheme.hom t) s y hy |
| 44 | have hunit : η[(A.pullback t).scheme].left ≫ f.left = η[(B.pullback t).scheme].left := |
| 45 | congrArg Over.Hom.left (IsMonHom.one_hom f) |
| 46 | apply Over.OverMorphism.ext |
| 47 | apply Limits.pullback.hom_ext |
| 48 | · calc |
| 49 | f.left ≫ Limits.pullback.fst B.scheme.hom t = |
| 50 | (A.pullback t).scheme.hom ≫ η[(A.pullback t).scheme].left ≫ |
| 51 | f.left ≫ Limits.pullback.fst B.scheme.hom t := H |
| 52 | _ = (A.pullback t).scheme.hom ≫ η[(B.pullback t).scheme].left ≫ |
| 53 | Limits.pullback.fst B.scheme.hom t := |
| 54 | congrArg (fun q : T ⟶ B.scheme.left => (A.pullback t).scheme.hom ≫ q) |
| 55 | ((Category.assoc η[(A.pullback t).scheme].left f.left |
| 56 | (Limits.pullback.fst B.scheme.hom t)).symm.trans |
| 57 | (congrArg (fun q : T ⟶ (B.pullback t).scheme.left => |
| 58 | q ≫ Limits.pullback.fst B.scheme.hom t) hunit)) |
| 59 | _ = (1 : (A.pullback t).scheme ⟶ (B.pullback t).scheme).left ≫ |
| 60 | Limits.pullback.fst B.scheme.hom t := (Category.assoc _ _ _).symm |
| 61 | · exact f.w.trans (1 : (A.pullback t).scheme ⟶ (B.pullback t).scheme).w.symm |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |