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.AdditiveCoproductSections |
| 2 | import Mathlib.LinearAlgebra.Dimension.Finrank |
| 3 | |
| 4 | /-! # Global Section Dimension -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GlobalSectionDimension.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Dimension of sections is unchanged by an isomorphism on base functions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem baseGlobalSections_finrank_comp {X S T : Scheme.{u}} |
| 18 | (f : X ⟶ S) (g : S ⟶ T) [IsIso g.appTop] (M : X.Modules) : |
| 19 | Module.finrank Γ(T, ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ g)).obj M) = |
| 20 | Module.finrank Γ(S, ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor f).obj M) := by |
| 21 | let e : (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ g)).obj M ≃+ |
| 22 | (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor f).obj M := AddEquiv.refl _ |
| 23 | have h := rank_eq_of_equiv_equiv (fun r : Γ(T, ⊤) => g.appTop r) e |
| 24 | (ConcreteCategory.bijective_of_isIso g.appTop) (fun r m => rfl) |
| 25 | exact congrArg Cardinal.toNat h |
| 26 | |
| 27 | theorem baseGlobalSections_finrank_congr {X S : Scheme.{u}} {f g : X ⟶ S} |
| 28 | (h : f = g) (M : X.Modules) : |
| 29 | Module.finrank Γ(S, ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor f).obj M) = |
| 30 | Module.finrank Γ(S, ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor g).obj M) := by |
| 31 | subst g |
| 32 | rfl |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GlobalSectionDimension.Construction |