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.IntrinsicDeRham.SectionUnit |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryDeRhamFunctor |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo |
| 4 | |
| 5 | /-! # Pullback Unit -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.PullbackUnit.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual sheaf de Rham pullback on sections is induced by the |
| 12 | literal pullback of regular functions through the sheafification unit. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.SectionUnit.Intrinsic |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R : Type u) [CommRing R] |
| 24 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) (U : Y.left.Opens) |
| 25 | |
| 26 | def sectionMap : SectionUnit.Intrinsic.sections R Y U ⟶ SectionUnit.Intrinsic.sections R X (f.left ⁻¹ᵁ U) := |
| 27 | ((SectionUnit.Intrinsic.evaluation R Y U).mapHomologicalComplex (.up ℕ)).map (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sheafDirectImage f) |
| 28 | |
| 29 | def ordinaryMap : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (SectionUnit.Intrinsic.ring R Y U) ⟶ |
| 30 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (SectionUnit.Intrinsic.ring R X (f.left ⁻¹ᵁ U)) := |
| 31 | OrdinaryDeRhamFunctor.Ordinary.map (CommAlgCat.ofHom (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sectionPullback f U)) |
| 32 | |
| 33 | theorem unit_square : SectionUnit.Intrinsic.unit R Y U ≫ sectionMap R X Y f U = |
| 34 | ordinaryMap R X Y f U ≫ SectionUnit.Intrinsic.unit R X (f.left ⁻¹ᵁ U) := by |
| 35 | let A := AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sheafificationComplexAdjunction Y |
| 36 | have h : A.unit.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R Y) ≫ |
| 37 | ((sheafToPresheaf (Opens.grothendieckTopology Y.left) (ModuleCat.{u} R)).mapHomologicalComplex (.up ℕ)).map |
| 38 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sheafDirectImage f) = |
| 39 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.presheafToDirectImageSheafComplex f := |
| 40 | (A.homEquiv_unit _ _ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sheafDirectImage f)).symm.trans |
| 41 | ((A.homEquiv _ _).apply_symm_apply _) |
| 42 | apply HomologicalComplex.Hom.ext |
| 43 | funext n |
| 44 | have hn := congrArg (fun k => (k.f n).app (op U)) h |
| 45 | rw [HomologicalComplex.comp_f, HomologicalComplex.comp_f, SectionUnit.Intrinsic.unit_f, SectionUnit.Intrinsic.unit_f] |
| 46 | exact hn |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.PullbackUnit.Intrinsic |