Good pairs: excision, Thom retraction and Alexander duality for principal opens
Lib.PadicComparison.Duality.GoodPairs.lean
Reading
Upstream documentation written by Claude
Spaces are set-valued functors on the tests over
A(New.Variety.TestOver, the full subcategory ofA-algebras satisfyingIsTest). A pair(Y, U)is the functorNew.Variety.relFreeAb U = ℤ[Y] / ℤ[U]. The pair is good,New.Variety.ComparedTheory.IsFiniteLerayHirsch D, if its cohomology with locally constantℤ/ℓ-coefficients is finite and compares bijectively with the theoryD. HereNew.Variety.offClosedFibre Yis the part ofYon tests where the maximal ideal ofAgenerates the unit ideal.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Variety.ComparedTheory.isFiniteLerayHirsch_iff_of_locally_bijective: excision along a map that is Zariski-locally bijective on pairs.New.Variety.ComparedTheory.isFiniteLerayHirsch_of_prod_projLine: goodness descends from the product with(ℙ¹, ℙ¹ ∖ (0 : 1)).New.Variety.ComparedTheory.isFiniteLerayHirsch_principal_open: principal opens of affine space inside(ℙ¹)^d, by Alexander duality.New.Variety.ComparedTheory.isFiniteLerayHirsch_standard_etale: standard étale charts, by two excisions.
Notions from other files:
New.Variety.projLine.unimodularRow: homogeneous coordinates (1 + uv, v) of a point of P¹(B) with chosen representative (u, v);New.Variety.projLine.affinePt xis the point (x : 1).New.Variety.ComparedTheory: a theory along g with morphisms to its coefficient from the locally constant ℤ/ℓ-valued functions, such that it andNew.Variety.Theory.locallyConstantsatisfy the projective line formula.New.Variety.IsZariskiLocallyTop ι U: every point ofYlies inUafter inverting some element outside any given maximal ideal, that is,Uis all ofYZariski-locally.
Relation to the literature
Known result: Comparison of cohomology theories by duality, via a diagonal kernel on products of P¹. This step is common to several comparison theorems. It concerns torsion coefficient theories in which the projective line is computed. In these theories, a class supported on the diagonal of (P¹)^d carries finiteness and comparison from the point to standard étale charts over affine space. Sources for the theorems: SGA 4 XVI, SGA 4½ Finitude/Dualité; Faltings, Scholze primitive comparison. The proof is in the spirit of Dold–Puppe dualisability.
Declarations
lemma isFiniteLerayHirsch_standard_etale (L : D.IsFiniteLerayHirsch (relFreeAb (IdealFamily.ofMaximalIdeal (A
Import route to Main
Lib.PadicComparison.Duality.GoodPairs → Lib.Cohomology.SmoothBaseChange (pinned import) → Lib.Shimura.CongruenceRelation.EichlerShimura (pinned import) → Lib.Shimura.Eigenspace (pinned import) → Lib.GaloisRep.Main.SeedRepresentation (pinned import) → Lib.GaloisRep.Main.SplitCase (pinned import) → Lib.GaloisRep.Main.OddRank (pinned import) → Lib.ClassField.Avatar.LocalGlobalCompatibility (pinned import) → Lib.GaloisRep.Main.AllRanks (pinned import) → Lib.GaloisRep.TaylorWiles (pinned import) → New.Congruences.FirstOrder.TrianglePrimes (pinned import) → New.Congruences.FirstOrder.DenominatorBound (pinned import) → New.Congruences.FitTwistsExist (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)