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.CohomologyDifference |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.PresheafExt |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.HomologyTransport |
| 4 | |
| 5 | /-! # Inverse Transition Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.InverseTransitionCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original inverse-system transitions are exactly the original bounded-level Ext pullback maps. -/ |
| 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 "I" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.BoundedResolution.Comparison.resolution (p := p) (J := J) (δ := δ) f |
| 24 | |
| 25 | theorem componentMap (n m : ℕ) (hnm : n ≤ m) : |
| 26 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 27 | (CohomologyDifference.componentTransition (p := p) (J := J) (δ := δ) f n m hnm) = |
| 28 | BoundedLevel.FramePresheafRestriction.restriction f n m hnm I := by |
| 29 | apply HomologicalComplex.Hom.ext |
| 30 | funext a |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply LinearMap.ext |
| 33 | intro x |
| 34 | rfl |
| 35 | |
| 36 | theorem levelHomologyIso (n i : ℕ) : |
| 37 | (HomologicalComplex.homologyFunctor _ _ i).mapIso (BoundedProductCohomology.levelIso (p := p) (J := J) (δ := δ) f n) = |
| 38 | Iso.refl _ := |
| 39 | Functor.mapIso_refl _ _ |
| 40 | |
| 41 | theorem componentEquiv (n i : ℕ) : BoundedProductCohomology.componentLinearEquiv (p := p) (J := J) (δ := δ) f n i = |
| 42 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R (BoundedProductCohomology.component f n) i).trans |
| 43 | (BoundedResolutionLevels.homologyIso f n i).toLinearEquiv := by |
| 44 | simp only [BoundedProductCohomology.componentLinearEquiv, BoundedProductCohomology.componentHomologyIso, levelHomologyIso] |
| 45 | rfl |
| 46 | |
| 47 | theorem homology (n m : ℕ) (hnm : n ≤ m) (i : ℕ) : HomologicalComplex.homologyMap |
| 48 | (((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 49 | (CohomologyDifference.componentTransition (p := p) (J := J) (δ := δ) f n m hnm)) i ≫ |
| 50 | (BoundedResolutionLevels.homologyIso f n i).hom = |
| 51 | (BoundedResolutionLevels.homologyIso f m i).hom ≫ |
| 52 | ModuleCat.ofHom (Bounded.CohomologyTransition.map f n m hnm i) := |
| 53 | (congrArg (fun a => HomologicalComplex.homologyMap a i ≫ |
| 54 | (BoundedResolutionLevels.homologyIso f n i).hom) (componentMap f n m hnm)).trans |
| 55 | (BoundedLevel.PresheafExt.homology f n m hnm I i) |
| 56 | |
| 57 | theorem naturality (n m : ℕ) (hnm : n ≤ m) (i : ℕ) (x : (BoundedProductCohomology.component (p := p) (J := J) (δ := δ) f m).homology i) : |
| 58 | BoundedProductCohomology.componentLinearEquiv f n i |
| 59 | (HomologicalComplex.homologyMap (CohomologyDifference.componentTransition f n m hnm) i x) = |
| 60 | Bounded.CohomologyTransition.map f n m hnm i (BoundedProductCohomology.componentLinearEquiv f m i x) := by |
| 61 | let g := ModuleCat.ofHom (Bounded.CohomologyTransition.map (p := p) (J := J) (δ := δ) f n m hnm i) |
| 62 | have h := InverseTransitionCoordinates.homology (p := p) (J := J) (δ := δ) f n m hnm i |
| 63 | have ht := Lifted.HomologyTransport.naturality.{u + 1, u + 1, u + 2} R |
| 64 | (CohomologyDifference.componentTransition f n m hnm) i |
| 65 | (BoundedResolutionLevels.homologyIso f m i) |
| 66 | (BoundedResolutionLevels.homologyIso f n i) g h x |
| 67 | exact (congrArg (fun e => e (HomologicalComplex.homologyMap |
| 68 | (CohomologyDifference.componentTransition f n m hnm) i x)) (componentEquiv f n i)).trans |
| 69 | (ht.trans (congrArg g (congrArg (fun e => e x) (componentEquiv f m i).symm))) |
| 70 | |
| 71 | theorem transition (n i : ℕ) : CohomologyDifference.transition (p := p) (J := J) (δ := δ) f n i = |
| 72 | Bounded.CohomologyTransition.map f n (n + 1) (Nat.le_succ n) i := by |
| 73 | apply LinearMap.ext |
| 74 | intro x |
| 75 | exact (naturality f n (n + 1) (Nat.le_succ n) i ((BoundedProductCohomology.componentLinearEquiv f (n + 1) i).symm x)).trans |
| 76 | (congrArg (Bounded.CohomologyTransition.map f n (n + 1) (Nat.le_succ n) i) |
| 77 | ((BoundedProductCohomology.componentLinearEquiv f (n + 1) i).apply_symm_apply x)) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.InverseTransitionCoordinates |