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 Mathlib.AlgebraicGeometry.FunctionField |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.UnderlyingMap |
| 3 | |
| 4 | /-! # Dominant Function Field -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.DominantFunctionField.Dimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A dominant map of integral schemes induces the actual inclusion of function fields. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 17 | |
| 18 | theorem dominant_genericPoint (f : X ⟶ Y) [IsDominant f] : |
| 19 | f (genericPoint X) = genericPoint Y := by |
| 20 | apply ((genericPoint_spec Y).eq _).symm |
| 21 | convert! (genericPoint_spec X).image f.continuous using 1 |
| 22 | rw [Set.image_univ, f.denseRange.closure_eq] |
| 23 | |
| 24 | def dominantFunctionFieldMap (f : X ⟶ Y) [IsDominant f] : |
| 25 | Y.functionField ⟶ X.functionField := |
| 26 | eqToHom (congrArg (fun y => Y.presheaf.stalk y) (dominant_genericPoint f).symm) ≫ |
| 27 | f.stalkMap (genericPoint X) |
| 28 | |
| 29 | @[instance_reducible] |
| 30 | def dominantFunctionFieldAlgebra (f : X ⟶ Y) [IsDominant f] : |
| 31 | Algebra Y.functionField X.functionField := (dominantFunctionFieldMap f).hom.toAlgebra |
| 32 | |
| 33 | omit [IsIntegral Y] in |
| 34 | theorem scheme_germ_point_cast (U : Y.Opens) {x y : Y} (h : x = y) (hx : x ∈ U) : |
| 35 | Y.presheaf.germ U x hx ≫ eqToHom (congrArg (fun z => Y.presheaf.stalk z) h) = |
| 36 | Y.presheaf.germ U y (h ▸ hx) := by |
| 37 | subst y |
| 38 | simp |
| 39 | |
| 40 | theorem dominantFunctionFieldMap_germ (f : X ⟶ Y) [IsDominant f] |
| 41 | (U : Y.Opens) [Nonempty U] [Nonempty (f ⁻¹ᵁ U)] : |
| 42 | Y.germToFunctionField U ≫ dominantFunctionFieldMap f = |
| 43 | f.app U ≫ X.germToFunctionField (f ⁻¹ᵁ U) := by |
| 44 | dsimp only [dominantFunctionFieldMap, Scheme.germToFunctionField] |
| 45 | rw [← Category.assoc, scheme_germ_point_cast U (dominant_genericPoint f).symm, Scheme.Hom.germ_stalkMap] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.DominantFunctionField.Dimension |