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.Algebra.Homology.ShortComplex.Abelian |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.Exact |
| 3 | |
| 4 | /-! # Short Complex Transport -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ShortComplexTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: transporting a short exact diagram through specified object isomorphisms |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] (S : ShortComplex C) |
| 19 | {X Y Z : C} (e₁ : S.X₁ ≅ X) (e₂ : S.X₂ ≅ Y) (e₃ : S.X₃ ≅ Z) |
| 20 | |
| 21 | def sequence : ShortComplex C := |
| 22 | ShortComplex.mk (e₁.inv ≫ S.f ≫ e₂.hom) (e₂.inv ≫ S.g ≫ e₃.hom) (by |
| 23 | simp [Category.assoc]) |
| 24 | |
| 25 | def iso : S ≅ sequence S e₁ e₂ e₃ := |
| 26 | ShortComplex.isoMk e₁ e₂ e₃ (by simp [sequence]) (by simp [sequence]) |
| 27 | |
| 28 | theorem exact (hS : S.Exact) : (sequence S e₁ e₂ e₃).Exact := |
| 29 | ShortComplex.exact_of_iso (iso S e₁ e₂ e₃) hS |
| 30 | |
| 31 | theorem mono_f [Mono S.f] : Mono (sequence S e₁ e₂ e₃).f := by |
| 32 | change Mono (e₁.inv ≫ S.f ≫ e₂.hom) |
| 33 | infer_instance |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ShortComplexTransport |