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.IntegralComparison.Sheaf.ComplexBasisGluing |
| 2 | |
| 3 | /-! # Complex Basis Gluing Large -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.ComplexBasisGluingLarge |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Basis gluing for sheaf complexes with coefficients in the larger |
| 10 | module universe used by the original crystalline resolution. -/ |
| 11 | open _root_.CategoryTheory Opposite _root_.TopologicalSpace |
| 12 | universe u v w z |
| 13 | variable (D : Type u) [Category.{v} D] [Abelian D] (X : TopCat.{w}) |
| 14 | |
| 15 | abbrev evaluation (U : Opens X) := |
| 16 | sheafToPresheaf (Opens.grothendieckTopology X) D ⋙ |
| 17 | (CategoryTheory.evaluation (Opens X)ᵒᵖ D).obj (op U) |
| 18 | |
| 19 | abbrev sections (F : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) |
| 20 | (U : Opens X) := |
| 21 | ((ComplexBasisGluingLarge.evaluation D X U).mapHomologicalComplex (.up ℕ)).obj F |
| 22 | |
| 23 | def restriction (F : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) |
| 24 | {U V : Opens X} (i : V ⟶ U) : sections D X F U ⟶ sections D X F V where |
| 25 | f n := (F.X n).obj.map i.op |
| 26 | comm' n m _ := (F.d n m).hom.naturality i.op |
| 27 | |
| 28 | variable {D X} {ι : Type z} (B : ι → Opens X) |
| 29 | (F G : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) |
| 30 | |
| 31 | structure BasisMap where |
| 32 | app : ∀ i, sections D X F (B i) ⟶ sections D X G (B i) |
| 33 | naturality : ∀ i j (h : B i ≤ B j), |
| 34 | app j ≫ restriction D X G (homOfLE h) = |
| 35 | restriction D X F (homOfLE h) ≫ app i |
| 36 | |
| 37 | namespace BasisMap |
| 38 | variable {B F G} (a : BasisMap B F G) |
| 39 | |
| 40 | def presheafMap (n : ℕ) : |
| 41 | (inducedFunctor B).op ⋙ (F.X n).obj ⟶ (inducedFunctor B).op ⋙ (G.X n).obj where |
| 42 | app i := (a.app i.unop).f n |
| 43 | naturality {i j} h := |
| 44 | (congrArg (fun f => f.f n) (a.naturality j.unop i.unop h.unop.hom.le)).symm |
| 45 | |
| 46 | variable (hB : Opens.IsBasis (Set.range B)) |
| 47 | |
| 48 | def degreeMap (n : ℕ) : F.X n ⟶ G.X n := |
| 49 | ⟨TopCat.Sheaf.restrictHomEquivHom (F.X n).obj (G.X n) hB (a.presheafMap n)⟩ |
| 50 | |
| 51 | theorem degreeMap_app (n : ℕ) (i : ι) : |
| 52 | (a.degreeMap hB n).hom.app (op (B i)) = (a.app i).f n := |
| 53 | TopCat.Sheaf.extend_hom_app (F.X n).obj (G.X n) hB (a.presheafMap n) i |
| 54 | |
| 55 | def glue : F ⟶ G where |
| 56 | f := a.degreeMap hB |
| 57 | comm' n m hnm := by |
| 58 | apply Sheaf.hom_ext |
| 59 | apply TopCat.Sheaf.hom_ext (F.X n).obj (G.X m) hB |
| 60 | intro i |
| 61 | change (a.degreeMap hB n).hom.app (op (B i)) ≫ (G.d n m).hom.app (op (B i)) = |
| 62 | (F.d n m).hom.app (op (B i)) ≫ (a.degreeMap hB m).hom.app (op (B i)) |
| 63 | rw [BasisMap.degreeMap_app, BasisMap.degreeMap_app] |
| 64 | exact (a.app i).comm n m |
| 65 | |
| 66 | theorem glue_app (n : ℕ) (i : ι) : |
| 67 | ((a.glue hB).f n).hom.app (op (B i)) = (a.app i).f n := |
| 68 | a.degreeMap_app hB n i |
| 69 | |
| 70 | theorem glue_unique (g : F ⟶ G) |
| 71 | (hg : ∀ n i, (g.f n).hom.app (op (B i)) = (a.app i).f n) : g = a.glue hB := by |
| 72 | apply HomologicalComplex.Hom.ext |
| 73 | funext n |
| 74 | apply Sheaf.hom_ext |
| 75 | apply TopCat.Sheaf.hom_ext (F.X n).obj (G.X n) hB |
| 76 | intro i |
| 77 | rw [glue_app, hg] |
| 78 | |
| 79 | end BasisMap |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.ComplexBasisGluingLarge |