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.Functor.OfSequence |
| 2 | import Mathlib.CategoryTheory.Iso |
| 3 | |
| 4 | /-! # Op Sequence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.OpSequence.OpSequenceIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Isomorphisms of inverse sequences require only the actual |
| 11 | successor transition squares. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | |
| 15 | variable {C : Type*} [Category* C] (F G : ℕᵒᵖ ⥤ C) |
| 16 | (e : ∀ n : ℕ, F.obj (op n) ≅ G.obj (op n)) |
| 17 | (h : ∀ n : ℕ, F.map (homOfLE (Nat.le_succ n)).op ≫ (e n).hom = |
| 18 | (e (n + 1)).hom ≫ G.map (homOfLE (Nat.le_succ n)).op) |
| 19 | |
| 20 | def iso : F ≅ G := NatIso.ofComponents (fun n => e n.unop) |
| 21 | (fun {_ _} a => (NatTrans.ofOpSequence (fun n => (e n).hom) h).naturality a) |
| 22 | |
| 23 | theorem hom_app (n : ℕ) : (iso F G e h).hom.app (op n) = (e n).hom := rfl |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.NumberTheory.PadicHodge.GeometricComparison.OpSequence.OpSequenceIso |