← LibraryCancellation of Modules over Semilocal RingsEngineering · Engineering MathematicsLesson 407/812← PrevNext →
ArticlePublished 8 Aug 2026Updated 9 Aug 202616 min readBy KEVOS®
Skip to content

Engineering Mathematics Advanced Semilocal rings

Cancellation of Modules

Over a ring of left stable range one — in particular over any semilocal ring — finitely generated projective modules cancel, stably free modules are free, invariant basis number holds, and every Mn(R) is Dedekind-finite.

Page ID
KEVOS-ENG-MATH-NCR-0151
Taxonomy
ENG / ENG-MATH
Collection
noncommutative-rings-core
Source
(20.13), §20 (pp. 317)
Reviewed
2026-08-08
Version
1.0.0

Executive Summary

Stable range one is a hypothesis on units; (20.13) converts it into four statements about modules. Over a ring R of left stable range one — for example any semilocal ring — a finitely generated projective module can be cancelled from any direct sum, free modules have well-defined rank, stably free modules are genuinely free, and one-sided inverses of matrices are two-sided.

All four follow from a single instance of the Cancellation Theorem: the case A=R, where End(RR)R, so the hypothesis on the endomorphism ring is the hypothesis on R itself. Everything else is bookkeeping with free summands.

4Consequences in (20.13)
A=RThe only case actually needed
FreeWhat stably free becomes
K–SCancellation is not Krull–Schmidt

Overview

In K-theory one routinely proves statements only stably: after adding a free module. K0(R) remembers P only up to the relation PRmQRm. Whether that stable information determines P is exactly the cancellation question, and it is not automatic — over the coordinate ring of the real 2-sphere it fails.

PRmQRm?PQ
(20.13a)

The stable-to-actual question. Left stable range one answers yes for finitely generated projective P and Q.

Lam's (20.13) collects the affirmative answers available under that hypothesis. The list is worth memorising because each item is the standard hypothesis of some other theory: invariant basis number for anything involving matrix sizes, freeness of stably free modules for Serre-type problems, and stable finiteness for algorithms that invert matrices.

Learning Objectives

  • Reduce cancellation of a finitely generated projective to cancellation of R itself.
  • Prove (20.13)(1) using End(RR)R and the Cancellation Theorem.
  • Derive invariant basis number and identify why R=0 must be excluded.
  • Prove that stably free implies free, handling both sr and s<r.
  • Prove that Mn(R) is Dedekind-finite by cancelling Rn from Rnkerα.
  • Give an example where decomposition into indecomposables is not unique despite cancellation.

Definitions

Stably free
P is stably free if P direct sum R^m is free of finite rank for some m. Every stably free module is projective.
Invariant basis number (IBN)
For R nonzero, R^n isomorphic to R^m implies n = m.
Stably finite
M_n(R) is Dedekind-finite for all n. Equivalent to: every epimorphism of right modules from R^n onto R^n is an isomorphism.
V(R)
The commutative monoid of isomorphism classes of finitely generated projective right R-modules under direct sum; K_0(R) is its group completion.

Throughout, modules are right R-modules and R has left stable range one; by Bass' Theorem this holds whenever R is semilocal.

Core Concepts

The reduction to A=R

The Cancellation Theorem (20.11) asks that End(AR) have left stable range one, which is a statement about A. When A=R the endomorphism ring is R itself, via ϕϕ(1), so the hypothesis is exactly "R has left stable range one". Every part of (20.13) is obtained by inflating a projective module to a free one and cancelling copies of R one at a time.

R has left stable range 1R cancelsRn cancelsf.g. projectives cancel

Why projectivity of A is needed here

(20.13)(1) places its hypothesis on R, not on End(AR), and pays for that by requiring A to be finitely generated projective — precisely so that A has a complement A with AARn. Without projectivity there is no way to move from A to a free module, and one must return to (20.11) and verify the hypothesis on End(AR) directly.

Route 1

Hypothesis on the module

(20.11): End(AR) has stable range one. Works for arbitrary A — no projectivity, no finite generation. Cost: the hypothesis is often hard to check.

Route 2

Hypothesis on the ring

(20.13)(1): R has stable range one and A is finitely generated projective. Cost: A is restricted. Benefit: the hypothesis is a property of R alone and is inherited by all such A at once.

The monoid picture

Cancellation says the monoid V(R) of finitely generated projectives is cancellative. A cancellative commutative monoid embeds in its group completion, so

PQ[P]=[Q] in K0(R),
(20.13b)

Valid for finitely generated projective P,Q over a ring of left stable range one. Without cancellation, K0 forgets genuine distinctions.

Key Results

Theorem(20.13)Consequences of stable range one

