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.AlgebraicGeometry.AbelianScheme.TateComparison.End |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Components |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.GrpLimits |
| 4 | |
| 5 | /-! # Products -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Products |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Albanese product is an actual commutative group scheme, constructed |
| 12 | from the component group schemes using the categorical product. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {S : Scheme.{u}} {r : ℕ} (A : Fin r → CommGrp (Over S)) |
| 21 | |
| 22 | abbrev componentProductGroup : Grp (Over S) := ∏ᶜ fun j => (A j).toGrp |
| 23 | |
| 24 | abbrev componentProductProjection (j : Fin r) : |
| 25 | (componentProductGroup A).X ⟶ (A j).X := |
| 26 | (Pi.π (fun k => (A k).toGrp) j).hom.hom |
| 27 | |
| 28 | theorem componentProduct_ext {T : Over S} |
| 29 | (f g : T ⟶ (componentProductGroup A).X) |
| 30 | (h : ∀ j, f ≫ componentProductProjection A j = |
| 31 | g ≫ componentProductProjection A j) : f = g := by |
| 32 | apply (isLimitOfPreserves (Grp.forget (Over S)) |
| 33 | (limit.isLimit (Discrete.functor fun j => (A j).toGrp))).hom_ext |
| 34 | intro j |
| 35 | exact h j.as |
| 36 | |
| 37 | instance componentProduct_comm : IsCommMonObj (componentProductGroup A).X where |
| 38 | mul_comm := by |
| 39 | apply componentProduct_ext A |
| 40 | intro j |
| 41 | change (β_ _ _).hom ≫ μ ≫ componentProductProjection A j = |
| 42 | μ ≫ componentProductProjection A j |
| 43 | rw [IsMonHom.mul_hom, ← BraidedCategory.braiding_naturality_assoc, |
| 44 | IsCommMonObj.mul_comm] |
| 45 | |
| 46 | /-- The constructed product, with its inherited commutative group law. -/ |
| 47 | abbrev componentProduct : CommGrp (Over S) := CommGrp.mk (componentProductGroup A).X |
| 48 | |
| 49 | /-- The forgetful functor identifies this group product with the ordinary |
| 50 | scheme product used by IntegralModel's component-map construction. -/ |
| 51 | def componentProductComparison : |
| 52 | (componentProduct A).X ≅ ∏ᶜ fun j => (A j).X := |
| 53 | PreservesProduct.iso (Grp.forget (Over S)) (fun j => (A j).toGrp) |
| 54 | |
| 55 | @[simp] |
| 56 | theorem componentProductComparison_projection (j : Fin r) : |
| 57 | (componentProductComparison A).hom ≫ Pi.π (fun k => (A k).X) j = |
| 58 | componentProductProjection A j := by |
| 59 | exact piComparison_comp_π (Grp.forget (Over S)) (fun k => (A k).toGrp) j |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Products |