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.ConstantScheme.Degree |
| 2 | |
| 3 | /-! # Global Degree -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.GlobalDegree |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite constant schemes have the expected rank over every base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem constantScheme_finrank {S : Scheme.{u}} (I : Type u) [Fintype I] (s : S) : |
| 16 | (Iff.constantScheme S I).hom.finrank s = Fintype.card I := by |
| 17 | let K := S.residueField s |
| 18 | let a : Spec (.of K) ⟶ S := S.fromSpecResidueField s |
| 19 | let k : Spec (.of K) := Classical.choice inferInstance |
| 20 | let e := Constant.BaseChange.constantSchemeBaseChangeIso a I |
| 21 | have : IsIso e.hom.left := inferInstanceAs (IsIso (((Over.forget (Spec (.of K))).mapIso e).hom)) |
| 22 | have h₁ : (Iff.constantScheme (Spec (.of K)) I).hom.finrank k = |
| 23 | (pullback.snd (Iff.constantScheme S I).hom a).finrank k := |
| 24 | (congrArg (fun f : (Iff.constantScheme (Spec (.of K)) I).left ⟶ Spec (.of K) => f.finrank k) |
| 25 | e.hom.w.symm).trans |
| 26 | (congrFun (Scheme.Hom.finrank_comp_left_of_isIso e.hom.left |
| 27 | (pullback.snd (Iff.constantScheme S I).hom a)) k) |
| 28 | have h₂ : (pullback.snd (Iff.constantScheme S I).hom a).finrank k = |
| 29 | (Iff.constantScheme S I).hom.finrank s := |
| 30 | (Scheme.Hom.finrank_pullback_snd (Iff.constantScheme S I).hom a k).trans |
| 31 | (congrArg (Iff.constantScheme S I).hom.finrank (S.fromSpecResidueField_apply s k)) |
| 32 | exact (h₁.trans h₂).symm.trans (Degree.constantScheme_spec_finrank K I k) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.GlobalDegree |