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.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.OpenResolution |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Module.PushforwardExtVanishing |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 4 | |
| 5 | /-! # Open Pushforward Acyclic -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.OpenPushforwardAcyclic.IntegralAffineOpenPushforwardAcyclic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Direct images of native form sheaves from affine opens of separated integral schemes are acyclic. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Abelian Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable (R : Type) [CommRing R] [Module.Flat ℤ R] |
| 16 | (X : Over (Spec (CommRingCat.of R))) [IsSeparated X.hom] |
| 17 | (U : X.left.Opens) (hU : IsAffineOpen U) (j : ℕ) (hj : j ≤ 2) |
| 18 | |
| 19 | include hU hj in |
| 20 | theorem locallyExact |
| 21 | (I : InjectiveResolution ((OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R (OpenResolution.IntegralAffineOpenResolution.openModel R X U)).X j)) : |
| 22 | GeometricComparison.Module.PushforwardResolution.ModulePushforwardResolution.LocallyExact R U.inclusion' I := by |
| 23 | have : IsAffine U := hU |
| 24 | have : IsAffineHom U.ι := IsAffineHom.of_comp U.ι X.hom |
| 25 | intro V y |
| 26 | obtain ⟨W, hW, hyW, hWV⟩ := exists_isAffineOpen_mem_and_subset y.property |
| 27 | exact ⟨W, hWV, hyW, fun n => OpenResolution.IntegralAffineOpenResolution.forms_sections_exact R |
| 28 | (OpenResolution.IntegralAffineOpenResolution.openModel R X U) j hj I (U.ι ⁻¹ᵁ W) (hW.preimage U.ι) n⟩ |
| 29 | |
| 30 | local instance : HasExt.{1} (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) := HasExt.standard _ |
| 31 | |
| 32 | include hU hj in |
| 33 | theorem ext_subsingleton (n : ℕ) : |
| 34 | Subsingleton (Ext.{1} (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X) |
| 35 | ((TopCat.Sheaf.pushforward (ModuleCat R) U.inclusion').obj |
| 36 | ((OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R (OpenResolution.IntegralAffineOpenResolution.openModel R X U)).X j)) (n + 1)) := by |
| 37 | let Y := OpenResolution.IntegralAffineOpenResolution.openModel R X U |
| 38 | have : IsAffine Y.left := hU |
| 39 | let F := (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y).X j |
| 40 | let I : InjectiveResolution F := injectiveResolution F |
| 41 | exact GeometricComparison.Module.PushforwardExtVanishing.ModulePushforwardExtVanishing.ext_subsingleton R U.inclusion' I |
| 42 | (locallyExact R X U hU j hj I) n |
| 43 | (OpenResolution.IntegralAffineOpenResolution.forms_exactAt R Y j hj I ⊤ (isAffineOpen_top Y.left) n) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.OpenPushforwardAcyclic.IntegralAffineOpenPushforwardAcyclic |