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.NumberTheory.PadicHodge.IntegralComparison.LocalizedAmbientExteriorRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedConormalBasisTransport |
| 3 | |
| 4 | /-! # Localized Residue Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedResidueRestriction.Conormal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pointwise localization of the genuine smooth quotient residue, |
| 11 | including transport to the named ideal on a restricted affine open. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.Module |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedQuotientExtension OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u |
| 22 | variable {k A B : Type u} [CommRing k] [CommRing A] [CommRing B] |
| 23 | [Algebra k A] [Algebra k B] [Algebra A B] [IsScalarTower k A B] |
| 24 | (r : A) [IsLocalization.Away r B] (I : Ideal A) |
| 25 | |
| 26 | local instance restrictionBaseTower : IsScalarTower k (A ⧸ I) (B ⧸ LocalizedQuotientExtension.extendedIdeal (B := B) I) := |
| 27 | AlgebraicGeometry.Resolution.Blowups.Smooth.TransformedCoordinateHypersurface.Construction.extendedQuotient_scalarTower I |
| 28 | |
| 29 | def quotientHom (J : Ideal B) (hJ : I.map (algebraMap A B) = J) : |
| 30 | CommAlgCat.of k (A ⧸ I) ⟶ CommAlgCat.of k (B ⧸ J) := |
| 31 | CommAlgCat.ofHom (Ideal.quotientMapₐ J (IsScalarTower.toAlgHom k A B) |
| 32 | (by intro a ha; exact hJ ▸ Ideal.mem_map_of_mem _ ha)) |
| 33 | |
| 34 | theorem quotientHom_eq : quotientHom (k := k) I (LocalizedQuotientExtension.extendedIdeal (B := B) I) rfl = |
| 35 | Exterior.KaehlerBaseChange.algebraHom (k := k) |
| 36 | (A := A ⧸ I) (B := B ⧸ LocalizedQuotientExtension.extendedIdeal (B := B) I) := by |
| 37 | apply CommAlgCat.hom_ext |
| 38 | apply AlgHom.ext |
| 39 | intro x |
| 40 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 41 | rfl |
| 42 | |
| 43 | def exteriorRestrictionOfEq (J : Ideal B) (hJ : I.map (algebraMap A B) = J) |
| 44 | (n : ℕ) (x : ⋀[A ⧸ I]^n ((A ⧸ I) ⊗[A] Ω[A⁄k])) : |
| 45 | ⋀[B ⧸ J]^n ((B ⧸ J) ⊗[B] Ω[B⁄k]) := |
| 46 | hJ ▸ LocalizedAmbientExteriorRestriction.ConormalResidue.exteriorMap (k := k) (B := B) r I n (1 ⊗ₜ[A ⧸ I] x) |
| 47 | |
| 48 | variable [Algebra.Smooth k A] [Algebra.Smooth k (A ⧸ I)] [Algebra.Smooth k B] |
| 49 | {c g : ℕ} (bI : Basis (Fin c) (A ⧸ I) I.Cotangent) |
| 50 | (bQ : Basis (Fin g) (A ⧸ I) Ω[A ⧸ I⁄k]) |
| 51 | |
| 52 | theorem residue_one [Algebra.Smooth k (B ⧸ LocalizedQuotientExtension.extendedIdeal (B := B) I)] |
| 53 | (x : ⋀[A ⧸ I]^(c + g) ((A ⧸ I) ⊗[A] Ω[A⁄k])) : |
| 54 | ConormalAdjunction.equivalence (LocalizedQuotientExtension.extendedIdeal (B := B) I) |
| 55 | (LocalizedConormalBases.conormalBasis r I bI) |
| 56 | (LocalizedConormalBases.quotientBasis r I bQ) |
| 57 | (LocalizedAmbientExteriorRestriction.ConormalResidue.exteriorMap (k := k) (B := B) r I (c + g) (1 ⊗ₜ[A ⧸ I] x)) = |
| 58 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap (quotientHom (k := k) I (LocalizedQuotientExtension.extendedIdeal (B := B) I) rfl) g |
| 59 | (ConormalAdjunction.equivalence I bI bQ x) := by |
| 60 | let := LocalizedConormalBases.quotientFormallyEtale (B := B) r I |
| 61 | have h := LinearMap.congr_fun (LocalizedConormalResidue.residue_naturality (B := B) r I bI bQ) |
| 62 | ((1 : B ⧸ LocalizedQuotientExtension.extendedIdeal (B := B) I) ⊗ₜ[A ⧸ I] x) |
| 63 | simp only [LinearMap.comp_apply, LinearMap.baseChange_tmul, LinearEquiv.coe_coe] at h |
| 64 | rw [quotientHom_eq] |
| 65 | exact h.trans (Exterior.KaehlerBaseChange.etale_map_one g _) |
| 66 | |
| 67 | theorem residue_restriction (J : Ideal B) (hJ : I.map (algebraMap A B) = J) |
| 68 | [Algebra.Smooth k (B ⧸ J)] |
| 69 | (x : ⋀[A ⧸ I]^(c + g) ((A ⧸ I) ⊗[A] Ω[A⁄k])) : |
| 70 | ConormalAdjunction.equivalence J |
| 71 | (LocalizedConormalBasisTransport.Bases.conormalBasisOfEq r I J hJ bI) |
| 72 | (LocalizedConormalBasisTransport.Bases.quotientBasisOfEq r I J hJ bQ) |
| 73 | (exteriorRestrictionOfEq r I J hJ (c + g) x) = |
| 74 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.formsMap (quotientHom (k := k) I J hJ) g |
| 75 | (ConormalAdjunction.equivalence I bI bQ x) := by |
| 76 | subst J |
| 77 | exact residue_one r I bI bQ x |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedResidueRestriction.Conormal |