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.Limits.Preserves.Shapes.Products |
| 2 | |
| 3 | /-! # Scalar Projection -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarProjection.ScalarProjectionSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Elementary coefficient and projection identities used to check the actual scalar pullback square. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits |
| 12 | |
| 13 | universe u v u' v' w |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 16 | |
| 17 | theorem projection (F : C ⥤ D) {α : Type w} (X : α → C) (Y Z : α → D) |
| 18 | [HasProduct X] [HasProductsOfShape α D] |
| 19 | (b : ∀ i, F.obj (X i) ⟶ Y i) (e : ∀ i, Y i ≅ Z i) (t : α) : |
| 20 | (piComparison F X ≫ Limits.Pi.map b ≫ (Pi.mapIso e).hom) ≫ Pi.π Z t = |
| 21 | F.map (Pi.π X t) ≫ b t ≫ (e t).hom := by |
| 22 | simp only [Category.assoc, Pi.mapIso_hom_π, Pi.map_π_assoc, piComparison_comp_π_assoc] |
| 23 | |
| 24 | theorem square (F : C ⥤ D) {M N A B : C} {M' N' A' B' : D} |
| 25 | (g : M ⟶ N) (h : M' ⟶ N') (sM : F.obj M ⟶ M') (sN : F.obj N ⟶ N') |
| 26 | (pM : M ⟶ A) (pN : N ⟶ B) (pM' : M' ⟶ A') (pN' : N' ⟶ B') |
| 27 | (a : A ⟶ B) (b : A' ⟶ B') (cM : F.obj A ⟶ A') (cN : F.obj B ⟶ B') |
| 28 | (hg : g ≫ pN = pM ≫ a) (hh : h ≫ pN' = pM' ≫ b) |
| 29 | (hsM : sM ≫ pM' = F.map pM ≫ cM) (hsN : sN ≫ pN' = F.map pN ≫ cN) |
| 30 | (hc : F.map a ≫ cN = cM ≫ b) : |
| 31 | (F.map g ≫ sN) ≫ pN' = (sM ≫ h) ≫ pN' := by |
| 32 | rw [Category.assoc, hsN, ← Category.assoc, ← F.map_comp, hg, F.map_comp, |
| 33 | Category.assoc, hc, ← Category.assoc, ← hsM, Category.assoc, ← hh, ← Category.assoc] |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarProjection.ScalarProjectionSquare |