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.Picard.PoincareBundle.PullHom |
| 2 | import Mathlib.CategoryTheory.Bicategory.Functor.LocallyDiscrete |
| 3 | |
| 4 | /-! # Descent Reindexing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentReindexing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Pullback of descent morphisms commutes with reindexing the base category |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite |
| 15 | |
| 16 | universe u₁ u₂ v₁ v₂ w₁ w₂ |
| 17 | |
| 18 | variable {C : Type u₁} {D : Type u₂} [Category.{v₁} C] [Category.{v₂} D] |
| 19 | (G : C ⥤ D) (F : Pseudofunctor (LocallyDiscrete Dᵒᵖ) Cat.{w₁,w₂}) |
| 20 | |
| 21 | /-- Reindex a category of geometric objects along a functor on base objects. -/ |
| 22 | def reindex : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{w₁,w₂} := |
| 23 | G.op.toPseudofunctor.comp F |
| 24 | |
| 25 | theorem mapComp_reindex {X Y Z : C} (f : X ⟶ Y) (g : Y ⟶ Z) (fg : X ⟶ Z) |
| 26 | (h : f ≫ g = fg) : |
| 27 | (reindex G F).mapComp' g.op.toLoc f.op.toLoc fg.op.toLoc (by rw [← h]; rfl) = |
| 28 | F.mapComp' (G.map g).op.toLoc (G.map f).op.toLoc (G.map fg).op.toLoc |
| 29 | (by rw [← h, G.map_comp]; rfl) := by |
| 30 | subst fg |
| 31 | change (G.op.toPseudofunctor.comp F).mapComp' g.op.toLoc f.op.toLoc |
| 32 | (g.op.toLoc ≫ f.op.toLoc) rfl = _ |
| 33 | rw [Pseudofunctor.mapComp'_eq_mapComp, Pseudofunctor.comp_mapComp, |
| 34 | Functor.toPseudofunctor_mapComp] |
| 35 | unfold Pseudofunctor.mapComp' |
| 36 | rfl |
| 37 | |
| 38 | /-- Pulling a descent morphism after reindexing is the original pullback on the mapped base objects. -/ |
| 39 | theorem pullHom_reindex {X₁ X₂ Y Y' : C} |
| 40 | {L₁ : F.obj (.mk (op (G.obj X₁)))} {L₂ : F.obj (.mk (op (G.obj X₂)))} |
| 41 | {f₁ : Y ⟶ X₁} {f₂ : Y ⟶ X₂} |
| 42 | (a : ((reindex G F).map f₁.op.toLoc).toFunctor.obj L₁ ⟶ |
| 43 | ((reindex G F).map f₂.op.toLoc).toFunctor.obj L₂) |
| 44 | (g : Y' ⟶ Y) (gf₁ : Y' ⟶ X₁) (gf₂ : Y' ⟶ X₂) |
| 45 | (h₁ : g ≫ f₁ = gf₁) (h₂ : g ≫ f₂ = gf₂) : |
| 46 | Pseudofunctor.LocallyDiscreteOpToCat.pullHom (F := reindex G F) a g gf₁ gf₂ h₁ h₂ = |
| 47 | Pseudofunctor.LocallyDiscreteOpToCat.pullHom (F := F) a (G.map g) (G.map gf₁) (G.map gf₂) |
| 48 | ((G.map_comp g f₁).symm.trans (congrArg G.map h₁)) |
| 49 | ((G.map_comp g f₂).symm.trans (congrArg G.map h₂)) := by |
| 50 | unfold Pseudofunctor.LocallyDiscreteOpToCat.pullHom |
| 51 | rw [mapComp_reindex G F g f₁ gf₁ h₁, mapComp_reindex G F g f₂ gf₂ h₂] |
| 52 | rfl |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentReindexing |