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.CycleClass.Thom.TorAlgebra.FlatExtension |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Quotient Prime Module -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.QuotientPrimeModule.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Under a surjective algebra map, the quotient by a prime and its |
| 11 | inverse-image quotient are the same module over the original ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 20 | (hs : Function.Surjective (algebraMap R S)) (q : Ideal S) |
| 21 | |
| 22 | include hs in |
| 23 | theorem quotient_algebraMap_surjective : Function.Surjective (algebraMap R (S ⧸ q)) := by |
| 24 | rw [IsScalarTower.algebraMap_eq R S (S ⧸ q)] |
| 25 | exact Ideal.Quotient.mk_surjective.comp hs |
| 26 | |
| 27 | theorem quotient_algebraMap_kernel : RingHom.ker (algebraMap R (S ⧸ q)) = q.comap (algebraMap R S) := by |
| 28 | ext a |
| 29 | change algebraMap R (S ⧸ q) a = 0 ↔ algebraMap R S a ∈ q |
| 30 | rw [IsScalarTower.algebraMap_apply R S (S ⧸ q), Ideal.Quotient.algebraMap_eq, |
| 31 | Ideal.Quotient.eq_zero_iff_mem] |
| 32 | |
| 33 | def quotientComapEquiv : (R ⧸ q.comap (algebraMap R S)) ≃ₗ[R] (S ⧸ q) := |
| 34 | (Submodule.quotEquivOfEq _ _ (quotient_algebraMap_kernel R S q).symm).trans |
| 35 | (Ideal.quotientKerAlgEquivOfSurjective |
| 36 | (show Function.Surjective (Algebra.ofId R (S ⧸ q)) from quotient_algebraMap_surjective R S hs q)).toLinearEquiv |
| 37 | |
| 38 | theorem quotientComapEquiv_symm_algebraMap_smul (a : R) (b : S ⧸ q) : |
| 39 | (quotientComapEquiv R S hs q).symm (algebraMap R S a • b) = |
| 40 | a • (quotientComapEquiv R S hs q).symm b := by |
| 41 | rw [algebraMap_smul, map_smul] |
| 42 | |
| 43 | theorem quotientComapEquiv_algebraMap_smul (a : R) (b : R ⧸ q.comap (algebraMap R S)) : |
| 44 | (quotientComapEquiv R S hs q) (a • b) = |
| 45 | algebraMap R S a • (quotientComapEquiv R S hs q) b := by |
| 46 | rw [algebraMap_smul, map_smul] |
| 47 | |
| 48 | def restrictedQuotientIso : |
| 49 | (ModuleCat.restrictScalars (algebraMap R S)).obj (ModuleCat.of S (S ⧸ q)) ≅ |
| 50 | ModuleCat.of R (R ⧸ q.comap (algebraMap R S)) where |
| 51 | hom := ModuleCat.ofHom |
| 52 | (X := (ModuleCat.restrictScalars (algebraMap R S)).obj (ModuleCat.of S (S ⧸ q))) |
| 53 | (Y := ModuleCat.of R (R ⧸ q.comap (algebraMap R S))) |
| 54 | { toFun := (quotientComapEquiv R S hs q).symm |
| 55 | map_add' := (quotientComapEquiv R S hs q).symm.map_add |
| 56 | map_smul' := quotientComapEquiv_symm_algebraMap_smul R S hs q } |
| 57 | inv := ModuleCat.ofHom |
| 58 | (X := ModuleCat.of R (R ⧸ q.comap (algebraMap R S))) |
| 59 | (Y := (ModuleCat.restrictScalars (algebraMap R S)).obj (ModuleCat.of S (S ⧸ q))) |
| 60 | { toFun := quotientComapEquiv R S hs q |
| 61 | map_add' := (quotientComapEquiv R S hs q).map_add |
| 62 | map_smul' := quotientComapEquiv_algebraMap_smul R S hs q } |
| 63 | hom_inv_id := ModuleCat.hom_ext (LinearMap.ext (fun b => (quotientComapEquiv R S hs q).apply_symm_apply b)) |
| 64 | inv_hom_id := ModuleCat.hom_ext (LinearMap.ext (fun b => (quotientComapEquiv R S hs q).symm_apply_apply b)) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.CycleClass.Thom.QuotientPrimeModule.Constructions |