RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Flat base change in functor cohomology, and the base change adjunction for algebras

Lib.General.Algebra.CohomologyBaseChange.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

Cohomology here is H^n(N, Φ) = Ext^n(N, Φ) in the category of functors from C to abelian groups, where Φ is a functor to S-modules. For a module M over an S-algebra T, the base change map New.Variety.baseChangeMap goes from M ⊗_S H^n(N, Φ) to H^n(N, M ⊗_S Φ). New.Variety.HasFlatBaseChange N says that this map is bijective for all S, T, Φ, n and all M flat over S. The file proves bijectivity for N = ℤ[h_A], with h_A the functor represented by A, by the Yoneda lemma, shows that for flat M the maps admit dévissage in N, and transfers bijectivity along bijective comparisons. It also shows that base change of algebras is left adjoint to restriction of scalars, and that ring maps send powers of p to powers of p.

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

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.Variety.HasBaseChange.baseChangeMap_bijective_freeAb_reprBy: the base change map is bijective for N = ℤ[h_A], by the Yoneda lemma.
  • New.Variety.HasBaseChange.devissage: for M flat it admits dévissage, being compatible with the long exact sequences of short exact sequences.
  • New.Variety.Comparison.IsBijective.baseChangeMap_bijective_iff: along a bijective comparison from an N with flat base change, base change by a flat M on the target holds exactly when the comparison stays bijective after tensoring the coefficients with M.
  • New.Variety.algBaseChangeAdj: for a k-algebra S, the functor A ↦ S ⊗_k A (New.Variety.algBaseChange) is left adjoint to restriction of scalars (New.Variety.restrictAlg).
  • New.Variety.pointMap_algBaseChange_unit_bijective: the base change S ⊗_k B represents Hom(B, -) on S-algebras.

Notions from other files:

  • New.Variety.moduleCoeff: A functor F from C to k-modules, regarded as a functor to abelian groups, so that it can serve as the coefficients of cohomology.
  • New.Variety.freeAb: The functor sending a set-valued functor Y to Z[Y], whose value at A is the free abelian group on Y(A).
  • New.Variety.tensorWith: For a module M over the S-algebra T, the functor X ↦ M ⊗_S X from S-modules to T-modules.

Relation to the literature

The arguments are the usual ones: the Yoneda lemma, exactness of tensoring with a flat module, and the tensor-hom adjunction.

Pinned source lines

Declarations

Import route to Main

Lib.General.Algebra.CohomologyBaseChange → Lib.PadicComparison.Completion (pinned import) → Lib.PadicComparison.Crystalline.DividedPowerEnvelope (pinned import) → Lib.PadicComparison.Crystalline.ComparisonMap (pinned import) → Lib.PadicComparison.CrystallineFrobenius (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