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.IntegralComparison.OrdinaryDeRhamFunctor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi |
| 3 | |
| 4 | /-! # Ordinary Section -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.OrdinarySection.OrdinarySectionComplexAssembly |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Assembling ordinary de Rham complexes of actual open sections gives |
| 11 | the original de Rham presheaf complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 17 | |
| 18 | def diagram := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X ⋙ IntegralComparison.OrdinaryDeRhamFunctor.Ordinary.functor R |
| 19 | |
| 20 | def iso : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (diagram R X) ≅ AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X := |
| 21 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (by |
| 22 | intro i j hij |
| 23 | change i + 1 = j at hij |
| 24 | subst j |
| 25 | simp only [Iso.refl_hom] |
| 26 | apply NatTrans.ext |
| 27 | funext U |
| 28 | change ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X).d i (i + 1)).app U = |
| 29 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R Γ(X.left, U.unop)).d i (i + 1) |
| 30 | dsimp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex] |
| 31 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 32 | rfl) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.PadicHodge.GeometricComparison.OrdinarySection.OrdinarySectionComplexAssembly |