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.Functor.Basic |
| 2 | import Mathlib.CategoryTheory.Iso |
| 3 | |
| 4 | /-! # Inverse -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.Inverse.FunctorInverseComparison |
| 7 | |
| 8 | /-! Cancellation of an explicitly specified comparison isomorphism |
| 9 | preserves a global comparison whose two factors are already identified. -/ |
| 10 | open _root_.CategoryTheory |
| 11 | universe u v a b |
| 12 | variable {C : Type u} [Category.{v} C] {D : Type a} [Category.{b} D] |
| 13 | (F : C ⥤ D) {K L M : C} {B : D} |
| 14 | (g : K ⟶ M) (e : L ≅ M) |
| 15 | (a : F.obj K ⟶ B) (b : F.obj M ⟶ B) (c : F.obj L ⟶ B) |
| 16 | |
| 17 | theorem equality (hg : F.map g ≫ b = a) (he : F.map e.hom ≫ b = c) : |
| 18 | F.map (g ≫ e.inv) ≫ c = a := by |
| 19 | rw [← he, ← Category.assoc, ← F.map_comp, Category.assoc, |
| 20 | e.inv_hom_id, Category.comp_id] |
| 21 | exact hg |
| 22 | |
| 23 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.Inverse.FunctorInverseComparison |