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.CoefficientComposition |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.OpenCoefficientNaturality |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso |
| 5 | |
| 6 | /-! # Global Image -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.GlobalImage.CechGlobalImage |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Taking global sections of the actual Čech direct-image comparison gives the original comparison on inverse-image opens. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits Opposite _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem five_factors {K : Type*} [Category* K] {A B C D E F G H I : K} |
| 17 | (a : A ⟶ B) (b : B ⟶ C) (c : C ⟶ D) (d : D ⟶ E) (e : E ⟶ F) |
| 18 | (u : A ⟶ G) (α : B ⟶ H) (β : C ⟶ H) (p : G ⟶ H) (q : H ⟶ E) |
| 19 | (v : G ⟶ I) (t : H ⟶ I) (w : I ⟶ F) |
| 20 | (h₁ : a ≫ α = u ≫ p) (h₂ : b ≫ β = α) (h₃ : c ≫ d = β ≫ q) |
| 21 | (h₄ : q ≫ e = t ≫ w) (h₅ : p ≫ t = v) : |
| 22 | (a ≫ b ≫ c) ≫ (d ≫ e) = (u ≫ v) ≫ w := by |
| 23 | calc |
| 24 | (a ≫ b ≫ c) ≫ (d ≫ e) = (a ≫ b) ≫ (c ≫ d) ≫ e := by simp only [Category.assoc] |
| 25 | _ = (a ≫ b) ≫ (β ≫ q) ≫ e := by rw [h₃] |
| 26 | _ = (a ≫ (b ≫ β)) ≫ (q ≫ e) := by simp only [Category.assoc] |
| 27 | _ = (a ≫ α) ≫ (t ≫ w) := by rw [h₂, h₄] |
| 28 | _ = (u ≫ p) ≫ (t ≫ w) := by rw [h₁] |
| 29 | _ = (u ≫ (p ≫ t)) ≫ w := by simp only [Category.assoc] |
| 30 | _ = (u ≫ v) ≫ w := by rw [h₅] |
| 31 | |
| 32 | variable (R : Type) [CommRing R] {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 33 | (P : AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R X.left) |
| 34 | |
| 35 | theorem coefficient_triangle : |
| 36 | Functor.whiskerRight (Image.CechImage.coefficientsIso R f.left P).hom |
| 37 | ((evaluation Y.left.Opensᵒᵖ (ModuleCat.{0} R)).obj (op ⊤)) ≫ |
| 38 | Functor.whiskerLeft (Image.CechImage.preimage f.left).op (AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.coefficientIso R X P).hom = |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.coefficientIso R Y ((Image.CechImage.functor R f.left).obj P)).hom := by |
| 40 | apply NatTrans.ext |
| 41 | funext U |
| 42 | change 𝟙 _ ≫ P.map _ = P.map _ |
| 43 | exact (Category.id_comp _).trans (congrArg P.map (Subsingleton.elim _ _)) |
| 44 | |
| 45 | theorem square {ι : Type} (U : ι → Y.left.Opens) : |
| 46 | (((evaluation Y.left.Opensᵒᵖ (ModuleCat.{0} R)).obj (op ⊤)).mapHomologicalComplex (.up ℕ)).map |
| 47 | (Image.CechImage.complexIso R f.left U P).hom ≫ |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.complexIso R X (fun i => f.left ⁻¹ᵁ U i) P).hom = |
| 49 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.complexIso R Y U ((Image.CechImage.functor R f.left).obj P)).hom ≫ |
| 50 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso (Image.CechImage.preimage f.left) U P).hom := by |
| 51 | let F := Image.CechImage.preimage f.left |
| 52 | let D := Image.CechImage.functor R f.left |
| 53 | let EX := (evaluation X.left.Opensᵒᵖ (ModuleCat.{0} R)).obj (op ⊤) |
| 54 | let EY := (evaluation Y.left.Opensᵒᵖ (ModuleCat.{0} R)).obj (op ⊤) |
| 55 | let EYc := EY.mapHomologicalComplex (.up ℕ) |
| 56 | let EXc := EX.mapHomologicalComplex (.up ℕ) |
| 57 | let Dc := D.mapHomologicalComplex (.up ℕ) |
| 58 | let Q := AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R X.left P |
| 59 | let B := F.op ⋙ Q |
| 60 | let A := AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.intersectionCoefficients R Y.left (D.obj P) |
| 61 | let E := (FormalCoproduct.mk ι U).cech |
| 62 | let EF := (FormalCoproduct.mk ι (fun i => f.left ⁻¹ᵁ U i)).cech |
| 63 | let CY := cechComplexFunctor (A := AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R Y.left) U |
| 64 | let I := cechComplexFunctor (A := ModuleCat.{0} R) U |
| 65 | let J := cechComplexFunctor (A := ModuleCat.{0} R) (fun i => f.left ⁻¹ᵁ U i) |
| 66 | let a := Image.CechImage.coefficientsIso R f.left P |
| 67 | let c := AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.coefficientIso R X P |
| 68 | let cY := AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.coefficientIso R Y (D.obj P) |
| 69 | let d := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso D E B |
| 70 | let eY := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso EY E A |
| 71 | let eBD := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso EY E (B ⋙ D) |
| 72 | let eBX := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso EX E B |
| 73 | let eQX := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso EX EF Q |
| 74 | let bcQ := AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso F U Q |
| 75 | let bcP := AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso F U P |
| 76 | let bcQX := AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso F U (Q ⋙ EX) |
| 77 | let φ := I.map (Functor.whiskerRight a.hom EY) |
| 78 | let ψ := I.map (Functor.whiskerLeft F.op c.hom) |
| 79 | have h₁ := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.naturality EY E a.hom |
| 80 | have h₂ : EYc.map d.inv ≫ eBX.hom = eBD.hom := |
| 81 | (EYc.mapIso d).inv_comp_eq.mpr (CoefficientComposition.CechCoefficientComposition.hom D EY E B).symm |
| 82 | have h₃ := OpenCoefficientNaturality.CechOpenCoefficientNaturality.naturality F EX U Q |
| 83 | have h₄ := (OpenBaseChangeNaturality.CechOpenBaseChangeNaturality.naturality F U c.hom).symm |
| 84 | have h₅ : φ ≫ ψ = I.map cY.hom := |
| 85 | (I.map_comp _ _).symm.trans (congrArg I.map (coefficient_triangle R f P)) |
| 86 | have hm : EYc.map ((CY.map a.hom) ≫ d.inv ≫ Dc.map bcQ.hom) = |
| 87 | EYc.map (CY.map a.hom) ≫ EYc.map d.inv ≫ EXc.map bcQ.hom := |
| 88 | (EYc.map_comp _ _).trans (congrArg (fun k => EYc.map (CY.map a.hom) ≫ k) (EYc.map_comp _ _)) |
| 89 | exact (congrArg (fun k => k ≫ (AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.complexIso R X (fun i => f.left ⁻¹ᵁ U i) P).hom) hm).trans |
| 90 | (five_factors (EYc.map (CY.map a.hom)) (EYc.map d.inv) (EXc.map bcQ.hom) eQX.hom (J.map c.hom) |
| 91 | eY.hom eBD.hom eBX.hom φ bcQX.hom (I.map cY.hom) ψ bcP.hom h₁ h₂ h₃ h₄ h₅) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.GlobalImage.CechGlobalImage |