Let R be a ring with left stable range one — for instance, any semilocal ring. Then:

  1. If A,B,C are right R-modules with A finitely generated projective, then ABAC implies BC.
  2. R has invariant basis number: for R0 and natural numbers n,m, RnRm as right R-modules implies n=m.
  3. Every finitely generated stably free right R-module is free.
  4. Mn(R) is Dedekind-finite for every n1; that is, R is stably finite.
Proofof (1)

Since A is finitely generated projective, choose A with AARn. Adding A to both sides of ABAC gives

RnBAABAACRnC.

It therefore suffices to cancel one copy of R at a time. For A=R the endomorphism ring is End(RR)R, which has left stable range one by hypothesis, so the Cancellation Theorem (20.11) applies and gives RXRYXY. Applying this n times to the display yields BC.

Proofof (2)

Suppose RnRm with nm. Cancelling Rm by part (1) gives Rnm0. If n>m then Rnm has R as a direct summand, so R=0. Hence for R0 we must have n=m.

Proofof (3)

Let P be finitely generated with PRrRs.

If sr, cancel Rs from both sides using part (1): PRrs0, so P=0, which is free of rank 0 (and if r>s this also forces R=0, where everything is free).

If s>r, cancel Rr instead: PRsr, which is free.

Proofof (4)

Let α,βMn(R) with αβ=In. Viewing Rn as a right R-module of column vectors, left multiplication by a matrix is a right R-linear endomorphism, so α and β define maps RnRn.

From αβ=In, the map α is surjective and is split by β, which is therefore injective. Hence

RnimβkerαRnkerα.

Cancelling Rn by part (1) gives kerα=0. So α is injective as well as surjective, hence an automorphism of Rn, hence an invertible matrix. Multiplying αβ=In on the left by α1 and on the right by α gives βα=In.

CorollarySemilocal rings

Every semilocal ring satisfies (1)–(4), by Bass' Theorem (20.9). In particular every finite-dimensional algebra over a field, every finite ring, every left or right artinian ring and every local ring has invariant basis number, is stably finite, and has all stably free modules free.

RemarkEquivalent forms of stable finiteness

For a fixed n, the following are equivalent: Mn(R) is Dedekind-finite; RnRnM forces M=0; every right module epimorphism RnRn is an isomorphism. A ring satisfying these for the given n is called *weakly n-finite*; satisfying them for all n is stable finiteness.

RemarkCancellation does not give uniqueness of decompositions

None of (1)–(4) implies the Krull–Schmidt property. One may have ABCD with all four modules finitely generated and indecomposable, AnotC, AnotD, BnotC, BnotD. There is no common summand to cancel, so the theorems above simply do not engage. Swan's example, over a commutative noetherian local domain, is exactly of this shape.

Proof Techniques and Method

How these proofs work, and which move to reuse.

1. Inflate to freeA finitely generated projective A has a complement A with AARn. Adding A to both sides of an isomorphism converts a statement about A into one about Rn.
2. Cancel one R at a timeEnd(RR)R, so (20.11) applies with the hypothesis on R. Induct on n.
3. Push degenerate cases to R=0Statements like Rnm0 are not contradictions but conclusions: they force the ring to vanish. Handle the zero ring explicitly rather than assuming it away.
4. Convert matrices into module mapsA one-sided inverse in Mn(R) is a splitting of RnRn. Cancellation of Rn then kills the kernel and upgrades the inverse to a two-sided one.

Worked Example

Stably free equals free over /12

R=/12/4×/3 is semilocal, so (20.13) applies. Set e=(1,0), the idempotent corresponding to the first factor, and P=eR/4. Then P is projective and not free — it has 4 elements while Rn has 12n — but it is not stably free either, consistently with (3): PRm has 412m elements, while Rn has 12n, and 412m=12n has no solution in non-negative integers.

A counting check of (2) in the same ring: |Rn|=12n determines n, so IBN is visible directly. Over a general semilocal ring no such counting is available and (20.13)(2) is doing real work.

Cancellation without Krull–Schmidt: [5]

Let S=[5], a Dedekind domain of class number 2, and let I=(2,1+5).

  • I is not principal: an element of norm 2 would need a2+5b2=2, which has no integer solutions.
  • I2=(2): expanding, I2=(4,2+25,4+25)=(2)(2,1+5,2+5), and the second factor contains (1+5)(2+5)=3 as well as 2, hence is all of S.
  • Steinitz' theorem for Dedekind domains gives IJSIJ for fractional ideals, so IISI2SS.
IISS,InotS.
(20.13c)

Two decompositions into indecomposables with no summand in common. Rank-one torsion-free modules over a Dedekind domain are indecomposable.

