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.ProjectedCechLE |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.ComplexPullback |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedReindex |
| 4 | |
| 5 | /-! # Projected Cech Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ProjectedCechTotal.ProjectedCechComplexPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The common-cover description of geometric Cech pullback |
| 12 | commutes with the actual presheaf differential and totalization. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe v |
| 17 | variable (R : Type) [CommRing R] {X Y : Scheme.{0}} (f : X ⟶ Y) |
| 18 | {C : Type} [Category.{v} C] [HasBinaryProducts C] |
| 19 | (F : C ⥤ Y.Opens) (G : C ⥤ X.Opens) (tau : G ⟶ F ⋙ Cech.Image.CechImage.preimage f) |
| 20 | {ι κ : Type} (U : ι → C) (V : κ → Y.Opens) |
| 21 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 22 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) G] |
| 23 | (r : FormalCoproduct.mk ι (F.obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 24 | |
| 25 | def targetPullback := NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{0} R) F |
| 26 | def sourcePullback := NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{0} R) G |
| 27 | |
| 28 | instance target_additive : (targetPullback R F).Additive := by |
| 29 | dsimp only [targetPullback] |
| 30 | infer_instance |
| 31 | instance source_additive : (sourcePullback R G).Additive := by |
| 32 | dsimp only [sourcePullback] |
| 33 | infer_instance |
| 34 | |
| 35 | def restriction : Cech.Image.CechImage.functor R f ⋙ targetPullback R F ⟶ sourcePullback R G where |
| 36 | app Q := Functor.whiskerRight (NatTrans.op tau) Q |
| 37 | naturality Q Q' a := by |
| 38 | apply NatTrans.ext |
| 39 | funext W |
| 40 | exact (a.naturality (tau.app W.unop).op).symm |
| 41 | |
| 42 | variable {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R Y) ℕ} |
| 43 | {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R X) ℕ} |
| 44 | (b : K ⟶ ((Cech.Image.CechImage.functor R f).mapHomologicalComplex (.up ℕ)).obj L) |
| 45 | |
| 46 | def pairedMap : ((targetPullback R F).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 47 | ((sourcePullback R G).mapHomologicalComplex (.up ℕ)).obj L := |
| 48 | ((targetPullback R F).mapHomologicalComplex (.up ℕ)).map b ≫ |
| 49 | ((restriction R f F G tau).mapHomologicalComplex (.up ℕ)).app L |
| 50 | |
| 51 | omit [HasBinaryProducts C] in |
| 52 | theorem paired_component (q : ℕ) : (pairedMap R f F G tau b).f q = |
| 53 | ProjectedCechLE.ProjectedCechPullback.transformation R f F G tau (b.f q) := rfl |
| 54 | |
| 55 | def bicomplexMap := CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.bicomplexMap F U V r K ≫ |
| 56 | ((IntegralComparison.NonemptyCechNerve.complexFunctor U).mapHomologicalComplex (.up ℕ)).map (pairedMap R f F G tau b) ≫ |
| 57 | (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso G U L).hom |
| 58 | |
| 59 | theorem comparison : bicomplexMap R f F G tau U V r b = |
| 60 | Cech.ComplexPullback.CechPullback.bicomplexMap R f V (G.obj ∘ U) r.f (ProjectedCechLE.ProjectedCechPullback.coverLE f F G tau U V r) b := by |
| 61 | apply HomologicalComplex.Hom.ext |
| 62 | funext q |
| 63 | exact ProjectedCechLE.ProjectedCechPullback.compatibility R f F G tau U V r (b.f q) |
| 64 | |
| 65 | theorem total : HomologicalComplex₂.total.map (bicomplexMap R f F G tau U V r b) (.up ℕ) = |
| 66 | HomologicalComplex₂.total.map |
| 67 | (Cech.ComplexPullback.CechPullback.bicomplexMap R f V (G.obj ∘ U) r.f (ProjectedCechLE.ProjectedCechPullback.coverLE f F G tau U V r) b) (.up ℕ) := |
| 68 | congrArg (fun a => HomologicalComplex₂.total.map a (.up ℕ)) (comparison R f F G tau U V r b) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ProjectedCechTotal.ProjectedCechComplexPullback |