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.CechPullback |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CochainLimits |
| 3 | |
| 4 | /-! # Complex Pullback -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.ComplexPullback.CechPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual direct Čech pullback acts on complexes of presheaves and respects commuting squares. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 17 | {ι κ : Type u} (U : ι → Y.Opens) (V : κ → X.Opens) |
| 18 | (r : κ → ι) (hr : ∀ i, V i ≤ f ⁻¹ᵁ U (r i)) |
| 19 | |
| 20 | local instance (Z : Scheme.{u}) {ν : Type u} (W : ν → Z.Opens) : |
| 21 | (cechComplexFunctor (A := ModuleCat.{u} R) W).Additive := by |
| 22 | change (FormalCoproduct.cochainComplexFunctor (A := ModuleCat.{u} R) (FormalCoproduct.mk ν W).cech).Additive |
| 23 | infer_instance |
| 24 | |
| 25 | def bicomplexMap {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R Y) ℕ} |
| 26 | {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R X) ℕ} |
| 27 | (b : K ⟶ ((Image.CechImage.functor R f).mapHomologicalComplex (.up ℕ)).obj L) : |
| 28 | ((cechComplexFunctor U).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 29 | ((cechComplexFunctor V).mapHomologicalComplex (.up ℕ)).obj L where |
| 30 | f n := CechPullback.map R f U V r hr (b.f n) |
| 31 | comm' n m _ := (CechPullback.naturality R f U V r hr (b.f n) (b.f m) (K.d n m) (L.d n m) (b.comm n m)).symm |
| 32 | |
| 33 | theorem bicomplex_naturality |
| 34 | {K K' : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R Y) ℕ} |
| 35 | {L L' : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.Cech.Presheaf.CechPresheaf.Presheaves R X) ℕ} |
| 36 | (b : K ⟶ ((Image.CechImage.functor R f).mapHomologicalComplex (.up ℕ)).obj L) |
| 37 | (b' : K' ⟶ ((Image.CechImage.functor R f).mapHomologicalComplex (.up ℕ)).obj L') |
| 38 | (a : K ⟶ K') (c : L ⟶ L') |
| 39 | (h : b ≫ ((Image.CechImage.functor R f).mapHomologicalComplex (.up ℕ)).map c = a ≫ b') : |
| 40 | ((cechComplexFunctor U).mapHomologicalComplex (.up ℕ)).map a ≫ bicomplexMap R f U V r hr b' = |
| 41 | bicomplexMap R f U V r hr b ≫ ((cechComplexFunctor V).mapHomologicalComplex (.up ℕ)).map c := by |
| 42 | ext n : 1 |
| 43 | exact CechPullback.naturality R f U V r hr (b.f n) (b'.f n) (a.f n) (c.f n) (congrArg (fun k => k.f n) h) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.ComplexPullback.CechPullback |