Cancellation is not violated: there is no common summand to cancel, and indeed finitely generated projectives over a Dedekind domain do cancel, by Steinitz' classification. What fails is uniqueness of the decomposition. This is the precise sense in which (20.13) is weaker than a Krull–Schmidt theorem.

A ring where (4) fails

If R=Endk(V) with dimkV countably infinite then VVV, so RM2(R) and RRRRRR. Here IBN fails, R is not Dedekind-finite, and no part of (20.13) survives — as it must be, since R does not have stable range one.

Comparison and Classification

Cancellation results and the hypotheses they need
ResultHypothesis on RHypothesis on AHypothesis on B,C
(20.11)noneEnd(AR) has left stable range onenone
(20.12)module-finite over commutative noetherian semilocal kfinitely generatednone
(20.13)(1)left stable range onefinitely generated projectivenone
Finite lengthnoneA has a composition seriesnone
Steinitz (Dedekind domains)Dedekind domainfinitely generated projectivefinitely generated

The trade is always the same: weaken the hypothesis on the ring and you must strengthen it on the module, and conversely. Only (20.11) and (20.13)(1) allow B and C to be completely arbitrary.

What holds where
RingIBNStably free = freeStably finite
Semilocalyesyesyes
Left stable range oneyesyesyes
Commutative nonzeroyesnoyes
[x1,,xd]yesyes (Quillen–Suslin)yes
[x,y,z]/(x2+y2+z21)yesnoyes
Endk(V), dimkV infinitenonono

Commutative rings always have IBN and are stably finite, but stably free modules over them need not be free — the sphere example is the standard witness. So (20.13)(3) is strictly stronger than commutativity.

Relationship Map

  • Left stable range one — the hypothesis of (20.13)
    • Cancellation of f.g. projectives (20.13)(1)
      • V(R) is a cancellative monoid
      • [P]=[Q] in K0(R) iff PQ
      • Stably free modules are free (20.13)(3)
    • Matrix consequences (20.13)(2) and (20.13)(4)
      • Invariant basis number
      • Mn(R) Dedekind-finite for all n
      • Every epimorphism RnRn is an isomorphism

Upstream, the hypothesis is supplied by Bass' Theorem for semilocal rings. Downstream it does not reach Krull–Schmidt, which needs indecomposables with local endomorphism rings — a genuinely different condition treated on the Krull–Schmidt page.

semilocalstable range 1cancel f.g. projectivesstably free = freeIBN

Applications and Industry Use

Applications here means where this structure is used — inside mathematics and in the engineering and computing disciplines that consume it.

  • Algebraic K-theory. (20.13)(1) is what makes K0 of a semilocal ring a faithful invariant of finitely generated projectives rather than merely a stable one.
  • Serre's problem and its relatives. "Stably free implies free" is the conclusion Quillen and Suslin obtained for polynomial rings over a field by other means; over semilocal rings it is elementary, which is why local-global arguments reduce hard cases to semilocal ones.
  • Integral and modular representation theory. Over a p-adic order, cancellation of lattices holds by (20.12) and (20.13), so genus theory and local-global counting of lattices are well posed.
  • Computer algebra and matrix algorithms. Stable finiteness guarantees that a one-sided matrix inverse over the coefficient ring is a genuine inverse, so routines that verify αβ=I need not separately check βα=I. Over rings without the property this shortcut is unsound.
  • Systems and coding over rings. Free modules of well-defined rank are what make "a code of length n" meaningful. IBN failure would make the length of a free code ambiguous; (20.13)(2) rules that out for the finite chain rings used in practice.

Computational Notes

Computational notes cover algorithms, cost and library behaviour rather than manufacturing process.

  • Deciding whether a given finitely generated projective module over a semilocal ring is free reduces, by (20.13)(3), to deciding whether it is stably free — a question about a class in K0 rather than about explicit bases.
  • Over a finite-dimensional algebra, projective modules are computed as eA for idempotents e produced by lifting a Wedderburn decomposition of A/radA; cancellation makes the resulting list of indecomposable projectives well defined up to isomorphism.
  • Matrix inversion over a semilocal coefficient ring may be verified one-sidedly, by (20.13)(4). Computer algebra systems that check both sides do so for generality, not necessity.
  • There is no algorithm to decide stable range one for an arbitrary finitely presented ring; in practice the property is certified structurally, by exhibiting semilocality or unit-regularity.

Failure Modes and Common Mistakes

Best Practices

  • State which of (20.11), (20.12) and (20.13)(1) you are using; they have different hypotheses and different reach.
  • When the ring is semilocal, quote Bass' Theorem once and then work with stable range one — it is the property the proofs actually consume.
  • Check finitely generated projective, not just finitely generated, before applying (20.13)(1).
  • If uniqueness of a decomposition is what you need, look for local endomorphism rings and a Krull–Schmidt theorem, not for cancellation.
  • For a concrete ring, test IBN and stable finiteness by counting or by exhibiting semilocality before assuming them.

