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.BoundedCohomologySequence |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.CohomologyDifference |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProductLinearDifference |
| 4 | |
| 5 | /-! # Cohomology Difference -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CohomologyDifference |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: the inverse-system difference on the original bounded crystalline Ext groups |
| 13 | |
| 14 | The transition maps are induced by restriction of the original injective |
| 15 | resolution, then transported through its bounded-level Ext comparison. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 25 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.property (p := p) (J := J) (δ := δ) f |
| 29 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ResolutionComplexExact.presheafComplex (p := p) (J := J) (δ := δ) f |
| 30 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.BoundedProductCohomology.family (p := p) (J := J) (δ := δ) f |
| 31 | local notation "d" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.ComplexExact.difference R P |
| 32 | (BoundedSection.Reconstruction.monotone_property f) (ModuleCat.of R R) A |
| 33 | |
| 34 | def componentTransition (n m : ℕ) (hnm : n ≤ m) : |
| 35 | BoundedProductCohomology.component (p := p) (J := J) (δ := δ) f m ⟶ |
| 36 | BoundedProductCohomology.component (p := p) (J := J) (δ := δ) f n := |
| 37 | BoundedSection.FamilyDifference.Family.transition R P (BoundedSection.Reconstruction.monotone_property f) |
| 38 | (ModuleCat.of R R) A n m hnm |
| 39 | |
| 40 | def transition (n i : ℕ) : |
| 41 | BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f (n + 1) i →ₗ[R] |
| 42 | BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i := |
| 43 | (BoundedProductCohomology.componentLinearEquiv f n i).toLinearMap.comp |
| 44 | ((HomologicalComplex.homologyMap (componentTransition f n (n + 1) (Nat.le_succ n)) i).hom.comp |
| 45 | (BoundedProductCohomology.componentLinearEquiv f (n + 1) i).symm.toLinearMap) |
| 46 | |
| 47 | def difference (i : ℕ) : |
| 48 | (∀ n, BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) →ₗ[R] |
| 49 | ∀ n, BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i := |
| 50 | SequentialModuleDifference.difference R _ (fun n => transition f n i) |
| 51 | |
| 52 | def sequenceDifference (i : ℕ) : |
| 53 | (∀ n, BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) →ₗ[R] |
| 54 | ∀ n, BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i := |
| 55 | (BoundedCohomologySequence.middle (p := p) (J := J) (δ := δ) f i).g.hom |
| 56 | |
| 57 | theorem middle_g_apply (i : ℕ) |
| 58 | (x : ∀ n, BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) (n : ℕ) : |
| 59 | sequenceDifference (p := p) (J := J) (δ := δ) f i x n = |
| 60 | x n - transition f n i (x (n + 1)) := by |
| 61 | change ProductLinearDifference.transport R |
| 62 | (fun n => (BoundedProductCohomology.component f n).homology i) |
| 63 | (fun n => BoundedCrystalline.CrystallineCohomology.Cohomology f n i) |
| 64 | (fun n => BoundedProductCohomology.componentLinearEquiv f n i) |
| 65 | (CountableCohomologyDifference.difference R F d i).hom x n = _ |
| 66 | exact ProductLinearDifference.transport_apply R _ _ |
| 67 | (fun n => BoundedProductCohomology.componentLinearEquiv f n i) |
| 68 | (fun n => (HomologicalComplex.homologyMap (componentTransition f n (n + 1) (Nat.le_succ n)) i).hom) |
| 69 | _ (BoundedSection.CohomologyDifference.difference_apply R P |
| 70 | (BoundedSection.Reconstruction.monotone_property f) (ModuleCat.of R R) A i) x n |
| 71 | |
| 72 | theorem middle_g_eq (i : ℕ) : |
| 73 | sequenceDifference (p := p) (J := J) (δ := δ) f i = difference (p := p) (J := J) (δ := δ) f i := by |
| 74 | apply LinearMap.ext |
| 75 | intro x |
| 76 | exact funext (middle_g_apply (p := p) (J := J) (δ := δ) f i x) |
| 77 | |
| 78 | def compatible (i : ℕ) : |
| 79 | Submodule R (∀ n, BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) := |
| 80 | LinearMap.ker (difference (p := p) (J := J) (δ := δ) f i) |
| 81 | |
| 82 | theorem mem_compatible (i : ℕ) |
| 83 | (x : ∀ n, BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) : |
| 84 | x ∈ compatible (p := p) (J := J) (δ := δ) f i ↔ |
| 85 | ∀ n, transition (p := p) (J := J) (δ := δ) f n i (x (n + 1)) = x n := |
| 86 | SequentialModuleDifference.difference_eq_zero_iff R |
| 87 | (fun n => BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) |
| 88 | (fun n => transition (p := p) (J := J) (δ := δ) f n i) x |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CohomologyDifference |