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.Intrinsic.FormsOpenUnit |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineFormsUnit |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenResolution |
| 4 | |
| 5 | /-! # Affine Open Forms Unit -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineOpenFormsUnit.IntrinsicAffineOpenFormsUnit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual native form-presheaf sheafification unit is invertible on every affine open over a rational base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable (R : Type) [CommRing R] [Algebra ℚ R] (X : Over (Spec (CommRingCat.of R))) |
| 16 | |
| 17 | theorem top [IsAffine X.left] (n : ℕ) : |
| 18 | IsIso ((toSheafify (Opens.grothendieckTopology X.left) |
| 19 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)).app (op ⊤)) := by |
| 20 | let : Algebra R Γ(X.left, ⊤) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X ⊤ |
| 21 | let : Algebra ℚ Γ(X.left, ⊤) := Rational.AffineFormVanishing.RationalAffineFormVanishing.sectionAlgebra R X ⊤ |
| 22 | let f := (Affine.OverSpec.AffineOverSpec.iso R X).inv |
| 23 | have : IsIso f.left := (Over.forget _).map_isIso f |
| 24 | have : IsOpenImmersion f.left := inferInstance |
| 25 | have h := FormsOpenUnit.IntrinsicFormsOpenUnit.isIso_on_image R f n ⊤ |
| 26 | (AffineFormsUnit.AffineCoordinates.nativeForms_unit_top_isIso R Γ(X.left, ⊤) n) |
| 27 | have hf : f.left ''ᵁ ⊤ = ⊤ := |
| 28 | (Scheme.Hom.image_top_eq_opensRange f.left).trans (Scheme.Hom.opensRange_of_isIso f.left) |
| 29 | exact hf ▸ h |
| 30 | |
| 31 | theorem on_open (U : X.left.Opens) (hU : IsAffineOpen U) (n : ℕ) : |
| 32 | IsIso ((toSheafify (Opens.grothendieckTopology X.left) |
| 33 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)).app (op U)) := by |
| 34 | have : IsAffine (Affine.OpenResolution.AffineOpenResolution.openModel R X U).left := hU |
| 35 | have : IsOpenImmersion (Affine.OpenResolution.AffineOpenResolution.inclusion R X U).left := |
| 36 | inferInstanceAs (IsOpenImmersion U.ι) |
| 37 | have h := FormsOpenUnit.IntrinsicFormsOpenUnit.isIso_on_image R (Affine.OpenResolution.AffineOpenResolution.inclusion R X U) n ⊤ |
| 38 | (top R (Affine.OpenResolution.AffineOpenResolution.openModel R X U) n) |
| 39 | exact (Affine.OpenResolution.AffineOpenResolution.image_top R X U) ▸ h |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineOpenFormsUnit.IntrinsicAffineOpenFormsUnit |