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.AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Products |
| 3 | |
| 4 | /-! # Cech Lift -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CechLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local preimages on a cover assemble into an actual zero-cochain whose image is the canonical Čech augmentation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 17 | {ι : Type u} (U : ι → X.left.Opens) |
| 18 | |
| 19 | local notation "N" => FormalCoproduct.cech (FormalCoproduct.mk ι U) |
| 20 | |
| 21 | def singleProjection (t : Fin 1 → ι) : ((N).obj (op ⦋0⦌)).obj t ⟶ U (t 0) := |
| 22 | Pi.π (U ∘ t) 0 |
| 23 | |
| 24 | def component (P : AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.Presheaves R X) |
| 25 | (z : ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).obj P).X 0) (t : Fin 1 → ι) : |
| 26 | P.obj (op (((N).obj (op ⦋0⦌)).obj t)) := |
| 27 | (Pi.π (fun a : ((N).obj (op ⦋0⦌)).I => P.obj (op (((N).obj (op ⦋0⦌)).obj a))) t) z |
| 28 | |
| 29 | def assemble (P : AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.Presheaves R X) (y : ∀ i, P.obj (op (U i))) : |
| 30 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).obj P).X 0 := |
| 31 | (ModuleCat.piIsoPi (fun t : ((N).obj (op ⦋0⦌)).I => |
| 32 | P.obj (op (((N).obj (op ⦋0⦌)).obj t)))).inv |
| 33 | (fun t => P.map (singleProjection R X U t).op (y (t 0))) |
| 34 | |
| 35 | theorem component_assemble (P : AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.Presheaves R X) (y : ∀ i, P.obj (op (U i))) |
| 36 | (t : Fin 1 → ι) : component R X U P (assemble R X U P y) t = |
| 37 | P.map (singleProjection R X U t).op (y (t 0)) := |
| 38 | congrArg (fun f => f (fun a => P.map (singleProjection R X U a).op (y (a 0)))) |
| 39 | (ModuleCat.piIsoPi_inv_kernel_ι |
| 40 | (fun a : ((N).obj (op ⦋0⦌)).I => P.obj (op (((N).obj (op ⦋0⦌)).obj a))) t) |
| 41 | |
| 42 | theorem map_component {P Q : AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.Presheaves R X} (φ : P ⟶ Q) |
| 43 | (z : ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).obj P).X 0) (t : Fin 1 → ι) : |
| 44 | component R X U Q (((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).map φ).f 0 z) t = |
| 45 | φ.app _ (component R X U P z t) := |
| 46 | congrArg (fun f => f z) (Pi.map_π |
| 47 | (fun a : ((N).obj (op ⦋0⦌)).I => φ.app (op (((N).obj (op ⦋0⦌)).obj a))) t) |
| 48 | |
| 49 | theorem augmentation_f_zero (P : AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.Presheaves R X) : |
| 50 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.augmentation R X U P).f 0 = (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.restriction R X U P).app ⦋0⦌ := |
| 51 | CochainComplex.fromSingle₀Equiv_symm_apply_f_zero _ _ |
| 52 | |
| 53 | theorem component_augmented (P : AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.Presheaves R X) (x : P.obj (op ⊤)) |
| 54 | (t : Fin 1 → ι) : component R X U P ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.augmentation R X U P).f 0 x) t = |
| 55 | P.map (homOfLE (show ((N).obj (op ⦋0⦌)).obj t ≤ ⊤ from le_top)).op x := by |
| 56 | rw [augmentation_f_zero] |
| 57 | exact congrArg (fun f : P.obj (op ⊤) ⟶ P.obj (op (((N).obj (op ⦋0⦌)).obj t)) => f x) |
| 58 | (Pi.lift_comp_π (fun a : ((N).obj (op ⦋0⦌)).I => |
| 59 | P.map (homOfLE (show ((N).obj (op ⦋0⦌)).obj a ≤ ⊤ from le_top)).op) t) |
| 60 | |
| 61 | theorem map_assemble {P Q : AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.Presheaves R X} (φ : P ⟶ Q) |
| 62 | (x : Q.obj (op ⊤)) (y : ∀ i, P.obj (op (U i))) |
| 63 | (hy : ∀ i, φ.app _ (y i) = Q.map (U i).leTop.op x) : |
| 64 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).map φ).f 0 (assemble R X U P y) = |
| 65 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.augmentation R X U Q).f 0 x := by |
| 66 | apply Concrete.limit_ext (Discrete.functor |
| 67 | (fun a : ((N).obj (op ⦋0⦌)).I => Q.obj (op (((N).obj (op ⦋0⦌)).obj a)))) |
| 68 | intro t |
| 69 | change component R X U Q (((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).map φ).f 0 |
| 70 | (assemble R X U P y)) t.as = |
| 71 | component R X U Q ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.augmentation R X U Q).f 0 x) t.as |
| 72 | have hn := congrArg (fun f => f (y (t.as 0))) (φ.naturality (singleProjection R X U t.as).op) |
| 73 | have hc : Q.map (U (t.as 0)).leTop.op ≫ Q.map (singleProjection R X U t.as).op = |
| 74 | Q.map (homOfLE (show ((N).obj (op ⦋0⦌)).obj t.as ≤ ⊤ from le_top)).op := |
| 75 | (Q.map_comp _ _).symm.trans (congrArg Q.map (Subsingleton.elim _ _)) |
| 76 | exact (map_component R X U φ (assemble R X U P y) t.as).trans |
| 77 | ((congrArg (φ.app _) (component_assemble R X U P y t.as)).trans |
| 78 | (hn.trans ((congrArg (Q.map (singleProjection R X U t.as).op) (hy (t.as 0))).trans |
| 79 | ((congrArg (fun f => f x) hc).trans (component_augmented R X U Q x t.as).symm)))) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CechLift |