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 Mathlib.CategoryTheory.Monad.Adjunction |
| 2 | import Mathlib.CategoryTheory.Yoneda |
| 3 | |
| 4 | /-! # Corepresentable Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CorepresentableDescent.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: canonical coaction on an affine local representative |
| 12 | |
| 13 | This is the algebra-side form of the representative descent construction. |
| 14 | It gives the actual coaction and verifies its counit and compatibility laws. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u v u' v' w |
| 23 | |
| 24 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 25 | {L : C ⥤ D} {R : D ⥤ C} (adj : L ⊣ R) (F : C ⥤ Type w) |
| 26 | {Y : D} (rep : (R ⋙ F).CorepresentableBy Y) |
| 27 | |
| 28 | /-- The actual coaction determined by the universal section and the unit. -/ |
| 29 | def corepresentableDescentCoaction : Y ⟶ L.obj (R.obj Y) := |
| 30 | rep.homEquiv.symm (F.map (adj.unit.app (R.obj Y)) (rep.homEquiv (𝟙 Y))) |
| 31 | |
| 32 | theorem corepresentableDescentCoaction_section : |
| 33 | rep.homEquiv (corepresentableDescentCoaction adj F rep) = |
| 34 | F.map (adj.unit.app (R.obj Y)) (rep.homEquiv (𝟙 Y)) := |
| 35 | rep.homEquiv.apply_symm_apply _ |
| 36 | |
| 37 | theorem corepresentableDescentCoaction_pullback : |
| 38 | F.map (R.map (corepresentableDescentCoaction adj F rep)) (rep.homEquiv (𝟙 Y)) = |
| 39 | F.map (adj.unit.app (R.obj Y)) (rep.homEquiv (𝟙 Y)) := by |
| 40 | exact (rep.homEquiv_eq (corepresentableDescentCoaction adj F rep)).symm.trans |
| 41 | (corepresentableDescentCoaction_section adj F rep) |
| 42 | |
| 43 | theorem corepresentableDescentCoaction_counit : |
| 44 | corepresentableDescentCoaction adj F rep ≫ adj.counit.app Y = 𝟙 Y := by |
| 45 | apply rep.homEquiv.injective |
| 46 | erw [rep.homEquiv_comp, corepresentableDescentCoaction_section adj F rep] |
| 47 | change F.map (R.map (adj.counit.app Y)) |
| 48 | (F.map (adj.unit.app (R.obj Y)) (rep.homEquiv (𝟙 Y))) = _ |
| 49 | erw [← Functor.map_comp_apply, adj.right_triangle_components] |
| 50 | simp |
| 51 | |
| 52 | theorem corepresentableDescentCoaction_coassoc : |
| 53 | corepresentableDescentCoaction adj F rep ≫ L.map (adj.unit.app (R.obj Y)) = |
| 54 | corepresentableDescentCoaction adj F rep ≫ |
| 55 | L.map (R.map (corepresentableDescentCoaction adj F rep)) := by |
| 56 | let a := corepresentableDescentCoaction adj F rep |
| 57 | let s := rep.homEquiv (𝟙 Y) |
| 58 | apply rep.homEquiv.injective |
| 59 | erw [rep.homEquiv_comp, rep.homEquiv_comp, corepresentableDescentCoaction_section adj F rep] |
| 60 | change F.map (R.map (L.map (adj.unit.app (R.obj Y)))) |
| 61 | (F.map (adj.unit.app (R.obj Y)) s) = |
| 62 | F.map (R.map (L.map (R.map a))) (F.map (adj.unit.app (R.obj Y)) s) |
| 63 | calc |
| 64 | _ = F.map (adj.unit.app (R.obj (L.obj (R.obj Y)))) |
| 65 | (F.map (adj.unit.app (R.obj Y)) s) := by |
| 66 | erw [← Functor.map_comp_apply, ← Functor.map_comp_apply] |
| 67 | exact congrArg (fun g => F.map g s) (adj.unit.naturality (adj.unit.app (R.obj Y))).symm |
| 68 | _ = F.map (adj.unit.app (R.obj (L.obj (R.obj Y)))) (F.map (R.map a) s) := by |
| 69 | rw [corepresentableDescentCoaction_pullback adj F rep] |
| 70 | _ = _ := by |
| 71 | erw [← Functor.map_comp_apply, ← Functor.map_comp_apply] |
| 72 | exact congrArg (fun g => F.map g s) (adj.unit.naturality (R.map a)) |
| 73 | |
| 74 | /-- The local algebra representative carries the canonical checked descent coalgebra. -/ |
| 75 | def corepresentableDescentCoalgebra : adj.toComonad.Coalgebra where |
| 76 | A := Y |
| 77 | a := corepresentableDescentCoaction adj F rep |
| 78 | counit := corepresentableDescentCoaction_counit adj F rep |
| 79 | coassoc := corepresentableDescentCoaction_coassoc adj F rep |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CorepresentableDescent.Construction |