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.Linear.Basic |
| 2 | |
| 3 | /-! # Inverse Hom -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.InverseHom.InverseHomCongr |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Naturality of inverse coefficient-Hom transport along an actual commuting square of isomorphisms. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | variable {C : Type*} [Category* C] |
| 14 | |
| 15 | theorem inverse_square {B D B' D' : C} (e : B ≅ D) (d : B' ≅ D') |
| 16 | (a : B ⟶ B') (b : D ⟶ D') (h : e.hom ≫ b = a ≫ d.hom) : |
| 17 | b ≫ d.inv = e.inv ≫ a := by |
| 18 | rw [← cancel_epi e.hom, ← cancel_mono d.hom] |
| 19 | simpa only [Category.assoc, Iso.inv_hom_id, Iso.hom_inv_id_assoc, Category.comp_id] using h |
| 20 | |
| 21 | variable (R : Type*) [CommRing R] [Preadditive C] [Linear R C] |
| 22 | |
| 23 | theorem naturality {A B D B' D' : C} (e : B ≅ D) (d : B' ≅ D') |
| 24 | (a : B ⟶ B') (b : D ⟶ D') (h : e.hom ≫ b = a ≫ d.hom) (x : A ⟶ D) : |
| 25 | (Linear.homCongr R (Iso.refl A) d).symm (x ≫ b) = |
| 26 | (Linear.homCongr R (Iso.refl A) e).symm x ≫ a := by |
| 27 | simp only [Linear.homCongr_symm_apply, Iso.refl_hom, Category.id_comp] |
| 28 | exact (Category.assoc _ _ _).trans |
| 29 | ((congrArg (fun m => x ≫ m) (inverse_square e d a b h)).trans (Category.assoc _ _ _).symm) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.GeometricComparison.InverseHom.InverseHomCongr |