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.GeometricComparison.Cech.Image |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.AugmentationRestriction |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality |
| 4 | |
| 5 | /-! # Image Augmentation -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.ImageAugmentation.CechImage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Čech direct-image comparison preserves actual restriction augmentations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits Opposite _root_.AlgebraicGeometry Simplicial |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem augmentation_along_isos {C : Type*} [Category* C] {A B D E S : C} |
| 18 | (e : A ≅ B) (d : D ≅ B) (c : D ≅ E) (a : S ⟶ A) (b : S ⟶ D) (q : S ⟶ E) |
| 19 | (h₁ : a ≫ e.hom = b ≫ d.hom) (h₂ : b ≫ c.hom = q) : |
| 20 | a ≫ (e ≪≫ d.symm ≪≫ c).hom = q := by |
| 21 | calc |
| 22 | a ≫ (e ≪≫ d.symm ≪≫ c).hom = ((a ≫ e.hom) ≫ d.inv) ≫ c.hom := by |
| 23 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 24 | _ = ((b ≫ d.hom) ≫ d.inv) ≫ c.hom := by rw [h₁] |
| 25 | _ = b ≫ c.hom := by simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 26 | _ = q := h₂ |
| 27 | |
| 28 | variable (R : Type u) [CommRing R] {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 29 | {ι : Type u} (U : ι → Y.Opens) (P : AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R X) |
| 30 | |
| 31 | def pulledRestriction (n : SimplexCategory) : P ⟶ |
| 32 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk ι U).cech).obj |
| 33 | ((Image.CechImage.preimage f).op ⋙ AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X P)).obj n := |
| 34 | Pi.lift (fun t => AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restrictToIntersection R X P |
| 35 | ((Image.CechImage.preimage f).obj (((FormalCoproduct.mk ι U).cech.obj (op n)).obj t))) |
| 36 | |
| 37 | theorem opens_restriction (n : SimplexCategory) : |
| 38 | pulledRestriction R f U P n ≫ |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.componentIso (Image.CechImage.preimage f) U (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X P) n).hom = |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restriction R X (fun i => f ⁻¹ᵁ U i) P).app n := by |
| 41 | let A := fun t : Fin (n.len + 1) → ι => |
| 42 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersection R X P ((Image.CechImage.preimage f).obj (∏ᶜ (U ∘ t))) |
| 43 | let B := fun t : Fin (n.len + 1) → ι => |
| 44 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersection R X P (∏ᶜ (fun i => f ⁻¹ᵁ U (t i))) |
| 45 | let a := fun t : Fin (n.len + 1) → ι => |
| 46 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restrictToIntersection R X P ((Image.CechImage.preimage f).obj (∏ᶜ (U ∘ t))) |
| 47 | let b := fun t : Fin (n.len + 1) → ι => |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X P).map |
| 49 | (PreservesProduct.iso (Image.CechImage.preimage f) (U ∘ t)).symm.op.hom |
| 50 | have h := AlgebraicGeometry.Crystalline.Cohomology.Cech.AugmentationRestriction.CechAugmentationRestriction.lift_comp_map A B a b |
| 51 | exact h.trans (congrArg Pi.lift (funext fun t => |
| 52 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restrictToIntersection_map R X P |
| 53 | (PreservesProduct.iso (Image.CechImage.preimage f) (U ∘ t)).symm.hom).symm)) |
| 54 | |
| 55 | theorem coefficient_restriction (n : SimplexCategory) : |
| 56 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restriction R Y U ((Image.CechImage.functor R f).obj P)).app n ≫ |
| 57 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk ι U).cech).map |
| 58 | (Image.CechImage.coefficientsIso R f P).hom).app n = |
| 59 | (Image.CechImage.functor R f).map (pulledRestriction R f U P n) ≫ |
| 60 | piComparison (Image.CechImage.functor R f) (fun t : Fin (n.len + 1) → ι => |
| 61 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersection R X P ((Image.CechImage.preimage f).obj (∏ᶜ (U ∘ t)))) := by |
| 62 | let A := fun t : Fin (n.len + 1) → ι => |
| 63 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersection R Y ((Image.CechImage.functor R f).obj P) (∏ᶜ (U ∘ t)) |
| 64 | let B := fun t : Fin (n.len + 1) → ι => |
| 65 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersection R X P ((Image.CechImage.preimage f).obj (∏ᶜ (U ∘ t))) |
| 66 | let a := fun t : Fin (n.len + 1) → ι => |
| 67 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restrictToIntersection R Y ((Image.CechImage.functor R f).obj P) (∏ᶜ (U ∘ t)) |
| 68 | have h₁ := AlgebraicGeometry.Crystalline.Cohomology.Cech.AugmentationRestriction.CechAugmentationRestriction.lift_comp_map A (fun t => (Image.CechImage.functor R f).obj (B t)) a |
| 69 | (fun t => (Image.CechImage.coefficientsIso R f P).hom.app (op (∏ᶜ (U ∘ t)))) |
| 70 | have h₂ := AlgebraicGeometry.Crystalline.Cohomology.Cech.AugmentationRestriction.CechAugmentationRestriction.map_lift_comp_piComparison (Image.CechImage.functor R f) B |
| 71 | (fun t => AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restrictToIntersection R X P ((Image.CechImage.preimage f).obj (∏ᶜ (U ∘ t)))) |
| 72 | exact h₁.trans ((congrArg Pi.lift (funext fun _ => Category.comp_id _)).trans h₂.symm) |
| 73 | |
| 74 | theorem restriction_zero : |
| 75 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restriction R Y U ((Image.CechImage.functor R f).obj P)).app ⦋0⦌ ≫ (Image.CechImage.complexIso R f U P).hom.f 0 = |
| 76 | (Image.CechImage.functor R f).map ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restriction R X (fun i => f ⁻¹ᵁ U i) P).app ⦋0⦌) := by |
| 77 | let G := Image.CechImage.functor R f |
| 78 | let E := (FormalCoproduct.mk ι U).cech |
| 79 | let T := HomologicalComplex.eval (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R Y) (.up ℕ) 0 |
| 80 | let e := T.mapIso ((cechComplexFunctor U).mapIso (Image.CechImage.coefficientsIso R f P)) |
| 81 | let d := T.mapIso (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G E |
| 82 | ((Image.CechImage.preimage f).op ⋙ AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X P)) |
| 83 | let c := T.mapIso ((G.mapHomologicalComplex (.up ℕ)).mapIso |
| 84 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso (Image.CechImage.preimage f) U (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X P))) |
| 85 | let b := G.map (pulledRestriction R f U P ⦋0⦌) |
| 86 | have h₁ : (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restriction R Y U (G.obj P)).app ⦋0⦌ ≫ e.hom = b ≫ d.hom := |
| 87 | (coefficient_restriction R f U P ⦋0⦌).trans |
| 88 | (congrArg (fun k => b ≫ k) (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.hom_f G E |
| 89 | ((Image.CechImage.preimage f).op ⋙ AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X P) 0).symm) |
| 90 | have h₂ : b ≫ c.hom = G.map ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.restriction R X (fun i => f ⁻¹ᵁ U i) P).app ⦋0⦌) := |
| 91 | (G.map_comp _ _).symm.trans (congrArg G.map (opens_restriction R f U P ⦋0⦌)) |
| 92 | exact augmentation_along_isos e d c _ b _ h₁ h₂ |
| 93 | |
| 94 | theorem augmentation : |
| 95 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.augmentation R Y U ((Image.CechImage.functor R f).obj P) ≫ (Image.CechImage.complexIso R f U P).hom = |
| 96 | (HomologicalComplex.singleMapHomologicalComplex (Image.CechImage.functor R f) (.up ℕ) 0).inv.app P ≫ |
| 97 | ((Image.CechImage.functor R f).mapHomologicalComplex (.up ℕ)).map |
| 98 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.augmentation R X (fun i => f ⁻¹ᵁ U i) P) := by |
| 99 | apply HomologicalComplex.from_single_hom_ext |
| 100 | let G := Image.CechImage.functor R f |
| 101 | change (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.augmentation R Y U (G.obj P)).f 0 ≫ (Image.CechImage.complexIso R f U P).hom.f 0 = |
| 102 | 𝟙 _ ≫ G.map ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.augmentation R X (fun i => f ⁻¹ᵁ U i) P).f 0) |
| 103 | exact (congrArg (fun k => k ≫ (Image.CechImage.complexIso R f U P).hom.f 0) |
| 104 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Augmentation.CechAugmentation.augmentation_f_zero R Y U (G.obj P))).trans |
| 105 | ((restriction_zero R f U P).trans |
| 106 | ((congrArg G.map (AlgebraicGeometry.Crystalline.Cohomology.Cech.Augmentation.CechAugmentation.augmentation_f_zero R X (fun i => f ⁻¹ᵁ U i) P)).symm.trans |
| 107 | (Category.id_comp _).symm)) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.ImageAugmentation.CechImage |