RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Mayer–Vietoris for two charts of a line modulo an ideal

Lib.Cohomology.ProperBaseChange.LineCharts.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

This file gives the commutative algebra behind a Mayer–Vietoris sequence of locally constant ZMod ℓ-valued functions for two charts of a line. The setting is two charts Spec B, Spec C over A with overlap Spec D, where D = B[1 / t] = C[1 / s], t * s = 1 in D, and D is integral over A[t, s]. Everything is read modulo an ideal I of A. Under further hypotheses, compatible clopens of the charts come from the base, and every locally constant function on the overlap is a difference of functions from the charts.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.Variety.exists_eq_basicOpen_of_isClopen_of_preimage_eq: compatible clopens of the charts come from A, assuming every pair in B × C agreeing in D comes from A (hA_onto) and hI.
  • New.Variety.exists_eq_locConstSpec_map_sub_map: under further hypotheses (A, D domains; ℓ prime and a unit in A; A, B, C absolutely integrally closed; hI; h_cases), every locally constant ZMod ℓ-valued function on the overlap is a difference of functions from the charts.

Notions from other files:

  • New.Variety.IsAbsIntegrallyClosed: A is absolutely integrally closed: every monic polynomial over A of positive degree has a root in A.
  • New.ThePrime: ThePrime ℓ fixes the prime ℓ (it extends Fact ℓ.Prime).
  • New.Variety.locConstSpec: For an abelian group Λ, the functor on commutative rings sending A to the group of locally constant functions Spec A → Λ; it sends a ring map to pull-back along the map of spectra.

Relation to the literature

Known; see Lib.Cohomology.ProperBaseChange.Theorem for sources.

Pinned source lines

Declarations

  • lemma exists_eq_locConstSpec_map_sub_map (hts : (t * s : D) = 1)
        (hD : ∀ x : D, IsIntegral A[(t : D), (s : D)] x)
        [IsDomain A] [IsDomain D] {ℓ : ℕ} [ThePrime ℓ] (hℓ : IsUnit (ℓ : A))
        [IsAbsIntegrallyClosed A] [IsAbsIntegrallyClosed B] [IsAbsIntegrallyClosed C]
        (h_cases : (∃ a : A, algebraMap A B a * (1 - t) = 1 ∧ (algebraMap A C a - 1) * (s - 1) = 1 ∧
          Away a B ∧ IsLineChartCase I a) ∨ IsAbsIntegrallyClosedLocal A)
        (hI : ∀ {E : Type} [CommRing E] (ψ : A →+* E), ∀ x ∈ I.map ψ, ∃ i ∈ I, ψ i ∣ x)
        {J : Ideal B} {L : Ideal C} {K : Ideal D} (hJ : I.map (algebraMap A B) = J)
        (hL : I.map (algebraMap A C) = L) (hK : I.map (algebraMap A D) = K)
        (hJK : J ≤ K.comap (algebraMap B D)) (hLK : L ≤ K.comap (algebraMap C D))
        (u : (locConstSpec ⟨ZMod ℓ⟩).obj (.of (D ⧸ K))) :
        ∃ (a : (locConstSpec ⟨ZMod ℓ⟩).obj (.of (B ⧸ J)))
          (b : (locConstSpec ⟨ZMod ℓ⟩).obj (.of (C ⧸ L))),
          u = (locConstSpec ⟨ZMod ℓ⟩).map (ofHom (J.quotientMap K (algebraMap B D) hJK)) a -
            (locConstSpec ⟨ZMod ℓ⟩).map (ofHom (L.quotientMap K (algebraMap C D) hLK)) b
    

Import route to Main

Lib.Cohomology.ProperBaseChange.LineCharts → Lib.Cohomology.ProperBaseChange.SubringSplitting (pinned import) → Lib.Cohomology.ProperBaseChange.Theorem (pinned import) → Lib.Cohomology.ProjectiveLine.TiltedLineFormula (pinned import) → Lib.Cohomology.PointClass.ProjectiveNonvanishing (pinned import) → Lib.Cohomology.PointClass.LinearIndependence (pinned import) → Lib.Cohomology.WoodsHole (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)

X Reddit Email LinkedIn