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.ComplexBasisGluingLarge |
| 2 | |
| 3 | /-! # Complex Basis Extension -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.ComplexBasisExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Maps from a presheaf complex to a sheaf complex extend uniquely |
| 10 | from a basis. The source need not already satisfy the sheaf condition. -/ |
| 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 underlying (G : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) : |
| 16 | CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ := |
| 17 | ((sheafToPresheaf (Opens.grothendieckTopology X) D).mapHomologicalComplex (.up ℕ)).obj G |
| 18 | |
| 19 | abbrev sections (F : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) (U : Opens X) := |
| 20 | (((CategoryTheory.evaluation (Opens X)ᵒᵖ D).obj (op U)).mapHomologicalComplex (.up ℕ)).obj F |
| 21 | |
| 22 | def restriction (F : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) |
| 23 | {U V : Opens X} (i : V ⟶ U) : sections D X F U ⟶ sections D X F V where |
| 24 | f n := (F.X n).map i.op |
| 25 | comm' n m _ := (F.d n m).naturality i.op |
| 26 | |
| 27 | variable {D X} {ι : Type z} (B : ι → Opens X) |
| 28 | (F : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) |
| 29 | (G : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) |
| 30 | |
| 31 | structure BasisMap where |
| 32 | app : ∀ i, sections D X F (B i) ⟶ sections D X (underlying D X G) (B i) |
| 33 | naturality : ∀ i j (h : B i ≤ B j), |
| 34 | app j ≫ restriction D X (underlying 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 ⟶ (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).obj := |
| 49 | TopCat.Sheaf.restrictHomEquivHom (F.X n) (G.X n) hB (a.presheafMap n) |
| 50 | |
| 51 | theorem degreeMap_app (n : ℕ) (i : ι) : |
| 52 | (a.degreeMap hB n).app (op (B i)) = (a.app i).f n := |
| 53 | TopCat.Sheaf.extend_hom_app (F.X n) (G.X n) hB (a.presheafMap n) i |
| 54 | |
| 55 | def map : F ⟶ underlying D X G where |
| 56 | f := a.degreeMap hB |
| 57 | comm' n m _ := by |
| 58 | apply TopCat.Sheaf.hom_ext (F.X n) (G.X m) hB |
| 59 | intro i |
| 60 | change (a.degreeMap hB n).app (op (B i)) ≫ (G.d n m).hom.app (op (B i)) = |
| 61 | (F.d n m).app (op (B i)) ≫ (a.degreeMap hB m).app (op (B i)) |
| 62 | rw [BasisMap.degreeMap_app, BasisMap.degreeMap_app] |
| 63 | exact (a.app i).comm n m |
| 64 | |
| 65 | theorem map_app (n : ℕ) (i : ι) : |
| 66 | ((a.map hB).f n).app (op (B i)) = (a.app i).f n := |
| 67 | a.degreeMap_app hB n i |
| 68 | |
| 69 | theorem unique (f : F ⟶ underlying D X G) |
| 70 | (hf : ∀ n i, (f.f n).app (op (B i)) = (a.app i).f n) : f = a.map hB := by |
| 71 | apply HomologicalComplex.Hom.ext |
| 72 | funext n |
| 73 | apply TopCat.Sheaf.hom_ext (F.X n) (G.X n) hB |
| 74 | intro i |
| 75 | rw [map_app, hf] |
| 76 | |
| 77 | end BasisMap |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.ComplexBasisExtension |