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.Equivalence |
| 2 | |
| 3 | /-! # Inverse Square -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.InverseSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Inverse comparison maps retain an exact commuting functor square. -/ |
| 10 | open _root_.CategoryTheory |
| 11 | variable {C D : Type*} [Category C] [Category D] (G : C ⥤ D) |
| 12 | {A B : C} {A' B' : D} (eA : G.obj A ≅ A') (eB : G.obj B ≅ B') |
| 13 | (f : A ⟶ B) (f' : A' ⟶ B') |
| 14 | (h : G.map f ≫ eB.hom = eA.hom ≫ f') |
| 15 | |
| 16 | include h in |
| 17 | theorem isIso [IsIso f] : IsIso f' := by |
| 18 | have he : f' = eA.inv ≫ G.map f ≫ eB.hom := by |
| 19 | apply (cancel_epi eA.hom).mp |
| 20 | simpa only [Category.assoc, Iso.hom_inv_id_assoc] using h.symm |
| 21 | rw [he] |
| 22 | infer_instance |
| 23 | |
| 24 | include h in |
| 25 | theorem inverse [IsIso f] [IsIso f'] : |
| 26 | G.map (inv f) ≫ eA.hom = eB.hom ≫ inv f' := by |
| 27 | apply (cancel_mono f').mp |
| 28 | simp only [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 29 | rw [← h, ← Category.assoc, ← G.map_comp, IsIso.inv_hom_id, G.map_id, Category.id_comp] |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.InverseSquare |