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.NumberTheory.PadicHodge.GeometricComparison.Cech.OpenBaseChangeNaturality |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.Hypercohomology |
| 5 | |
| 6 | /-! # Image Naturality -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.ImageNaturality.CechImage |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual Čech direct-image comparison is natural in the coefficient presheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits Opposite _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem three_squares {C : Type*} [Category* C] {A B D E A' B' D' E' : C} |
| 19 | (e₁ : A ⟶ B) (e₂ : B ⟶ D) (e₃ : D ⟶ E) |
| 20 | (f₁ : A' ⟶ B') (f₂ : B' ⟶ D') (f₃ : D' ⟶ E') |
| 21 | (a : A ⟶ A') (b : B ⟶ B') (c : D ⟶ D') (d : E ⟶ E') |
| 22 | (h₁ : a ≫ f₁ = e₁ ≫ b) (h₂ : b ≫ f₂ = e₂ ≫ c) (h₃ : c ≫ f₃ = e₃ ≫ d) : |
| 23 | a ≫ (f₁ ≫ f₂ ≫ f₃) = (e₁ ≫ e₂ ≫ e₃) ≫ d := by |
| 24 | calc |
| 25 | a ≫ (f₁ ≫ f₂ ≫ f₃) = e₁ ≫ (b ≫ f₂) ≫ f₃ := by |
| 26 | rw [← Category.assoc a f₁ (f₂ ≫ f₃), h₁] |
| 27 | simp only [Category.assoc] |
| 28 | _ = e₁ ≫ (e₂ ≫ c) ≫ f₃ := by rw [h₂] |
| 29 | _ = (e₁ ≫ e₂) ≫ (c ≫ f₃) := by simp only [Category.assoc] |
| 30 | _ = (e₁ ≫ e₂ ≫ e₃) ≫ d := by rw [h₃]; simp only [Category.assoc] |
| 31 | |
| 32 | variable (R : Type u) [CommRing R] {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 33 | |
| 34 | theorem coefficients_naturality {P Q : AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R X} (a : P ⟶ Q) : |
| 35 | (IntrinsicCech.Functor.IntrinsicCechFunctor.coefficients R Y).map ((Image.CechImage.functor R f).map a) ≫ (Image.CechImage.coefficientsIso R f Q).hom = |
| 36 | (Image.CechImage.coefficientsIso R f P).hom ≫ Functor.whiskerLeft (Image.CechImage.preimage f).op |
| 37 | (Functor.whiskerRight ((IntrinsicCech.Functor.IntrinsicCechFunctor.coefficients R X).map a) (Image.CechImage.functor R f)) := by |
| 38 | apply NatTrans.ext |
| 39 | funext U |
| 40 | apply NatTrans.ext |
| 41 | funext V |
| 42 | exact Category.comp_id _ |
| 43 | |
| 44 | theorem naturality {ι : Type u} (U : ι → Y.Opens) |
| 45 | {P Q : AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R X} (a : P ⟶ Q) : |
| 46 | (IntrinsicCech.Functor.IntrinsicCechFunctor.functor R Y U).map ((Image.CechImage.functor R f).map a) ≫ (Image.CechImage.complexIso R f U Q).hom = |
| 47 | (Image.CechImage.complexIso R f U P).hom ≫ ((Image.CechImage.functor R f).mapHomologicalComplex (.up ℕ)).map |
| 48 | ((IntrinsicCech.Functor.IntrinsicCechFunctor.functor R X (fun i => f ⁻¹ᵁ U i)).map a) := by |
| 49 | let E := (FormalCoproduct.mk ι U).cech |
| 50 | let G := (Image.CechImage.functor R f).mapHomologicalComplex (.up ℕ) |
| 51 | let β := Functor.whiskerLeft (Image.CechImage.preimage f).op ((IntrinsicCech.Functor.IntrinsicCechFunctor.coefficients R X).map a) |
| 52 | let eP := (cechComplexFunctor U).mapIso (Image.CechImage.coefficientsIso R f P) |
| 53 | let eQ := (cechComplexFunctor U).mapIso (Image.CechImage.coefficientsIso R f Q) |
| 54 | let dP := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso (Image.CechImage.functor R f) E |
| 55 | ((Image.CechImage.preimage f).op ⋙ AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X P) |
| 56 | let dQ := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso (Image.CechImage.functor R f) E |
| 57 | ((Image.CechImage.preimage f).op ⋙ AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X Q) |
| 58 | let cP := AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso (Image.CechImage.preimage f) U (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X P) |
| 59 | let cQ := AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso (Image.CechImage.preimage f) U (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X Q) |
| 60 | let C := cechComplexFunctor (A := AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R Y) U |
| 61 | have h₁ : C.map ((IntrinsicCech.Functor.IntrinsicCechFunctor.coefficients R Y).map ((Image.CechImage.functor R f).map a)) ≫ eQ.hom = |
| 62 | eP.hom ≫ C.map (Functor.whiskerRight β (Image.CechImage.functor R f)) := |
| 63 | (C.map_comp _ _).symm.trans ((congrArg C.map (coefficients_naturality R f a)).trans (C.map_comp _ _)) |
| 64 | have h₂ := Section.Hypercohomology.SectionHypercohomology.inverse_square dP dQ _ _ |
| 65 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.naturality (Image.CechImage.functor R f) E β) |
| 66 | have h₃ : G.map ((cechComplexFunctor U).map β) ≫ G.map cQ.hom = |
| 67 | G.map cP.hom ≫ G.map ((IntrinsicCech.Functor.IntrinsicCechFunctor.functor R X (fun i => f ⁻¹ᵁ U i)).map a) := |
| 68 | (G.map_comp _ _).symm.trans ((congrArg G.map |
| 69 | (OpenBaseChangeNaturality.CechOpenBaseChangeNaturality.naturality (Image.CechImage.preimage f) U |
| 70 | ((IntrinsicCech.Functor.IntrinsicCechFunctor.coefficients R X).map a))).trans (G.map_comp _ _)) |
| 71 | exact three_squares eP.hom dP.inv (G.map cP.hom) eQ.hom dQ.inv (G.map cQ.hom) |
| 72 | _ _ _ _ h₁ h₂ h₃ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.ImageNaturality.CechImage |