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.Crystalline.ResolutionProjectionExt |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.InverseTransitionCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProductHomologyKernel |
| 4 | |
| 5 | /-! # Restriction Joint Kernel -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RestrictionJointKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! When the original inverse-limit inclusion is injective on cohomology, the actual bounded crystalline restriction maps have zero common kernel. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.BoundedProductCohomology |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 21 | |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 23 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ResolutionComplexExact.sequence (p := p) (J := J) (δ := δ) f |
| 24 | |
| 25 | def sourceEquiv (i : ℕ) : (S).X₁.homology i ≃ₗ[R] |
| 26 | BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f i := |
| 27 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R (S).X₁ i).trans |
| 28 | (BoundedResolution.Comparison.homologyIso f i).toLinearEquiv |
| 29 | |
| 30 | def projection (n : ℕ) : (S).X₁ ⟶ BoundedProductCohomology.component (p := p) (J := J) (δ := δ) f n := |
| 31 | (S).f ≫ CountableProductHomology.projection R (BoundedProductCohomology.family (p := p) (J := J) (δ := δ) f) n |
| 32 | |
| 33 | theorem lifted_projection (n : ℕ) : ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map (projection (p := p) (J := J) (δ := δ) f n) = |
| 34 | BoundedResolutionLevels.projection f n := by |
| 35 | apply HomologicalComplex.Hom.ext |
| 36 | funext a |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply LinearMap.ext |
| 39 | intro x |
| 40 | rfl |
| 41 | |
| 42 | theorem homology (n i : ℕ) (x : (S).X₁.homology i) : |
| 43 | BoundedProductCohomology.componentLinearEquiv f n i (HomologicalComplex.homologyMap (projection f n) i x) = |
| 44 | BoundedCrystalline.CrystallineCohomology.restriction f n i (sourceEquiv f i x) := by |
| 45 | let e := BoundedResolution.Comparison.homologyIso (p := p) (J := J) (δ := δ) f i |
| 46 | let d := BoundedResolutionLevels.homologyIso (p := p) (J := J) (δ := δ) f n i |
| 47 | let g := ModuleCat.ofHom (BoundedCrystalline.CrystallineCohomology.restriction (p := p) (J := J) (δ := δ) f n i) |
| 48 | have h : HomologicalComplex.homologyMap (((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map (projection f n)) i ≫ d.hom = e.hom ≫ g := |
| 49 | (congrArg (fun b => HomologicalComplex.homologyMap b i ≫ d.hom) (lifted_projection f n)).trans |
| 50 | (ResolutionProjectionExt.homology f n i) |
| 51 | exact (congrArg (fun t => t (HomologicalComplex.homologyMap (projection f n) i x)) |
| 52 | (InverseTransitionCoordinates.componentEquiv f n i)).trans |
| 53 | (Lifted.HomologyTransport.naturality.{u + 1, u + 1, u + 2} R (projection f n) i e d g h x) |
| 54 | |
| 55 | theorem product_coordinate (n i : ℕ) (x : (S).X₁.homology i) : |
| 56 | BoundedProductCohomology.productHomologyLinearEquiv f i (HomologicalComplex.homologyMap (S).f i x) n = |
| 57 | BoundedCrystalline.CrystallineCohomology.restriction f n i (sourceEquiv f i x) := by |
| 58 | have hp := congrArg (fun b => b (HomologicalComplex.homologyMap (S).f i x)) |
| 59 | (CountableProductHomology.homologyIso_projection R (BoundedProductCohomology.family (p := p) (J := J) (δ := δ) f) i n) |
| 60 | have hm := congrArg (fun b => b x) (HomologicalComplex.homologyMap_comp (S).f |
| 61 | (CountableProductHomology.projection R (BoundedProductCohomology.family (p := p) (J := J) (δ := δ) f) n) i) |
| 62 | exact (congrArg (BoundedProductCohomology.componentLinearEquiv f n i) (hp.trans hm.symm)).trans (RestrictionJointKernel.homology f n i x) |
| 63 | |
| 64 | theorem zero_of_restrictions (i : ℕ) [hF : Mono (HomologicalComplex.homologyMap (S).f i)] |
| 65 | (x : BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f i) |
| 66 | (hx : ∀ n, BoundedCrystalline.CrystallineCohomology.restriction f n i x = 0) : x = 0 := by |
| 67 | let y := (sourceEquiv f i).symm x |
| 68 | have hy : sourceEquiv f i y = x := (sourceEquiv f i).apply_symm_apply x |
| 69 | have hy' : y = 0 := by |
| 70 | apply @ProductHomologyKernel.zero_of_projections R inferInstance |
| 71 | (BoundedProductCohomology.family (p := p) (J := J) (δ := δ) f) (S).X₁ (S).f i hF y |
| 72 | intro n |
| 73 | apply (BoundedProductCohomology.componentLinearEquiv f n i).injective |
| 74 | exact (RestrictionJointKernel.homology f n i y).trans |
| 75 | ((congrArg (BoundedCrystalline.CrystallineCohomology.restriction f n i) hy).trans |
| 76 | ((hx n).trans (BoundedProductCohomology.componentLinearEquiv f n i).map_zero.symm)) |
| 77 | exact hy.symm.trans ((congrArg (sourceEquiv f i) hy').trans (sourceEquiv f i).map_zero) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RestrictionJointKernel |