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.Picard.PoincareBundle.CoprimeOrthogonalProduct |
| 2 | import Mathlib.CategoryTheory.EffectiveEpi.Basic |
| 3 | |
| 4 | /-! # Kernel Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Product.KernelQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual effective quotient of a product by its first factor is the second factor. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.CoprimeOrthogonalProduct |
| 19 | |
| 20 | variable {S : Scheme.{u}} {H D E : Over S} [GrpObj H] [GrpObj D] [GrpObj E] |
| 21 | (r : H ⊗ D ⟶ E) [IsMonHom r] |
| 22 | (hker : ∀ (T : Over S) (x : T ⟶ H ⊗ D), x ≫ r = 1 ↔ x ≫ snd H D = 1) |
| 23 | |
| 24 | include hker |
| 25 | |
| 26 | omit [GrpObj H] [IsMonHom r] in |
| 27 | /-- The first factor is killed by the actual quotient morphism. -/ |
| 28 | theorem first_killed : CoprimeOrthogonalProduct.first ≫ r = 1 := |
| 29 | (hker H CoprimeOrthogonalProduct.first).mpr (by simp [CoprimeOrthogonalProduct.first]) |
| 30 | |
| 31 | /-- The actual quotient map factors through the second projection by its second-factor restriction. -/ |
| 32 | theorem quotient_factorization : snd H D ≫ CoprimeOrthogonalProduct.second ≫ r = r := by |
| 33 | have hf := congrArg (fun x => x ≫ r) (CoprimeOrthogonalProduct.factors (𝟙 (H ⊗ D))) |
| 34 | simp only [Category.id_comp, MonObj.mul_comp, Category.assoc, first_killed r hker, |
| 35 | MonObj.comp_one, one_mul] at hf |
| 36 | exact hf |
| 37 | |
| 38 | /-- The second projection coequalizes every pair identified by the given quotient. -/ |
| 39 | theorem projection_coequalizes {T : Over S} (x y : T ⟶ H ⊗ D) (hxy : x ≫ r = y ≫ r) : |
| 40 | x ≫ snd H D = y ≫ snd H D := by |
| 41 | have hr : (x / y) ≫ r = 1 := by rw [GrpObj.div_comp, hxy, div_self'] |
| 42 | have hp := (hker T (x / y)).mp hr |
| 43 | rwa [GrpObj.div_comp, div_eq_one] at hp |
| 44 | |
| 45 | variable [EffectiveEpi r] |
| 46 | |
| 47 | /-- The inverse to the second-factor map is constructed from the effective quotient. -/ |
| 48 | def inverse : E ⟶ D := EffectiveEpi.desc r (snd H D) (projection_coequalizes r hker) |
| 49 | |
| 50 | theorem inverse_fac : r ≫ inverse r hker = snd H D := |
| 51 | EffectiveEpi.fac r (snd H D) (projection_coequalizes r hker) |
| 52 | |
| 53 | /-- The resulting quotient isomorphism is between the actual represented group schemes. -/ |
| 54 | def quotientIso : D ≅ E where |
| 55 | hom := CoprimeOrthogonalProduct.second ≫ r |
| 56 | inv := inverse r hker |
| 57 | hom_inv_id := by |
| 58 | rw [Category.assoc, inverse_fac] |
| 59 | simp [CoprimeOrthogonalProduct.second] |
| 60 | inv_hom_id := by |
| 61 | apply (cancel_epi r).mp |
| 62 | rw [← Category.assoc, inverse_fac, Category.comp_id] |
| 63 | exact quotient_factorization r hker |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Product.KernelQuotient |