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.CycleClass.Thom.ResidueDegree |
| 2 | |
| 3 | /-! # Stalk Residue Degree -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.StalkResidueDegree.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native residue degrees at points where the actual stalk map is an |
| 10 | isomorphism, in particular the closed point of the spectrum of a stalk. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem residueDegree_of_isIso_stalkMap {X Y : Scheme.{u}} (f : X ⟶ Y) (x : X) |
| 17 | [IsIso (f.stalkMap x)] : f.residueDegree x = 1 := by |
| 18 | let : IsIso (f.residueFieldMap x) := |
| 19 | (IsLocalRing.ResidueField.mapEquiv |
| 20 | (asIso (f.stalkMap x)).commRingCatIsoToRingEquiv).toCommRingCatIso.isIso_hom |
| 21 | let := (f.residueFieldMap x).hom.toAlgebra |
| 22 | exact Algebra.finrank_eq_one_iff_bijective_algebraMap.mpr |
| 23 | ((ConcreteCategory.isIso_iff_bijective (f.residueFieldMap x)).mp inferInstance) |
| 24 | |
| 25 | theorem fromSpecStalk_stalkMap_isIso (X : Scheme.{u}) (x : X) : |
| 26 | IsIso ((X.fromSpecStalk x).stalkMap (IsLocalRing.closedPoint (X.presheaf.stalk x))) := by |
| 27 | have : IsIso (Scheme.stalkClosedPointTo (X.fromSpecStalk x)) := by |
| 28 | rw [Scheme.stalkClosedPointTo_fromSpecStalk] |
| 29 | infer_instance |
| 30 | change IsIso (((X.fromSpecStalk x).stalkMap |
| 31 | (IsLocalRing.closedPoint (X.presheaf.stalk x))) ≫ |
| 32 | (stalkClosedPointIso (X.presheaf.stalk x)).hom) at this |
| 33 | exact IsIso.of_isIso_comp_right |
| 34 | ((X.fromSpecStalk x).stalkMap (IsLocalRing.closedPoint (X.presheaf.stalk x))) |
| 35 | (stalkClosedPointIso (X.presheaf.stalk x)).hom |
| 36 | |
| 37 | theorem fromSpecStalk_residueDegree (X : Scheme.{u}) (x : X) : |
| 38 | (X.fromSpecStalk x).residueDegree (IsLocalRing.closedPoint (X.presheaf.stalk x)) = 1 := by |
| 39 | let := fromSpecStalk_stalkMap_isIso X x |
| 40 | exact residueDegree_of_isIso_stalkMap _ _ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.CycleClass.Thom.StalkResidueDegree.Constructions |