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.Preadditive.Basic |
| 2 | |
| 3 | /-! # Refinement Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.RefinementMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual right map followed by inverse left map is natural under |
| 10 | any comparison of functors that inverts those original left maps. -/ |
| 11 | open _root_.CategoryTheory |
| 12 | universe u v w z |
| 13 | variable {C : Type u} [Category.{v} C] {D : Type w} [Category.{z} D] |
| 14 | (F G : C ⥤ D) (τ : F ⟶ G) |
| 15 | {P K T : C} (l : K ⟶ T) (r : P ⟶ T) |
| 16 | [IsIso (F.map l)] [IsIso (G.map l)] |
| 17 | |
| 18 | def map : F.obj P ⟶ F.obj K := F.map r ≫ inv (F.map l) |
| 19 | |
| 20 | @[reassoc] |
| 21 | theorem map_left : RefinementMap.map F l r ≫ F.map l = F.map r := by |
| 22 | simp only [RefinementMap.map, Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 23 | |
| 24 | @[reassoc] |
| 25 | theorem naturality : RefinementMap.map F l r ≫ τ.app K = τ.app P ≫ RefinementMap.map G l r := by |
| 26 | apply (cancel_mono (G.map l)).mp |
| 27 | simp only [Category.assoc] |
| 28 | rw [← τ.naturality l, ← Category.assoc (RefinementMap.map F l r), map_left, τ.naturality r] |
| 29 | simp only [RefinementMap.map, Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.RefinementMap |