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.Quotient.LocalizedConormal |
| 2 | import Mathlib.RingTheory.Etale.Kaehler |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.TransformedCoordinateHypersurface |
| 5 | |
| 6 | /-! # Localized Conormal Bases -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedConormalBases |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Localizing an ideal transports its actual conormal and quotient |
| 13 | differential bases. The formulas preserve the classes of the original |
| 14 | defining equations and the universal Kähler differential maps. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | variable {k A B : Type u} [CommRing k] [CommRing A] [CommRing B] |
| 20 | [Algebra k A] [Algebra k B] [Algebra A B] [IsScalarTower k A B] |
| 21 | (r : A) [IsLocalization.Away r B] (I : Ideal A) |
| 22 | |
| 23 | abbrev extendedIdeal : Ideal B := I.map (algebraMap A B) |
| 24 | |
| 25 | local instance quotientLocalization : |
| 26 | IsLocalization.Away (Ideal.Quotient.mk I r) (B ⧸ extendedIdeal (B := B) I) := |
| 27 | AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction.quotient_extended_ideal_isLocalizationAway r I |
| 28 | |
| 29 | local instance cotangentModule : Module (A ⧸ I) (extendedIdeal (B := B) I).Cotangent := |
| 30 | AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction.extendedCotangentQuotientModule I |
| 31 | |
| 32 | local instance cotangentTower : |
| 33 | IsScalarTower (A ⧸ I) (B ⧸ extendedIdeal (B := B) I) (extendedIdeal (B := B) I).Cotangent := |
| 34 | AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap_scalarTower I |
| 35 | |
| 36 | def conormalEquiv : |
| 37 | (B ⧸ extendedIdeal (B := B) I) ⊗[A ⧸ I] I.Cotangent ≃ₗ[B ⧸ extendedIdeal (B := B) I] |
| 38 | (extendedIdeal (B := B) I).Cotangent := by |
| 39 | have h := AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap_isLocalizedModule (S := B) r I |
| 40 | exact ((isLocalizedModule_iff_isBaseChange (Submonoid.powers (Ideal.Quotient.mk I r)) |
| 41 | (B ⧸ extendedIdeal (B := B) I) (AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap (S := B) I)).mp h).equiv |
| 42 | |
| 43 | theorem conormalEquiv_tmul (a : B ⧸ extendedIdeal (B := B) I) (x : I.Cotangent) : |
| 44 | conormalEquiv (B := B) r I (a ⊗ₜ[A ⧸ I] x) = |
| 45 | a • AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap (S := B) I x := rfl |
| 46 | |
| 47 | def conormalBasis {c : ℕ} (b : Module.Basis (Fin c) (A ⧸ I) I.Cotangent) : |
| 48 | Module.Basis (Fin c) (B ⧸ extendedIdeal (B := B) I) (extendedIdeal (B := B) I).Cotangent := |
| 49 | (b.baseChange (B ⧸ extendedIdeal (B := B) I)).map (conormalEquiv r I) |
| 50 | |
| 51 | theorem conormalBasis_apply {c : ℕ} (b : Module.Basis (Fin c) (A ⧸ I) I.Cotangent) (i : Fin c) : |
| 52 | conormalBasis (B := B) r I b i = AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap (S := B) I (b i) := by |
| 53 | rw [conormalBasis, Module.Basis.map_apply, Module.Basis.baseChange_apply, |
| 54 | conormalEquiv_tmul, one_smul] |
| 55 | |
| 56 | theorem conormalBasis_equations {c : ℕ} (b : Module.Basis (Fin c) (A ⧸ I) I.Cotangent) |
| 57 | (s : Fin c → I) (hb : ∀ i, b i = I.toCotangent (s i)) (i : Fin c) : |
| 58 | conormalBasis (B := B) r I b i = (extendedIdeal (B := B) I).toCotangent |
| 59 | ⟨algebraMap A B (s i).val, Ideal.mem_map_of_mem _ (s i).property⟩ := by |
| 60 | rw [conormalBasis_apply, hb] |
| 61 | rfl |
| 62 | |
| 63 | include r in |
| 64 | theorem quotientFormallyEtale : |
| 65 | Algebra.FormallyEtale (A ⧸ I) (B ⧸ extendedIdeal (B := B) I) := |
| 66 | Algebra.FormallyEtale.of_isLocalization (Submonoid.powers (Ideal.Quotient.mk I r)) |
| 67 | |
| 68 | local instance quotientBaseTower : IsScalarTower k (A ⧸ I) (B ⧸ extendedIdeal (B := B) I) := |
| 69 | AlgebraicGeometry.Resolution.Blowups.Smooth.TransformedCoordinateHypersurface.Construction.extendedQuotient_scalarTower I |
| 70 | |
| 71 | def quotientEquiv : |
| 72 | (B ⧸ extendedIdeal (B := B) I) ⊗[A ⧸ I] Ω[A ⧸ I⁄k] ≃ₗ[B ⧸ extendedIdeal (B := B) I] |
| 73 | Ω[B ⧸ extendedIdeal (B := B) I⁄k] := by |
| 74 | letI := quotientFormallyEtale (B := B) r I |
| 75 | exact KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale k (A ⧸ I) (B ⧸ extendedIdeal (B := B) I) |
| 76 | |
| 77 | def quotientBasis {g : ℕ} (b : Module.Basis (Fin g) (A ⧸ I) Ω[A ⧸ I⁄k]) : |
| 78 | Module.Basis (Fin g) (B ⧸ extendedIdeal (B := B) I) Ω[B ⧸ extendedIdeal (B := B) I⁄k] := |
| 79 | (b.baseChange (B ⧸ extendedIdeal (B := B) I)).map (quotientEquiv r I) |
| 80 | |
| 81 | theorem quotientBasis_apply {g : ℕ} (b : Module.Basis (Fin g) (A ⧸ I) Ω[A ⧸ I⁄k]) (i : Fin g) : |
| 82 | quotientBasis (B := B) r I b i = KaehlerDifferential.map k k (A ⧸ I) |
| 83 | (B ⧸ extendedIdeal (B := B) I) (b i) := by |
| 84 | rw [quotientBasis, Module.Basis.map_apply, Module.Basis.baseChange_apply] |
| 85 | exact (KaehlerDifferential.mapBaseChange_tmul k (A ⧸ I) |
| 86 | (B ⧸ extendedIdeal (B := B) I) 1 (b i)).trans (one_smul _ _) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedConormalBases |