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.Cech.RefinementTotalCup |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CoverRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoverRefinementQuasiIso |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCechUnit |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineOpenFormsUnit |
| 6 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexMap |
| 7 | |
| 8 | /-! # Cover Refinement -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.CoverRefinement |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual full ordinary de Rham Čech refinement on rational |
| 15 | coefficients is a quasi-isomorphism between affine covers. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable (R : Type) [CommRing R] [Algebra ℚ R] |
| 24 | (X : Over (Spec (CommRingCat.of R))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 25 | {ι κ : Type} (U : ι → X.left.Opens) (V : κ → X.left.Opens) |
| 26 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 27 | (hU : iSup U = ⊤) (hV : iSup V = ⊤) |
| 28 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) |
| 29 | |
| 30 | def unitRow {τ : Type} (W : τ → X.left.Opens) (q : ℕ) := |
| 31 | (NonemptyCechNerve.complexFunctor W).map ((AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCechUnit.BaseSmallDeRhamCechUnit.unit R X).f q) |
| 32 | |
| 33 | omit [IsProper X.hom] [Smooth X.hom] in |
| 34 | theorem unitRow_isIso {τ : Type} (W : τ → X.left.Opens) |
| 35 | (haW : ∀ i, IsAffineOpen (W i)) (q : ℕ) : IsIso (unitRow R X W q) := |
| 36 | GeometricComparison.Cech.TermwiseIso.CechTermwiseIso.isIso (NonemptyCechNerve.nerve W) ((AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCechUnit.BaseSmallDeRhamCechUnit.unit R X).f q) |
| 37 | (fun n t => GeometricComparison.Intrinsic.AffineOpenFormsUnit.IntrinsicAffineOpenFormsUnit.on_open R X (∏ᶜ (W ∘ t)) |
| 38 | (AlgebraicGeometry.SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection W haW n t) q) |
| 39 | |
| 40 | include hU hV haU haV in |
| 41 | omit [Algebra ℚ R] in |
| 42 | theorem native_row_quasiIso (q : ℕ) : QuasiIso |
| 43 | (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r ((IntrinsicDeRham.CechComplex.Intrinsic.presheafComplex R X).X q)) := by |
| 44 | let : (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X q).IsQuasicoherent := |
| 45 | IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R X q |
| 46 | let : QuasiIso (ModuleCech.CoverRefinement.map R X U V r |
| 47 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X q)) := |
| 48 | ModuleCech.CoverRefinementQuasiIso.quasiIso R X U V r (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X q) |
| 49 | hU hV haU haV |
| 50 | change QuasiIso ((IntrinsicDeRham.CoverRefinement.Intrinsic.bicomplexMap R X U V r).f q) |
| 51 | apply (quasiIso_iff_comp_left (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R X U q).hom _).mp |
| 52 | rw [IntrinsicDeRham.CoverRefinement.Intrinsic.rowIso_natural] |
| 53 | infer_instance |
| 54 | |
| 55 | include hU hV haU haV in |
| 56 | theorem row_quasiIso (q : ℕ) : QuasiIso |
| 57 | (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X).X q)) := by |
| 58 | let : IsIso (unitRow R X U q) := unitRow_isIso R X U haU q |
| 59 | let : IsIso (unitRow R X V q) := unitRow_isIso R X V haV q |
| 60 | let := native_row_quasiIso R X U V r hU hV haU haV q |
| 61 | apply (quasiIso_iff_comp_right _ (unitRow R X V q)).mp |
| 62 | change QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X).X q) ≫ |
| 63 | (NonemptyCechNerve.complexFunctor V).map ((AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCechUnit.BaseSmallDeRhamCechUnit.unit R X).f q)) |
| 64 | rw [← GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.naturality] |
| 65 | exact quasiIso_comp _ _ (hφ := quasiIso_of_isIso (unitRow R X U q)) |
| 66 | (hφ' := native_row_quasiIso R X U V r hU hV haU haV q) |
| 67 | |
| 68 | include hU hV haU haV in |
| 69 | theorem quasiIso : QuasiIso |
| 70 | (Cech.RefinementTotalCup.map U V r (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X)) := |
| 71 | AlgebraicTopology.DeRham.Comparison.DoubleComplexMap.DoubleComplex.total_map_quasiIso_of_columns |
| 72 | (Cech.RefinementTotalCup.bicomplexMap U V r (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X)) |
| 73 | (fun q => row_quasiIso R X U V r hU hV haU haV q) |
| 74 | |
| 75 | def homologyIso (q : ℕ) := by |
| 76 | letI := quasiIso R X U V r hU hV haU haV |
| 77 | exact isoOfQuasiIsoAt |
| 78 | (Cech.RefinementTotalCup.map U V r (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X)) q |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.CoverRefinement |