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.Affine.PairSectionAlgebraPullback |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.OrdinarySection |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex |
| 4 | |
| 5 | /-! # Pair Ordinary Forms -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.PairOrdinaryForms.AffinePairOrdinaryForms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual ordinary section-algebra map on affine pairs has |
| 12 | the original geometric de Rham pullback as each form component. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (R : Type) [CommRing R] |
| 17 | {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 18 | |
| 19 | def sourceOpens := MapPairs.AffineMapPairs.source f.left ⋙ OpenProducts.AffineOpenProducts.inclusion X.left |
| 20 | def targetOpens := MapPairs.AffineMapPairs.target f.left ⋙ OpenProducts.AffineOpenProducts.inclusion Y.left |
| 21 | def sourcePullback := NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{0} R) (sourceOpens R f) |
| 22 | def targetPullback := NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{0} R) (targetOpens R f) |
| 23 | |
| 24 | instance source_additive : (sourcePullback R f).Additive := by |
| 25 | dsimp only [sourcePullback] |
| 26 | infer_instance |
| 27 | instance target_additive : (targetPullback R f).Additive := by |
| 28 | dsimp only [targetPullback] |
| 29 | infer_instance |
| 30 | |
| 31 | def transformation := Functor.whiskerRight (PairSectionAlgebraPullback.AffinePairSectionAlgebraPullback.transformation R f) |
| 32 | (IntegralComparison.OrdinaryDeRhamFunctor.Ordinary.functor R) |
| 33 | |
| 34 | def sourceIso : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 35 | ((sourceOpens R f).op ⋙ OrdinarySection.OrdinarySectionComplexAssembly.diagram R X) ≅ |
| 36 | ((sourcePullback R f).mapHomologicalComplex (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) := |
| 37 | ((sourcePullback R f).mapHomologicalComplex (.up ℕ)).mapIso (OrdinarySection.OrdinarySectionComplexAssembly.iso R X) |
| 38 | def targetIso : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 39 | ((targetOpens R f).op ⋙ OrdinarySection.OrdinarySectionComplexAssembly.diagram R Y) ≅ |
| 40 | ((targetPullback R f).mapHomologicalComplex (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R Y) := |
| 41 | ((targetPullback R f).mapHomologicalComplex (.up ℕ)).mapIso (OrdinarySection.OrdinarySectionComplexAssembly.iso R Y) |
| 42 | |
| 43 | def map := (targetIso R f).inv ≫ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (transformation R f) ≫ (sourceIso R f).hom |
| 44 | |
| 45 | theorem component (q : ℕ) (U : (MapPairs.AffineMapPairs.Charts f.left)ᵒᵖ) : |
| 46 | ((AffinePairOrdinaryForms.map R f).f q).app U = OpenSectionPullback.DeRham.formsPullbackLE f U.unop.val.2.val U.unop.val.1.val U.unop.property q := by |
| 47 | change 𝟙 _ ≫ OpenSectionPullback.DeRham.formsPullbackLE f U.unop.val.2.val U.unop.val.1.val U.unop.property q ≫ 𝟙 _ = _ |
| 48 | simp only [Category.comp_id, Category.id_comp] |
| 49 | |
| 50 | theorem original_pullback (q : ℕ) (U : (MapPairs.AffineMapPairs.Charts f.left)ᵒᵖ) : |
| 51 | ((AffinePairOrdinaryForms.map R f).f q).app U = |
| 52 | ((DeRham.Int.presheafPullback f).f q).app (op U.unop.val.2.val) ≫ |
| 53 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X q).map (homOfLE U.unop.property).op := |
| 54 | (component R f q U).trans (OpenSectionPullback.DeRham.formsPullbackLE_eq f U.unop.val.2.val U.unop.val.1.val U.unop.property q) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.PairOrdinaryForms.AffinePairOrdinaryForms |