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.Balanced.WittCupLevel |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineInverseLimit |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.InverseLimitCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.InverseTransitionCoordinates |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CompatibleBilinearProduct |
| 6 | |
| 7 | /-! # Crystalline Cup -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.CrystallineCup.Integral |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A cup product on the original integral crystalline Ext cohomology. |
| 14 | Its finite-level coordinates are the native Witt-frame products. Projectivity |
| 15 | is used only by the existing finite-level finiteness theorem that proves the |
| 16 | inverse-limit equivalence in every degree. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 25 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 28 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k X |
| 29 | local notation "DP" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 30 | local notation "PIdeal" => Ideal.span {(p : WittVector p k)} |
| 31 | |
| 32 | abbrev Compatible (i : ℕ) := |
| 33 | Crystalline.CohomologyDifference.compatible (p := p) (J := PIdeal) (δ := DP) f i |
| 34 | |
| 35 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] in |
| 36 | theorem compatible_transition (i : ℕ) (x : Compatible p k X i) (n : ℕ) : |
| 37 | Bounded.CohomologyTransition.map f n (n + 1) (Nat.le_succ n) i (x.val (n + 1)) = x.val n := by |
| 38 | have h := (Crystalline.CohomologyDifference.mem_compatible f i x.val).mp x.property n |
| 39 | rw [Crystalline.InverseTransitionCoordinates.transition] at h |
| 40 | exact h |
| 41 | |
| 42 | theorem product_compatible (i j : ℕ) (x : Compatible p k X i) (y : Compatible p k X j) : |
| 43 | (fun n => SmoothProperWittCup.cup p k X n i j (x.val n) (y.val n)) ∈ |
| 44 | Crystalline.CohomologyDifference.compatible (p := p) (J := PIdeal) (δ := DP) f (i + j) := by |
| 45 | apply (Crystalline.CohomologyDifference.mem_compatible f (i + j) _).mpr |
| 46 | intro n |
| 47 | rw [Crystalline.InverseTransitionCoordinates.transition] |
| 48 | exact (WittCupLevel.cup_natural p k X n (n + 1) (Nat.le_succ n) |
| 49 | i j (x.val (n + 1)) (y.val (n + 1))).trans |
| 50 | (congrArg₂ (fun a b => SmoothProperWittCup.cup p k X n i j a b) |
| 51 | (compatible_transition p k X i x n) (compatible_transition p k X j y n)) |
| 52 | |
| 53 | def compatibleProduct (i j : ℕ) (x : Compatible p k X i) (y : Compatible p k X j) : |
| 54 | Compatible p k X (i + j) := |
| 55 | ⟨fun n => SmoothProperWittCup.cup p k X n i j (x.val n) (y.val n), |
| 56 | product_compatible p k X i j x y⟩ |
| 57 | |
| 58 | def compatibleCup (i j : ℕ) : Compatible p k X i →ₗ[R] |
| 59 | Compatible p k X j →ₗ[R] Compatible p k X (i + j) := |
| 60 | CompatibleBilinearProduct.cup R |
| 61 | (fun n i => BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := PIdeal) (δ := DP) f n i) |
| 62 | (fun i => Crystalline.CohomologyDifference.compatible (p := p) (J := PIdeal) (δ := DP) f i) |
| 63 | (SmoothProperWittCup.cup p k X) (product_compatible p k X) i j |
| 64 | |
| 65 | theorem compatibleCup_coordinate (i j n : ℕ) (x : Compatible p k X i) (y : Compatible p k X j) : |
| 66 | (compatibleCup p k X i j x y).val n = SmoothProperWittCup.cup p k X n i j (x.val n) (y.val n) := |
| 67 | CompatibleBilinearProduct.coordinate R |
| 68 | (fun n i => BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := PIdeal) (δ := DP) f n i) |
| 69 | (fun i => Crystalline.CohomologyDifference.compatible (p := p) (J := PIdeal) (δ := DP) f i) |
| 70 | (SmoothProperWittCup.cup p k X) (product_compatible p k X) i j n x y |
| 71 | |
| 72 | variable (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 73 | |
| 74 | abbrev equivalence (i : ℕ) : Witt.Crystalline.integralCohomology p k X i ≃ₗ[R] Compatible p k X i := |
| 75 | SmoothProper.CrystallineInverseLimit.compatibleEquiv p k X hprojective i |
| 76 | |
| 77 | /-- Integral cup on the original small-site crystalline Ext groups. -/ |
| 78 | def cup (i j : ℕ) : Witt.Crystalline.integralCohomology p k X i →ₗ[R] |
| 79 | Witt.Crystalline.integralCohomology p k X j →ₗ[R] Witt.Crystalline.integralCohomology p k X (i + j) := |
| 80 | (((compatibleCup p k X i j).comp (equivalence p k X hprojective i).toLinearMap).compl₂ |
| 81 | (equivalence p k X hprojective j).toLinearMap).compr₂ |
| 82 | (equivalence p k X hprojective (i + j)).symm.toLinearMap |
| 83 | |
| 84 | theorem cup_coordinates (i j : ℕ) (x : Witt.Crystalline.integralCohomology p k X i) (y : Witt.Crystalline.integralCohomology p k X j) : |
| 85 | equivalence p k X hprojective (i + j) (cup p k X hprojective i j x y) = |
| 86 | compatibleCup p k X i j (equivalence p k X hprojective i x) (equivalence p k X hprojective j y) := by |
| 87 | simp only [cup, LinearMap.compr₂_apply, LinearMap.compl₂_apply, |
| 88 | LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.apply_symm_apply] |
| 89 | |
| 90 | def restriction (n i : ℕ) : Witt.Crystalline.integralCohomology p k X i →ₗ[R] |
| 91 | BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := PIdeal) (δ := DP) f n i := |
| 92 | (BoundedCrystalline.CrystallineCohomology.restriction f n i).comp |
| 93 | (Global.Crystalline.Comparison.integralEquiv p k X i).symm.toLinearMap |
| 94 | |
| 95 | theorem equivalence_coordinate (i n : ℕ) (x : Witt.Crystalline.integralCohomology p k X i) : |
| 96 | (equivalence p k X hprojective i x).val n = restriction p k X n i x := by |
| 97 | let := SmoothProper.CrystallineInverseLimit.inclusion_mono p k X hprojective i |
| 98 | exact Crystalline.InverseLimitCoordinates.compatible_coordinate f i |
| 99 | ((Global.Crystalline.Comparison.integralEquiv p k X i).symm x) n |
| 100 | |
| 101 | /-- Restriction to each original bounded crystalline site preserves the product. -/ |
| 102 | theorem restriction_cup (n i j : ℕ) (x : Witt.Crystalline.integralCohomology p k X i) (y : Witt.Crystalline.integralCohomology p k X j) : |
| 103 | restriction p k X n (i + j) (cup p k X hprojective i j x y) = |
| 104 | SmoothProperWittCup.cup p k X n i j (restriction p k X n i x) (restriction p k X n j y) := by |
| 105 | exact (equivalence_coordinate p k X hprojective (i + j) n (cup p k X hprojective i j x y)).symm.trans |
| 106 | ((congrArg (fun z : Compatible p k X (i + j) => z.val n) (cup_coordinates p k X hprojective i j x y)).trans |
| 107 | ((compatibleCup_coordinate p k X i j n |
| 108 | (equivalence p k X hprojective i x) (equivalence p k X hprojective j y)).trans |
| 109 | (congrArg₂ (fun a b => SmoothProperWittCup.cup p k X n i j a b) |
| 110 | (equivalence_coordinate p k X hprojective i n x) (equivalence_coordinate p k X hprojective j n y)))) |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.CrystallineCup.Integral |