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