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.CoverRefinementCohomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.Cover |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | |
| 5 | /-! # Cover Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoverRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal refinement map on module-valued affine Čech |
| 12 | cochains induces the canonical change-of-cover isomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite Simplicial |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 21 | {ι κ : Type u} (U : ι → X.left.Opens) (V : κ → X.left.Opens) |
| 22 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) (M : X.left.Modules) |
| 23 | |
| 24 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CohomologyNaturality.forgetCoefficients R |
| 25 | local notation "P" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomologyPresheaf.functor R X) M |
| 26 | |
| 27 | def map : DimensionBound.complex R X M U ⟶ |
| 28 | DimensionBound.complex R X M V := |
| 29 | GeometricComparison.Cech.FamilyRefinement.CechFamilyRefinement.map (FormalCoproduct.mk ι U) (FormalCoproduct.mk κ V) r P |
| 30 | |
| 31 | theorem forget_natural : |
| 32 | ((G).mapHomologicalComplex (.up ℕ)).map (CoverRefinement.map R X U V r M) ≫ |
| 33 | (DimensionBound.forgetIso R X M V).hom = |
| 34 | (DimensionBound.forgetIso R X M U).hom ≫ |
| 35 | Cech.CoverRefinement.map U V r M.presheaf := by |
| 36 | apply HomologicalComplex.Hom.ext |
| 37 | funext n |
| 38 | change (G).map ((CoverRefinement.map R X U V r M).f n) ≫ |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G (FormalCoproduct.mk κ V).cech P).hom.f n = |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G (FormalCoproduct.mk ι U).cech P).hom.f n ≫ |
| 41 | (Cech.CoverRefinement.map U V r M.presheaf).f n |
| 42 | rw [AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.hom_f, AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.hom_f] |
| 43 | let En := (FormalCoproduct.mk ι U).cech.obj (op ⦋n⦌) |
| 44 | let Em := (FormalCoproduct.mk κ V).cech.obj (op ⦋n⦌) |
| 45 | let a := (FormalCoproduct.cechFunctor.map r).app (op ⦋n⦌) |
| 46 | exact AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.piComparison_natural G |
| 47 | (fun i : En.I => (P).obj (op (En.obj i))) |
| 48 | (fun i : Em.I => (P).obj (op (Em.obj i))) a.f (fun i => (P).map (a.φ i).op) |
| 49 | |
| 50 | theorem forget_homology_natural (n : ℕ) : |
| 51 | (G).map (HomologicalComplex.homologyMap (CoverRefinement.map R X U V r M) n) ≫ |
| 52 | (CohomologyNaturality.forgetHomologyIso R X V M n).hom = |
| 53 | (CohomologyNaturality.forgetHomologyIso R X U M n).hom ≫ |
| 54 | HomologicalComplex.homologyMap (Cech.CoverRefinement.map U V r M.presheaf) n := |
| 55 | GeometricComparison.ExactHomology.ExactHomologyComparison.naturality G (.up ℕ) |
| 56 | (DimensionBound.forgetIso R X M U) |
| 57 | (DimensionBound.forgetIso R X M V) |
| 58 | (CoverRefinement.map R X U V r M) (Cech.CoverRefinement.map U V r M.presheaf) |
| 59 | (forget_natural R X U V r M) n |
| 60 | |
| 61 | variable [X.left.IsSeparated] [M.IsQuasicoherent] |
| 62 | (hU : ⨆ i, U i = ⊤) (hV : ⨆ i, V i = ⊤) |
| 63 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) |
| 64 | |
| 65 | theorem cohomology (n : ℕ) : |
| 66 | (G).map (HomologicalComplex.homologyMap (CoverRefinement.map R X U V r M) (n + 1)) ≫ |
| 67 | (DimensionBound.cohomologyIso R X M V hV haV n).hom = |
| 68 | (DimensionBound.cohomologyIso R X M U hU haU n).hom := by |
| 69 | have h := Cech.CoverRefinementCohomology.cohomology U V r |
| 70 | ((SheafOfModules.toSheaf X.left.ringCatSheaf).obj M) hU hV |
| 71 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic M U haU) |
| 72 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic M V haV) n |
| 73 | change (G).map (HomologicalComplex.homologyMap (CoverRefinement.map R X U V r M) (n + 1)) ≫ |
| 74 | ((CohomologyNaturality.forgetHomologyIso R X V M (n + 1)).hom ≫ |
| 75 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.CechComparison.IntrinsicCech.quasicoherent_affineCover_cechCohomologyIso M V hV haV n).hom) = |
| 76 | (CohomologyNaturality.forgetHomologyIso R X U M (n + 1)).hom ≫ |
| 77 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.CechComparison.IntrinsicCech.quasicoherent_affineCover_cechCohomologyIso M U hU haU n).hom |
| 78 | rw [← Category.assoc, forget_homology_natural, Category.assoc] |
| 79 | exact congrArg |
| 80 | (fun a => (CohomologyNaturality.forgetHomologyIso R X U M (n + 1)).hom ≫ a) h |
| 81 | |
| 82 | theorem map_eq_coverIso (n : ℕ) : |
| 83 | (G).map (HomologicalComplex.homologyMap (CoverRefinement.map R X U V r M) (n + 1)) = |
| 84 | (Cover.Comparison.iso R X U V hU hV haU haV M n).hom := by |
| 85 | apply (cancel_mono (DimensionBound.cohomologyIso R X M V hV haV n).hom).mp |
| 86 | simpa only [Cover.Comparison.iso, Iso.trans_hom, Iso.symm_hom, |
| 87 | Category.assoc, Iso.inv_hom_id, Category.comp_id] using |
| 88 | cohomology R X U V r M hU hV haU haV n |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoverRefinement |