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.EqToHom |
| 2 | |
| 3 | /-! # Transported Iso Square -/ |
| 4 | |
| 5 | namespace OAI.CategoryTheory.Isomorphisms.TransportedIsoSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | universe u v |
| 11 | theorem transportedIsoSquare {C : Type u} [Category.{v} C] |
| 12 | {A A' B B' : C} (hA : A' = A) (hB : B' = B) (e : A ≅ B) |
| 13 | (a : A ⟶ A) (a' : A' ⟶ A') (b : B ⟶ B) (b' : B' ⟶ B') |
| 14 | (ha : a' ≫ eqToHom hA = eqToHom hA ≫ a) |
| 15 | (hb : b' ≫ eqToHom hB = eqToHom hB ≫ b) |
| 16 | (h : a ≫ e.hom = e.hom ≫ b) : |
| 17 | a' ≫ (eqToIso hA ≪≫ e ≪≫ (eqToIso hB).symm).hom = |
| 18 | (eqToIso hA ≪≫ e ≪≫ (eqToIso hB).symm).hom ≫ b' := by |
| 19 | cases hA |
| 20 | cases hB |
| 21 | simpa only [eqToHom_refl, eqToIso_refl, Iso.trans_hom, Iso.refl_hom, |
| 22 | Iso.symm_hom, Iso.refl_inv, Category.comp_id, Category.id_comp] using |
| 23 | (show a' ≫ e.hom = e.hom ≫ b' from by |
| 24 | simp only [eqToHom_refl, Category.comp_id, Category.id_comp] at ha hb |
| 25 | rw [ha, hb] |
| 26 | exact h) |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.CategoryTheory.Isomorphisms.TransportedIsoSquare |