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.Resolution.Blowups.LocalizedCotangentMap |
| 2 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 3 | |
| 4 | /-! # Localized Conormal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The coefficient quotient and conormal module of an actual localized center. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 17 | |
| 18 | theorem quotient_extended_ideal_isLocalization |
| 19 | (M : Submonoid R) [IsLocalization M S] (I : Ideal R) : |
| 20 | IsLocalization (Algebra.algebraMapSubmonoid (R ⧸ I) M) (S ⧸ I.map (algebraMap R S)) := by |
| 21 | let e := Algebra.TensorProduct.quotIdealMapEquivQuotTensor S I |
| 22 | let : IsLocalization (Algebra.algebraMapSubmonoid (R ⧸ I) M) ((R ⧸ I) ⊗[R] S) := inferInstance |
| 23 | exact IsLocalization.isLocalization_of_algEquiv _ e.symm |
| 24 | |
| 25 | theorem quotient_extended_ideal_isLocalizationAway |
| 26 | (r : R) [IsLocalization.Away r S] (I : Ideal R) : |
| 27 | IsLocalization.Away (Ideal.Quotient.mk I r) (S ⧸ I.map (algebraMap R S)) := by |
| 28 | have h := quotient_extended_ideal_isLocalization (S := S) (Submonoid.powers r) I |
| 29 | rwa [Algebra.algebraMapSubmonoid_powers] at h |
| 30 | |
| 31 | abbrev extendedCotangentQuotientModule (I : Ideal R) : |
| 32 | Module (R ⧸ I) (I.map (algebraMap R S)).Cotangent := |
| 33 | Module.compHom _ (algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S))) |
| 34 | |
| 35 | theorem extendedCotangentQuotientModule_scalarTower (I : Ideal R) : |
| 36 | letI := extendedCotangentQuotientModule (S := S) I |
| 37 | IsScalarTower R (R ⧸ I) (I.map (algebraMap R S)).Cotangent := by |
| 38 | let : Module (R ⧸ I) (I.map (algebraMap R S)).Cotangent := extendedCotangentQuotientModule I |
| 39 | constructor |
| 40 | intro r q x |
| 41 | change algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S)) ((algebraMap R (R ⧸ I) r) * q) • x = |
| 42 | r • (algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S)) q • x) |
| 43 | rw [map_mul, mul_smul, ← IsScalarTower.algebraMap_apply R (R ⧸ I) (S ⧸ I.map (algebraMap R S))] |
| 44 | rw [IsScalarTower.algebraMap_apply R S (S ⧸ I.map (algebraMap R S)), algebraMap_smul, algebraMap_smul] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | /-! Conormal localization is linear over the original quotient ring. -/ |
| 49 | |
| 50 | variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 51 | |
| 52 | def extendedQuotientCotangentMap (I : Ideal R) : |
| 53 | letI := extendedCotangentQuotientModule (S := S) I |
| 54 | I.Cotangent →ₗ[R ⧸ I] (I.map (algebraMap R S)).Cotangent := by |
| 55 | let : Module (R ⧸ I) (I.map (algebraMap R S)).Cotangent := extendedCotangentQuotientModule I |
| 56 | let : IsScalarTower R (R ⧸ I) (I.map (algebraMap R S)).Cotangent := |
| 57 | extendedCotangentQuotientModule_scalarTower I |
| 58 | exact (LocalizedCotangentMap.Construction.extendedIdealCotangentMap (S := S) I).extendScalarsOfSurjective Ideal.Quotient.mk_surjective |
| 59 | |
| 60 | theorem extendedQuotientCotangentMap_restrictScalars (I : Ideal R) : |
| 61 | letI := extendedCotangentQuotientModule (S := S) I |
| 62 | letI := extendedCotangentQuotientModule_scalarTower (S := S) I |
| 63 | (extendedQuotientCotangentMap (S := S) I).restrictScalars R = LocalizedCotangentMap.Construction.extendedIdealCotangentMap (S := S) I := rfl |
| 64 | |
| 65 | theorem extendedQuotientCotangentMap_isLocalizedModule (r : R) [IsLocalization.Away r S] (I : Ideal R) : |
| 66 | letI := extendedCotangentQuotientModule (S := S) I |
| 67 | IsLocalizedModule (Submonoid.powers (Ideal.Quotient.mk I r)) (extendedQuotientCotangentMap (S := S) I) := by |
| 68 | let : Module (R ⧸ I) (I.map (algebraMap R S)).Cotangent := extendedCotangentQuotientModule I |
| 69 | let : IsScalarTower R (R ⧸ I) (I.map (algebraMap R S)).Cotangent := |
| 70 | extendedCotangentQuotientModule_scalarTower I |
| 71 | let : IsLocalizedModule (Submonoid.powers r) |
| 72 | ((extendedQuotientCotangentMap (S := S) I).restrictScalars R) := |
| 73 | LocalizedCotangentMap.Construction.extendedIdealCotangentMap_isLocalizedModule (Submonoid.powers r) I |
| 74 | have h := IsLocalizedModule.of_restrictScalars (Submonoid.powers r) (extendedQuotientCotangentMap (S := S) I) |
| 75 | rwa [Algebra.algebraMapSubmonoid_powers] at h |
| 76 | |
| 77 | theorem extendedQuotientCotangentMap_scalarTower (I : Ideal R) : |
| 78 | letI := extendedCotangentQuotientModule (S := S) I |
| 79 | IsScalarTower (R ⧸ I) (S ⧸ I.map (algebraMap R S)) (I.map (algebraMap R S)).Cotangent := by |
| 80 | let : Module (R ⧸ I) (I.map (algebraMap R S)).Cotangent := extendedCotangentQuotientModule I |
| 81 | constructor |
| 82 | intro r s x |
| 83 | rw [Algebra.smul_def] |
| 84 | change (algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S)) r * s) • x = |
| 85 | algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S)) r • (s • x) |
| 86 | exact mul_smul _ _ _ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction |