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.FirstThreeSheaf |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.LocalizingPresheafUnit |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationUnit |
| 4 | |
| 5 | /-! # First Three Unit -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.FirstThreeUnit.IntegralAffineFirstThreeSheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual integral form-sheaf sections on principal affine opens equal the presheaf sections in degrees zero, one and two. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable (R A : Type) [CommRing R] [CommRing A] [Algebra R A] |
| 16 | |
| 17 | theorem unit_basicOpen_isIso (n : ℕ) (hn : n ≤ 2) (a : A) : |
| 18 | IsIso ((toSheafify (Opens.grothendieckTopology (Spec (CommRingCat.of A))) |
| 19 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) n)).app |
| 20 | (op (PrimeSpectrum.basicOpen a))) := by |
| 21 | have h := LocalizingPresheafUnit.LocalizingPresheafBasis.unit_comp_basicOpen_isIso (CommRingCat.of A) |
| 22 | (Affine.FormsCech.CoordinateForms.specPresheaf R A n) |
| 23 | (IntegralFirst.ThreeCoordinateForms.IntegralFirstThreeCoordinateForms.specPresheaf_isLocalized R A n hn) |
| 24 | (ModuleCat.restrictScalars (algebraMap R A)) a |
| 25 | exact SheafificationUnit.SheafificationUnitTransfer.of_iso |
| 26 | (Opens.grothendieckTopology (Spec (CommRingCat.of A))) |
| 27 | (Intrinsic.AffineFormsHomExt.AffineCoordinates.nativeFormsPresheafIso R A n) (op (PrimeSpectrum.basicOpen a)) h |
| 28 | |
| 29 | theorem unit_top_isIso (n : ℕ) (hn : n ≤ 2) : |
| 30 | IsIso ((toSheafify (Opens.grothendieckTopology (Spec (CommRingCat.of A))) |
| 31 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) n)).app (op ⊤)) := by |
| 32 | have h : (PrimeSpectrum.basicOpen (1 : A) : (Spec (CommRingCat.of A)).Opens) = ⊤ := |
| 33 | PrimeSpectrum.basicOpen_one |
| 34 | exact h ▸ unit_basicOpen_isIso R A n hn 1 |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.FirstThreeUnit.IntegralAffineFirstThreeSheaf |