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.Limits.Preserves.Limits |
| 2 | |
| 3 | /-! # Coefficient Limit -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CoefficientLimit.CoefficientLimitComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coordinates of the limit comparison obtained from a coefficient |
| 10 | functor and a natural isomorphism of the original diagrams. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe uJ vJ uC vC uD vD |
| 15 | variable {J : Type uJ} [Category.{vJ} J] {C : Type uC} [Category.{vC} C] |
| 16 | {D : Type uD} [Category.{vD} D] |
| 17 | (P : J ⥤ C) (Q : J ⥤ D) (G : C ⥤ D) |
| 18 | [HasLimit P] [HasLimitsOfShape J D] [PreservesLimit P G] |
| 19 | (e : P ⋙ G ≅ Q) |
| 20 | |
| 21 | def iso : G.obj (limit P) ≅ limit Q := |
| 22 | preservesLimitIso G P ≪≫ (lim (C := D)).mapIso e |
| 23 | |
| 24 | theorem hom_π (j : J) : (iso P Q G e).hom ≫ limit.π Q j = |
| 25 | G.map (limit.π P j) ≫ e.hom.app j := by |
| 26 | change ((preservesLimitIso G P).hom ≫ limMap e.hom) ≫ limit.π Q j = _ |
| 27 | rw [Category.assoc, limMap_π, ← Category.assoc, preservesLimitIso_hom_π] |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CoefficientLimit.CoefficientLimitComparison |