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.BoundedCrystalline.CechCup |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.ResolutionCohomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.ExtCoefficientEdge |
| 4 | |
| 5 | /-! # Cech Cup -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BalancedBounded.CechCup |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The balanced native frame cup on the original bounded crystalline |
| 12 | Ext groups. The original source-dimension-shift cup is retained separately. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 21 | {J : Ideal (WittVector p k)} {δ : DividedPowers J} {X : Scheme.{u}} |
| 22 | (f : X ⟶ Spec (CommRingCat.of (WittVector p k))) [IsSeparated f] (n : ℕ) |
| 23 | {ι : Type u} (F : ι → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 24 | (hcover : ∀ U, CoveringObjectsSheafDetection.sieve F U ∈ BoundedCrystalline.Site.topology f n U) |
| 25 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 27 | local notation "Y" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f n |
| 28 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n |
| 29 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringPresentationResolution.complex (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology f n) R F |
| 30 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringPresentationResolution.augmentation (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology f n) R F |
| 31 | |
| 32 | def resolution : InjectiveResolution Y := injectiveResolution Y |
| 33 | |
| 34 | def resolutionHomologyIso (i : ℕ) : |
| 35 | (BoundedFrame.ResolutionCohomology.complex p k f n F).homology i ≅ ModuleCat.of R (H i) := by |
| 36 | let : QuasiIso e := CoveringPresentationResolution.augmentation_quasiIso.{u + 1, u} |
| 37 | (BoundedCrystalline.Site.topology f n) R F hcover |
| 38 | exact Balanced.ResolutionCohomology.homologyIso R P e (resolution p k f n) |
| 39 | (BoundedFrame.ResolutionAcyclicity.subsingleton p k f n F) i |
| 40 | |
| 41 | def sheafHomologyIso (i : ℕ) : |
| 42 | (BoundedFrame.CechCohomology.complex p k f n F).homology i ≅ ModuleCat.of R (H i) := |
| 43 | HomologicalComplex.homologyMapIso (BoundedFrame.CechCohomology.comparison p k f n F).symm i ≪≫ |
| 44 | resolutionHomologyIso p k f n F hcover i |
| 45 | |
| 46 | def presheafHomologyIso (i : ℕ) : |
| 47 | (BoundedFrame.CechPresheafCohomology.complex p k f n F).homology i ≅ ModuleCat.of R (H i) := |
| 48 | HomologicalComplex.homologyMapIso (BoundedFrame.CechPresheafCohomology.sheafIso p k f n F) i ≪≫ |
| 49 | sheafHomologyIso p k f n F hcover i |
| 50 | |
| 51 | def cohomologyEquiv (i : ℕ) : |
| 52 | (Cosimplicial.ModuleComplex.complex (BoundedCrystalline.CechCup.cochainAlgebra f n F)).homology i ≃ₗ[R] H i := |
| 53 | (HomologicalComplex.homologyMapIso (BoundedCrystalline.CechCup.comparison f n F) i).toLinearEquiv |>.trans |
| 54 | ((Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 55 | (BoundedFrame.CechComplex.presheafComplex f n F) i).trans |
| 56 | (presheafHomologyIso p k f n F hcover i).toLinearEquiv) |
| 57 | |
| 58 | def cup (i j : ℕ) : H i →ₗ[R] H j →ₗ[R] H (i + j) := |
| 59 | (((Cosimplicial.ModuleCup.cohomologyCup (BoundedCrystalline.CechCup.cochainAlgebra f n F) i j).comp |
| 60 | (cohomologyEquiv p k f n F hcover i).symm.toLinearMap).compl₂ |
| 61 | (cohomologyEquiv p k f n F hcover j).symm.toLinearMap).compr₂ |
| 62 | (cohomologyEquiv p k f n F hcover (i + j)).toLinearMap |
| 63 | |
| 64 | theorem cohomologyEquiv_apply (i : ℕ) |
| 65 | (x : (Cosimplicial.ModuleComplex.complex (BoundedCrystalline.CechCup.cochainAlgebra f n F)).homology i) : |
| 66 | cohomologyEquiv p k f n F hcover i x = |
| 67 | (presheafHomologyIso p k f n F hcover i).hom |
| 68 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 69 | (BoundedFrame.CechComplex.presheafComplex f n F) i |
| 70 | (HomologicalComplex.homologyMap (BoundedCrystalline.CechCup.comparison f n F).hom i x)) := rfl |
| 71 | |
| 72 | theorem cup_comparison (i j : ℕ) |
| 73 | (x : (Cosimplicial.ModuleComplex.complex (BoundedCrystalline.CechCup.cochainAlgebra f n F)).homology i) |
| 74 | (y : (Cosimplicial.ModuleComplex.complex (BoundedCrystalline.CechCup.cochainAlgebra f n F)).homology j) : |
| 75 | cup p k f n F hcover i j |
| 76 | (cohomologyEquiv p k f n F hcover i x) (cohomologyEquiv p k f n F hcover j y) = |
| 77 | cohomologyEquiv p k f n F hcover (i + j) |
| 78 | (Cosimplicial.ModuleCup.cohomologyCup (BoundedCrystalline.CechCup.cochainAlgebra f n F) i j x y) := by |
| 79 | simp only [cup, LinearMap.compr₂_apply, LinearMap.compl₂_apply, |
| 80 | LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.symm_apply_apply] |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BalancedBounded.CechCup |