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.ProperImage.ResidueDegree |
| 2 | import Mathlib.LinearAlgebra.Dimension.Free |
| 3 | |
| 4 | /-! # Residue Degree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ResidueDegree.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual residue-field degree obeys the tower law and is one for immersions. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem residueDegree_comp {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) (x : X) : |
| 15 | (f ≫ g).residueDegree x = g.residueDegree (f x) * f.residueDegree x := by |
| 16 | let K := Z.residueField (g (f x)) |
| 17 | let L := Y.residueField (f x) |
| 18 | let M := X.residueField x |
| 19 | let a : K →+* L := (g.residueFieldMap (f x)).hom |
| 20 | let b : L →+* M := (f.residueFieldMap x).hom |
| 21 | let : Algebra K L := a.toAlgebra |
| 22 | let : Algebra L M := b.toAlgebra |
| 23 | let : Algebra K M := ((f ≫ g).residueFieldMap x).hom.toAlgebra |
| 24 | let : IsScalarTower K L M := IsScalarTower.of_algebraMap_eq' |
| 25 | (congrArg CommRingCat.Hom.hom (Scheme.residueFieldMap_comp f g x)) |
| 26 | exact (Module.finrank_mul_finrank K L M).symm |
| 27 | |
| 28 | theorem residueDegree_immersion {A B : Scheme.{u}} (i : A ⟶ B) |
| 29 | [SurjectiveOnStalks i] (x : A) : i.residueDegree x = 1 := by |
| 30 | have h := ProperImage.ResidueDegree.Constructions.Construction.residueDegree_post_immersion (𝟙 A) i x |
| 31 | simpa only [Category.id_comp, Scheme.Hom.residueDegree_id] using h |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.CycleClass.Thom.ResidueDegree.Constructions |