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 | /-! # Iso Index Transport -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IsoIndexTransport |
| 6 | |
| 7 | /-! Reindexing a family of isomorphisms preserves a naturality square. |
| 8 | The proof is independent of the objects represented by the indices. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | |
| 12 | universe u v w t |
| 13 | |
| 14 | variable {C : Type u} [Category.{v} C] {I : Type w} {J : Type t} |
| 15 | |
| 16 | def iso {A : I → C} {B : J → C} {i i' : I} {j j' : J} |
| 17 | (hi : i = i') (hj : j' = j) (e : A i' ≅ B j') : A i ≅ B j := |
| 18 | eqToIso (congrArg A hi) ≪≫ e ≪≫ eqToIso (congrArg B hj) |
| 19 | |
| 20 | @[reassoc] |
| 21 | theorem naturality {A₁ A₂ : I → C} {B₁ B₂ : J → C} |
| 22 | (a : ∀ i, A₁ i ⟶ A₂ i) (b : ∀ j, B₁ j ⟶ B₂ j) |
| 23 | {i i' : I} {j j' : J} (hi : i = i') (hj : j' = j) |
| 24 | (e₁ : A₁ i' ≅ B₁ j') (e₂ : A₂ i' ≅ B₂ j') |
| 25 | (h : a i' ≫ e₂.hom = e₁.hom ≫ b j') : |
| 26 | a i ≫ (iso hi hj e₂).hom = (iso hi hj e₁).hom ≫ b j := by |
| 27 | subst i' |
| 28 | subst j' |
| 29 | simpa only [iso, eqToIso_refl, Iso.refl_trans, Iso.trans_refl] using h |
| 30 | |
| 31 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IsoIndexTransport |