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.IntrinsicCech.GlobalSectionNormalization |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.ImageNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.GlobalImage |
| 4 | |
| 5 | /-! # Global Image -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.GlobalImage.IntrinsicCechGlobalImage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual native Čech global-section comparison commutes with the direct-image comparison on inverse-image opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | theorem conjugate_square {C : Type*} [Category* C] {A A' B B' D E : C} |
| 16 | (u : A ≅ A') (v : B ≅ B') (d : A ⟶ B) (g : B ⟶ D) (h : A ⟶ E) (b : E ⟶ D) |
| 17 | (hd : d ≫ g = h ≫ b) : (u.inv ≫ d ≫ v.hom) ≫ (v.inv ≫ g) = (u.inv ≫ h) ≫ b := by |
| 18 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 19 | exact congrArg (fun k => u.inv ≫ k) hd |
| 20 | |
| 21 | variable (R : Type) [CommRing R] {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 22 | {ι : Type} (U : ι → Y.left.Opens) (F : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) |
| 23 | |
| 24 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).Additive where |
| 25 | map_add := rfl |
| 26 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).Additive where |
| 27 | map_add := rfl |
| 28 | |
| 29 | theorem square : |
| 30 | ((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).mapHomologicalComplex (.up ℕ)).map |
| 31 | (Image.IntrinsicCechImage.iso f U F).hom ≫ |
| 32 | (GlobalSectionFunctor.IntrinsicCechGlobalSectionFunctor.iso R X (fun i => f.left ⁻¹ᵁ U i)).hom.app F = |
| 33 | (GlobalSectionFunctor.IntrinsicCechGlobalSectionFunctor.iso R Y U).hom.app ((DeRham.Int.directImage f).obj F) ≫ |
| 34 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso (Cech.Image.CechImage.preimage f.left) U F.obj).hom := by |
| 35 | let EY := ((evaluation Y.left.Opensᵒᵖ (ModuleCat.{0} R)).obj (op ⊤)).mapHomologicalComplex (.up ℕ) |
| 36 | let EX := ((evaluation X.left.Opensᵒᵖ (ModuleCat.{0} R)).obj (op ⊤)).mapHomologicalComplex (.up ℕ) |
| 37 | let G := (Cech.Image.CechImage.functor R f.left).mapHomologicalComplex (.up ℕ) |
| 38 | let V := fun i => f.left ⁻¹ᵁ U i |
| 39 | let u₀ := PresheafUnit.IntrinsicCechPresheafUnit.iso R Y.left U ((DeRham.Int.directImage f).obj F) |
| 40 | let v₀ := PresheafUnit.IntrinsicCechPresheafUnit.iso R X.left V F |
| 41 | let u := EY.mapIso u₀ |
| 42 | let v := EX.mapIso v₀ |
| 43 | let d := EY.map (Cech.Image.CechImage.complexIso R f.left U F.obj).hom |
| 44 | let s := ((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).mapHomologicalComplex (.up ℕ)).map |
| 45 | (Image.IntrinsicCechImage.iso f U F).hom |
| 46 | have hm : s = u.inv ≫ d ≫ v.hom := |
| 47 | (congrArg EY.map (ImageNaturality.IntrinsicCechImage.map_iso_hom f U F)).trans |
| 48 | ((EY.map_comp u₀.inv ((Cech.Image.CechImage.complexIso R f.left U F.obj).hom ≫ G.map v₀.hom)).trans |
| 49 | (congrArg (fun k => EY.map u₀.inv ≫ k) |
| 50 | (EY.map_comp (Cech.Image.CechImage.complexIso R f.left U F.obj).hom (G.map v₀.hom)))) |
| 51 | have hd := Cech.GlobalImage.CechGlobalImage.square R f F.obj U |
| 52 | have h := conjugate_square u v d (AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.complexIso R X V F.obj).hom |
| 53 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.complexIso R Y U ((Cech.Image.CechImage.functor R f.left).obj F.obj)).hom |
| 54 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso (Cech.Image.CechImage.preimage f.left) U F.obj).hom hd |
| 55 | exact (congrArg (fun k => s ≫ k) (GlobalSectionNormalization.IntrinsicCechGlobalSectionNormalization.hom R X V F)).trans |
| 56 | ((congrArg (fun k => k ≫ (v.inv ≫ (AlgebraicGeometry.Crystalline.Cohomology.Cech.GlobalSectionsIso.CechGlobalSectionsIso.complexIso R X V F.obj).hom)) hm).trans |
| 57 | (h.trans (congrArg (fun k => k ≫ (AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso (Cech.Image.CechImage.preimage f.left) U F.obj).hom) |
| 58 | (GlobalSectionNormalization.IntrinsicCechGlobalSectionNormalization.hom R Y U ((DeRham.Int.directImage f).obj F)).symm))) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.GlobalImage.IntrinsicCechGlobalImage |