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.RestrictedResolution |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSheafComplex |
| 3 | |
| 4 | /-! # Open Resolution -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.OpenResolution.IntegralAffineOpenResolution |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Sections of an actual native-form injective resolution are exact on every integral affine open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | variable (R : Type) [CommRing R] [Module.Flat ℤ R] (X : Over (Spec (CommRingCat.of R))) |
| 15 | |
| 16 | def openModel (W : X.left.Opens) : Over (Spec (CommRingCat.of R)) := Over.mk (W.ι ≫ X.hom) |
| 17 | |
| 18 | def inclusion (W : X.left.Opens) : openModel R X W ⟶ X := Over.homMk W.ι |
| 19 | |
| 20 | omit [Module.Flat ℤ R] in |
| 21 | theorem image_top (W : X.left.Opens) : W.ι ''ᵁ ⊤ = W := by |
| 22 | rw [Scheme.Hom.image_top_eq_opensRange, Scheme.Opens.opensRange_ι] |
| 23 | |
| 24 | theorem forms_exactAt (j : ℕ) (hj : j ≤ 2) (I : InjectiveResolution ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X j)) |
| 25 | (W : X.left.Opens) (hW : IsAffineOpen W) (n : ℕ) : |
| 26 | (((OpenSheafComplex.OpenSheafSectionComplex.sections R X.left W).mapHomologicalComplex (.up ℕ)).obj |
| 27 | I.cocomplex).ExactAt (n + 1) := by |
| 28 | have : IsAffine (openModel R X W).left := hW |
| 29 | have : IsOpenImmersion (inclusion R X W).left := inferInstanceAs (IsOpenImmersion W.ι) |
| 30 | exact (RestrictedResolution.IntegralAffineRestrictedResolution.forms_exact_succ R (inclusion R X W) j hj I n).of_iso |
| 31 | (OpenSheafComplex.OpenSheafSectionComplex.complexIso R W.ι W (image_top R X W) I.cocomplex) |
| 32 | |
| 33 | theorem forms_sections_exact (j : ℕ) (hj : j ≤ 2) |
| 34 | (I : InjectiveResolution ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X j)) |
| 35 | (W : X.left.Opens) (hW : IsAffineOpen W) (n : ℕ) |
| 36 | (x : (I.cocomplex.X (n + 1)).obj.obj (op W)) |
| 37 | (hx : (I.cocomplex.d (n + 1) (n + 2)).hom.app (op W) x = 0) : |
| 38 | ∃ y : (I.cocomplex.X n).obj.obj (op W), |
| 39 | (I.cocomplex.d n (n + 1)).hom.app (op W) y = x := by |
| 40 | have h := forms_exactAt R X j hj I W hW n |
| 41 | rw [HomologicalComplex.exactAt_iff' _ n (n + 1) (n + 2) (by simp) (by simp)] at h |
| 42 | exact (ShortComplex.moduleCat_exact_iff _).mp h x hx |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.OpenResolution.IntegralAffineOpenResolution |