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.FormalCoproducts.Basic |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 3 | |
| 4 | /-! # Formal Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FormalProducts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluation on formal coproducts commutes with a product-preserving functor. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | namespace Construction.FormalProductsFunctor |
| 19 | |
| 20 | variable {C : Type u} [Category.{u} C] |
| 21 | variable {V : Type v} [Category.{u} V] [HasProducts.{u} V] |
| 22 | variable {W : Type w} [Category.{u} W] [HasProducts.{u} W] |
| 23 | variable (F : V ⥤ W) [PreservesLimitsOfSize.{u, u} F] |
| 24 | |
| 25 | omit [PreservesLimitsOfSize.{u, u} F] in |
| 26 | theorem pi_naturality {I J : Type u} (P : I → V) (Q : J → V) |
| 27 | (f : J → I) (φ : ∀ j, P (f j) ⟶ Q j) : |
| 28 | F.map (Pi.lift (fun j => Pi.π P (f j) ≫ φ j)) ≫ piComparison F Q = |
| 29 | piComparison F P ≫ Pi.lift (fun j => Pi.π (fun i => F.obj (P i)) (f j) ≫ F.map (φ j)) := by |
| 30 | apply Pi.hom_ext |
| 31 | intro j |
| 32 | simp only [Category.assoc, piComparison_comp_π, Pi.lift_comp_π, ← F.map_comp] |
| 33 | rw [piComparison_comp_π_assoc, ← F.map_comp] |
| 34 | |
| 35 | def evalIso (P : Cᵒᵖ ⥤ V) : |
| 36 | (FormalCoproduct.evalOp.{u} C V).obj P ⋙ F ≅ |
| 37 | (FormalCoproduct.evalOp.{u} C W).obj (P ⋙ F) := |
| 38 | NatIso.ofComponents (fun A : (FormalCoproduct.{u} C)ᵒᵖ => asIso (piComparison F (fun i : A.unop.I => P.obj (op (A.unop.obj i))))) |
| 39 | (by |
| 40 | intro A B f |
| 41 | exact pi_naturality F (fun i : A.unop.I => P.obj (op (A.unop.obj i))) |
| 42 | (fun i : B.unop.I => P.obj (op (B.unop.obj i))) f.unop.f |
| 43 | (fun i => P.map (f.unop.φ i).op)) |
| 44 | |
| 45 | theorem hom_π (P : Cᵒᵖ ⥤ V) (A : (FormalCoproduct.{u} C)ᵒᵖ) (i : A.unop.I) : |
| 46 | (evalIso F P).hom.app A ≫ |
| 47 | Pi.π (fun j : A.unop.I => F.obj (P.obj (op (A.unop.obj j)))) i = |
| 48 | F.map (Pi.π (fun j : A.unop.I => P.obj (op (A.unop.obj j))) i) := |
| 49 | piComparison_comp_π F _ i |
| 50 | |
| 51 | end Construction.FormalProductsFunctor |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FormalProducts |