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.GeometricComparison.Semilattice.LocalCone |
| 2 | |
| 3 | /-! # Local Cone Upper -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalConeUpper.SemilatticeLocalConeUpper |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! On a larger chart, the canonical local cone is the inverse |
| 10 | of restriction to its defining chart. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | universe u v w |
| 15 | variable (C : Type u) [SemilatticeInf C] (I : C) |
| 16 | {A : Type v} [Category.{w} A] (P : Cᵒᵖ ⥤ A) |
| 17 | (h : ∀ V : C, IsIso (P.map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) |
| 18 | (J : C) (hIJ : I ≤ J) |
| 19 | |
| 20 | include h in |
| 21 | theorem restriction_isIso : IsIso (P.map (homOfLE hIJ).op) := by |
| 22 | let e : I ≅ J ⊓ I := |
| 23 | { hom := homOfLE (le_inf hIJ le_rfl) |
| 24 | inv := homOfLE inf_le_right |
| 25 | hom_inv_id := Subsingleton.elim _ _ |
| 26 | inv_hom_id := Subsingleton.elim _ _ } |
| 27 | let : IsIso (P.map (homOfLE (inf_le_left : J ⊓ I ≤ J)).op) := h J |
| 28 | let : IsIso (P.map e.hom.op) := inferInstanceAs (IsIso (P.mapIso e.op).hom) |
| 29 | have heq : P.map (homOfLE hIJ).op = |
| 30 | P.map (homOfLE (inf_le_left : J ⊓ I ≤ J)).op ≫ P.map e.hom.op := by |
| 31 | rw [← P.map_comp] |
| 32 | exact congrArg P.map (Subsingleton.elim _ _) |
| 33 | rw [heq] |
| 34 | infer_instance |
| 35 | |
| 36 | theorem app_restriction : (LocalCone.SemilatticeLocalCone.cone C I P h).app (op J) ≫ |
| 37 | P.map (homOfLE hIJ).op = 𝟙 (P.obj (op I)) := |
| 38 | ((LocalCone.SemilatticeLocalCone.cone C I P h).naturality (homOfLE hIJ).op).symm.trans |
| 39 | ((Category.id_comp _).trans (LocalCone.SemilatticeLocalCone.self C I P h)) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalConeUpper.SemilatticeLocalConeUpper |