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.Functor.Basic |
| 2 | import Mathlib.CategoryTheory.Iso |
| 3 | |
| 4 | /-! # Refined Pairing Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RefinedPairingNaturality |
| 7 | |
| 8 | /-! A naturality square descends through a common refinement whenever |
| 9 | the two actual maps compose to the given refined map. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v w t |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] {D : Type w} [Category.{t} D] |
| 16 | |
| 17 | @[reassoc] |
| 18 | theorem of_factorization (F : C ⥤ D) {A B L : C} {E₁ E₂ : D} |
| 19 | (l : A ⟶ L) (r : B ⟶ L) (f : B ⟶ A) (d : E₂ ⟶ E₁) |
| 20 | {pA : F.obj A ≅ E₁} {pB : F.obj B ≅ E₂} {pL : F.obj L ≅ E₁} |
| 21 | (hl : F.map l ≫ pL.hom = pA.hom) |
| 22 | (hr : F.map r ≫ pL.hom = pB.hom ≫ d) (hf : f ≫ l = r) : |
| 23 | F.map f ≫ pA.hom = pB.hom ≫ d := by |
| 24 | rw [← hl, ← Category.assoc, ← F.map_comp, hf] |
| 25 | exact hr |
| 26 | |
| 27 | @[reassoc] |
| 28 | theorem of_factorization_identity (F : C ⥤ D) {A B L : C} {E₁ E₂ : D} |
| 29 | (l : A ⟶ L) (r : B ⟶ L) (f : B ⟶ A) (d : E₂ ⟶ E₁) (e : E₁ ⟶ E₁) |
| 30 | {pA : F.obj A ≅ E₁} {pB : F.obj B ≅ E₂} {pL : F.obj L ≅ E₁} |
| 31 | (hl : F.map l ≫ pL.hom = pA.hom ≫ e) |
| 32 | (hr : F.map r ≫ pL.hom = pB.hom ≫ d) (he : e = 𝟙 E₁) (hf : f ≫ l = r) : |
| 33 | F.map f ≫ pA.hom = pB.hom ≫ d := by |
| 34 | rw [he, Category.comp_id] at hl |
| 35 | exact of_factorization F l r f d hl hr hf |
| 36 | |
| 37 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RefinedPairingNaturality |