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 OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.SingleCoordinates |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 3 | |
| 4 | /-! # Single Evaluation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.SingleEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluate the surviving component of a mapped single-complex map |
| 11 | through a specified factorization in a module diagram. -/ |
| 12 | open _root_.CategoryTheory _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | variable {J : Type u} [Category.{v} J] (A : Type u) [Ring A] (r : J) |
| 18 | (K : CochainComplex (J ⥤ ModuleCat.{u} A) ℕ) |
| 19 | (N : J ⥤ ModuleCat.{u} A) (n : ℕ) |
| 20 | (a : K ⟶ (single (J ⥤ ModuleCat.{u} A) (.up ℕ) n).obj N) |
| 21 | private abbrev evaluate : (J ⥤ ModuleCat.{u} A) ⥤ ModuleCat.{u} A := |
| 22 | (evaluation J (ModuleCat.{u} A)).obj r |
| 23 | variable {L : CochainComplex (ModuleCat.{u} A) ℕ} |
| 24 | (b : L ⟶ ((evaluate A r).mapHomologicalComplex (.up ℕ)).obj K) |
| 25 | {P : ModuleCat.{u} A} (e : N.obj r ⟶ P) |
| 26 | {D E : J ⥤ ModuleCat.{u} A} |
| 27 | (f : K.X n ⟶ D) (g : D ⟶ E) (h : E ⟶ N) |
| 28 | (ha : a.f n ≫ (singleObjXSelf (.up ℕ) n N).hom = f ≫ g ≫ h) |
| 29 | (x : L.X n) |
| 30 | |
| 31 | include ha in |
| 32 | theorem map_apply : |
| 33 | (singleObjXSelf (.up ℕ) n P).hom |
| 34 | (((b ≫ SingleCoordinates.map (evaluate A r) K N n a ≫ |
| 35 | (single (ModuleCat.{u} A) (.up ℕ) n).map e).f n) x) = |
| 36 | e (h.app r (g.app r (f.app r (b.f n x)))) := by |
| 37 | have hc := SingleCoordinates.compose_top (evaluate A r) K N n a b e |
| 38 | rw [ha] at hc |
| 39 | have hm : (evaluate A r).map (f ≫ g ≫ h) = f.app r ≫ g.app r ≫ h.app r := rfl |
| 40 | rw [hm] at hc |
| 41 | have hx := ConcreteCategory.congr_hom hc x |
| 42 | change _ = e (h.app r (g.app r (f.app r (b.f n x)))) at hx |
| 43 | exact hx |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.SingleEvaluation |