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.IndexedSerreUnitTrace |
| 2 | |
| 3 | /-! # Indexed Concentration Trace -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IndexedConcentrationTrace |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Concentrating a total duality class preserves its unit trace, |
| 10 | including the cast between the total degree and the sum of the two |
| 11 | cohomological degrees. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | variable (R : Type u) [CommRing R] |
| 17 | (D : ℕ → AddCommGrpCat.{u}) (V : ℕ → ModuleCat.{u} R) |
| 18 | (N i c : ℕ) |
| 19 | (e : ∀ d, d ≤ N → (D d ≅ DualHomologyTransport.dualGroup R (V (N - d)))) |
| 20 | {T : AddCommGrpCat.{u}} (a : D (i + c) ≅ T) (hi : i + c = N) |
| 21 | |
| 22 | theorem trace (v : V 0) : |
| 23 | (eqToIso (congrArg D hi.symm) ≪≫ a).hom ≫ |
| 24 | SerreUnitTrace.trace R |
| 25 | (IndexedSerreUnitTrace.pairing R V (a.symm ≪≫ e (i + c) hi.le) |
| 26 | (by omega)) v = |
| 27 | SerreUnitTrace.trace R |
| 28 | (IndexedSerreUnitTrace.pairing R V (e N le_rfl) (Nat.sub_self N)) v := by |
| 29 | subst N |
| 30 | simp only [SerreUnitTrace.trace, IndexedSerreUnitTrace.pairing, |
| 31 | DualHomologyTransport.transport, Iso.trans_hom, Iso.symm_hom, |
| 32 | eqToIso_refl, Iso.refl_hom, Category.id_comp, ← Category.assoc, |
| 33 | Iso.hom_inv_id, Category.id_comp] |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IndexedConcentrationTrace |