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 |
| 2 | |
| 3 | /-! # Augmentation Transport -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.AugmentationTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: augmentation transport through a natural sheafification comparison |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u₁ v₁ u₂ v₂ u₃ v₃ u₄ v₄ |
| 16 | |
| 17 | variable {C : Type u₁} [Category.{v₁} C] {D : Type u₂} [Category.{v₂} D] |
| 18 | {E : Type u₃} [Category.{v₃} E] {H : Type u₄} [Category.{v₄} H] |
| 19 | (r : C ⥤ D) (SY : C ⥤ E) (SX : D ⥤ H) (R : E ⥤ H) |
| 20 | (ψ : SY ⋙ R ≅ r ⋙ SX) {A : C} {Z : E} {Z' : H} |
| 21 | (e : SY.obj A ≅ Z) (t : R.obj Z ≅ Z') (s : SX.obj (r.obj A) ≅ Z') |
| 22 | (h : ψ.inv.app A ≫ R.map e.hom ≫ t.hom = s.hom) |
| 23 | |
| 24 | include h |
| 25 | |
| 26 | theorem inverse : t.inv ≫ R.map e.inv ≫ ψ.hom.app A = s.inv := by |
| 27 | have he : ψ.symm.app A ≪≫ R.mapIso e ≪≫ t = s := Iso.ext h |
| 28 | exact (Category.assoc _ _ _).symm.trans (congrArg (fun a => a.inv) he) |
| 29 | |
| 30 | theorem augmentation {K : C} {L : D} (a : A ⟶ K) (q : r.obj K ⟶ L) |
| 31 | (b : r.obj A ⟶ L) (ha : r.map a ≫ q = b) : |
| 32 | t.inv ≫ R.map (e.inv ≫ SY.map a) ≫ (ψ.hom.app K ≫ SX.map q) = |
| 33 | s.inv ≫ SX.map b := by |
| 34 | have hn : R.map (SY.map a) ≫ ψ.hom.app K = ψ.hom.app A ≫ SX.map (r.map a) := |
| 35 | ψ.hom.naturality a |
| 36 | calc |
| 37 | _ = (t.inv ≫ R.map e.inv ≫ ψ.hom.app A) ≫ SX.map (r.map a ≫ q) := by |
| 38 | rw [R.map_comp, SX.map_comp] |
| 39 | simp only [Category.assoc] |
| 40 | rw [← Category.assoc (R.map (SY.map a)), hn] |
| 41 | simp only [Category.assoc] |
| 42 | _ = s.inv ≫ SX.map b := by rw [inverse r SY SX R ψ e t s h, ha] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.AugmentationTransport |