Quick Reference

HypothesisR has left stable range one; guaranteed for semilocal R by (20.9).
(20.13)(1)A f.g. projective, B,C arbitrary: ABACBC.
(20.13)(2)IBN: RnRmn=m, for R0.
(20.13)(3)PRrRsPRsr when sr; otherwise P=0.
(20.13)(4)Mn(R) is Dedekind-finite for all n: αβ=Inβα=In.
Not impliedKrull–Schmidt uniqueness of decompositions.
Proof of each part in one line
PartArgument
(1)Add A with AARn; cancel R n times using End(RR)R in (20.11).
(2)Cancel Rm from RnRm; a nonzero free module of positive rank forces R0.
(3)Cancel Rmin(r,s) from PRrRs.
(4)αβ=In splits RnRn; cancel Rn to kill kerα.

Frequently Asked Questions

Why does part (1) require A to be projective when (20.11) requires no such thing?

Because the hypothesis has been moved. (20.11) assumes stable range one for End(AR); (20.13)(1) assumes it only for R and must therefore reach A through a free module. Projectivity supplies the complement A with AARn, and that is the only place it is used.

Does invariant basis number really need a hypothesis?

Yes. Endk(V) for V of countably infinite dimension satisfies RRR as right modules, so R1R2. Leavitt algebras give examples with RnRm for prescribed nm. IBN is a theorem, not a convention.

If stably free modules are free over semilocal rings, are all finitely generated projectives free?

No. Over M2(k) the simple module is projective and not free, and over /12 the summand /4 is projective and not free. Only the stably free ones become free. Over a local ring, however, all finitely generated projectives are free, by Kaplansky's theorem.

How does part (4) relate to Dedekind finiteness of R itself?

Part (4) with n=1 is Dedekind finiteness of R. The content is the uniform statement over all n, that is, stable finiteness, which does not follow from Dedekind finiteness alone — Shepherdson gave a counterexample.

Why does Krull–Schmidt not follow?

Cancellation compares two decompositions that already share a summand. Krull–Schmidt asserts that any two decompositions into indecomposables match up, and needs each indecomposable to have a local endomorphism ring. The ideal example over [5] has indecomposables with non-local endomorphism rings and fails uniqueness while cancellation still holds.

Is the converse of (20.13) true — does cancellation imply stable range one?

No. Cancellation of finitely generated projectives holds over every Dedekind domain by Steinitz' theorem, yet has stable range two. The implications in (20.13) are one-directional.

References

  1. T. Y. Lam, A First Course in Noncommutative Rings, Graduate Texts in Mathematics 131, Springer-Verlag, 1991, §20, (20.13) and Exercises 20.2–20.8, pp. 316–317.
  2. H. Bass, “K-theory and stable algebra”, Publications Mathématiques de l'IHÉS 22 (1964), 5–60.
  3. R. G. Swan, Algebraic K-Theory, Lecture Notes in Mathematics 76, Springer-Verlag, 1968.
  4. P. M. Cohn, Free Rings and Their Relations, 2nd edition, Academic Press, 1985, for invariant basis number and weakly finite rings.
  5. T. Y. Lam, Serre's Problem on Projective Modules, Springer Monographs in Mathematics, Springer-Verlag, 2006.
  6. A. Facchini, Module Theory: Endomorphism Rings and Direct Sum Decompositions in Some Classes of Modules, Progress in Mathematics 167, Birkhäuser, 1998.

AI Suggested Questions

  • Prove Steinitz' theorem that IJRIJ for fractional ideals over a Dedekind domain.
  • Construct Swan's example of finitely generated indecomposable modules over a commutative noetherian local domain with non-unique direct-sum decomposition.
  • Show that the Leavitt algebra L(m,n) fails invariant basis number with RmRn.
  • Give the details of Kaplansky's theorem that projective modules over a local ring are free.
  • Explain why the tangent module of the real 2-sphere is stably free but not free, and identify the stable range obstruction.
  • For which rings is V(R) cancellative but R of stable range greater than one?
  • How do cancellation and Krull–Schmidt interact for modules of finite length over an arbitrary ring?
Page
KEVOS-ENG-MATH-NCR-0151
Path
Engineering / Mathematics
Template
kevos-knowledge-article-v2
KEVOS® Knowledge Library — reviewed 2026-08-08

Continue learning

Rings of Stable Range OneArticle · Engineering MathematicsNEXT LESSON →Idempotents and the Peirce DecompositionArticle · Engineering MathematicsDedekind-Finite RingsArticle · Engineering MathematicsIdempotents and Direct Decompositions of ModulesArticle · Engineering Mathematics