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.Basic |
| 2 | |
| 3 | /-! # Section Square -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SectionSquare |
| 6 | |
| 7 | /-! A functorial comparison transports through a commuting section restriction square. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | variable {C D : Type*} [Category* C] [Category* D] (F : C ⥤ D) |
| 12 | {A B G H U V : C} (a : A ⟶ G) (b : A ⟶ B) (d : B ⟶ H) |
| 13 | (r : G ⟶ H) (u : G ⟶ U) (v : H ⟶ V) (k : U ⟶ V) |
| 14 | |
| 15 | theorem square (h : F.map (a ≫ r) = F.map (b ≫ d)) (hs : u ≫ k = r ≫ v) : |
| 16 | F.map ((a ≫ u) ≫ k) = F.map ((b ≫ d) ≫ v) := by |
| 17 | calc |
| 18 | _ = F.map (a ≫ (u ≫ k)) := congrArg F.map (Category.assoc _ _ _) |
| 19 | _ = F.map (a ≫ (r ≫ v)) := congrArg (fun t => F.map (a ≫ t)) hs |
| 20 | _ = F.map (a ≫ r) ≫ F.map v := |
| 21 | (congrArg F.map (Category.assoc _ _ _).symm).trans (F.map_comp _ _) |
| 22 | _ = F.map (b ≫ d) ≫ F.map v := congrArg (fun t => t ≫ F.map v) h |
| 23 | _ = F.map ((b ≫ d) ≫ v) := (F.map_comp _ _).symm |
| 24 | |
| 25 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SectionSquare |