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.Adjunction.FullyFaithful |
| 2 | |
| 3 | /-! # Adjunction Section Lift -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AdjunctionSectionLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An adjunction with invertible unit lifts a map of sections back to |
| 10 | the original objects when the source counit is invertible. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w z |
| 15 | |
| 16 | variable {C : Type u} {D : Type v} [Category.{w} C] [Category.{z} D] |
| 17 | {F : C ⥤ D} {G : D ⥤ C} (a : F ⊣ G) [IsIso a.unit] |
| 18 | (M N : D) [IsIso (a.counit.app M)] (t : G.obj M ⟶ G.obj N) |
| 19 | |
| 20 | def lift : M ⟶ N := inv (a.counit.app M) ≫ F.map t ≫ a.counit.app N |
| 21 | |
| 22 | theorem map_lift : G.map (lift a M N t) = t := by |
| 23 | have hc (P : D) : G.map (a.counit.app P) = inv (a.unit.app (G.obj P)) := by |
| 24 | apply (cancel_epi (a.unit.app (G.obj P))).mp |
| 25 | rw [IsIso.hom_inv_id] |
| 26 | exact a.right_triangle_components P |
| 27 | have hi : G.map (inv (a.counit.app M)) = a.unit.app (G.obj M) := by |
| 28 | apply (cancel_mono (G.map (a.counit.app M))).mp |
| 29 | rw [← G.map_comp, IsIso.inv_hom_id, G.map_id, hc, IsIso.hom_inv_id] |
| 30 | simp only [lift, G.map_comp, hi, hc] |
| 31 | have hn := a.unit.naturality t |
| 32 | change t ≫ a.unit.app (G.obj N) = a.unit.app (G.obj M) ≫ G.map (F.map t) at hn |
| 33 | rw [← Category.assoc, ← hn] |
| 34 | simp only [Category.assoc, IsIso.hom_inv_id, Category.comp_id] |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AdjunctionSectionLift |