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.Pullback.Comparisons |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 3 | |
| 4 | /-! # Reduced Field Pullback Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReducedFieldPullbackDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Maps from a reduced relative scheme to a separated relative scheme are determined by all field-valued base changes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {A B : Over S} |
| 17 | |
| 18 | theorem overHom_point_eq_of_pullback_eq {T : Scheme.{u}} (b : T ⟶ S) |
| 19 | (r : T ⟶ A.left) (hr : r ≫ A.hom = b) (f g : A ⟶ B) |
| 20 | (h : (Over.pullback b).map f = (Over.pullback b).map g) : r ≫ f.left = r ≫ g.left := by |
| 21 | let a : T ⟶ Limits.pullback A.hom b := Limits.pullback.lift r (𝟙 T) |
| 22 | (hr.trans (Category.id_comp b).symm) |
| 23 | have ha : a ≫ Limits.pullback.fst A.hom b = r := Limits.pullback.lift_fst _ _ _ |
| 24 | have H : Limits.pullback.fst A.hom b ≫ f.left = Limits.pullback.fst A.hom b ≫ g.left := |
| 25 | (Pullback.Comparisons.overPullback_map_left_fst f b).symm.trans |
| 26 | ((congrArg (fun p : (Over.pullback b).obj A ⟶ (Over.pullback b).obj B => |
| 27 | p.left ≫ Limits.pullback.fst B.hom b) h).trans (Pullback.Comparisons.overPullback_map_left_fst g b)) |
| 28 | have H' := congrArg (fun p : Limits.pullback A.hom b ⟶ B.left => a ≫ p) H |
| 29 | simpa only [← Category.assoc, ha] using H' |
| 30 | |
| 31 | variable [IsReduced A.left] [IsSeparated B.hom] |
| 32 | |
| 33 | theorem overHom_eq_of_fieldPullbacks_of_reduced (f g : A ⟶ B) |
| 34 | (h : ∀ (K : Type u) [Field K] (b : Spec (.of K) ⟶ S), |
| 35 | (Over.pullback b).map f = (Over.pullback b).map g) : f = g := by |
| 36 | apply Over.OverMorphism.ext |
| 37 | apply ext_of_fromSpecResidueField_eq f.left g.left B.hom Set.univ dense_univ |
| 38 | · intro x _ |
| 39 | let r := A.left.fromSpecResidueField x |
| 40 | let b := r ≫ A.hom |
| 41 | exact overHom_point_eq_of_pullback_eq b r rfl f g (h (A.left.residueField x) b) |
| 42 | · exact f.w.trans g.w.symm |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReducedFieldPullbackDetection |