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.SheafCohomology.Projective.DominantFunctionField |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Fields |
| 3 | |
| 4 | /-! # Dominant Residue Degree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.DominantResidueDegree.Dimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ProjectiveCohomology's actual generic-stalk scalar extension has the native scheme residue degree. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem scheme_stalkCongr_eqToHom (X : Scheme) {x y : X} (h : x = y) : |
| 15 | (X.presheaf.stalkCongr (Inseparable.of_eq h)).hom = |
| 16 | eqToHom (congrArg (fun z => X.presheaf.stalk z) h) := by |
| 17 | subst y |
| 18 | exact X.presheaf.stalkSpecializes_refl x |
| 19 | |
| 20 | theorem dominantFunctionFieldMap_eq_genericFieldMap {X Y : Scheme} |
| 21 | [IsIntegral X] [IsIntegral Y] (f : X ⟶ Y) [IsDominant f] : |
| 22 | DominantFunctionField.Dimension.dominantFunctionFieldMap f = Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f (DominantFunctionField.Dimension.dominant_genericPoint f) := by |
| 23 | rw [Cycles.Functoriality.FunctionFields.Construction.genericFieldMap, scheme_stalkCongr_eqToHom Y (DominantFunctionField.Dimension.dominant_genericPoint f).symm] |
| 24 | rfl |
| 25 | |
| 26 | theorem dominantFunctionField_finrank_eq_residueDegree {X Y : Scheme} |
| 27 | [IsIntegral X] [IsIntegral Y] (f : X ⟶ Y) [IsDominant f] : |
| 28 | letI := DominantFunctionField.Dimension.dominantFunctionFieldAlgebra f |
| 29 | Module.finrank Y.functionField X.functionField = f.residueDegree (genericPoint X) := by |
| 30 | unfold DominantFunctionField.Dimension.dominantFunctionFieldAlgebra |
| 31 | rw [dominantFunctionFieldMap_eq_genericFieldMap] |
| 32 | exact IntersectionTheory.ProjectionFormula.Support.Fields.genericFieldMap_finrank_eq_residueDegree f (DominantFunctionField.Dimension.dominant_genericPoint f) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.DominantResidueDegree.Dimension |