Lemma 2
Tag 00GO, permanent. Cite it as [Bourbaki, Tag 00GO].
Algebra, VIII, p. 254, § 14. Central Simple Algebras
Suppose that B is a semisimple ring that is a finitely generated module over its center Z. Let M and N be -bimodules. Suppose that they have finite length (which is, in particular, the case when they are right A-modules of finite length). If M and N are isomorphic as -bimodules, then they are isomorphic as -bimodules.
A) First consider the case when B is the endomorphism ring of a vector space S of finite dimension over a commutative field L. We then have Z = L; we view S as a , Z)-bimodule. The ring B is simple, S is a simple B-module, and Z is the commutant of S; every B-module is isotypical of type S (VIII, p. 122, Proposition 2 a)). Let (resp. ) be a description of the B-module M (resp. N). The set V (resp. W) is endowed with a , A)-bimodule structure such that (resp. ) is an isomorphism of , A)-bimodules (VIII, p. 64, Remark 2). As , A)-bimodules, M is isomorphic to and N to , and there exists an isomorphism from the set of , A)-sub-bimodules of V, ordered by inclusion, to that of the , A)-sub-bimodules of M (loc. cit.). Hence V is a , A)-bimodule of finite length, and so is W. Since the -bimodules and are isomorphic, the , A)-bimodules V and W are isomorphic by Theorem 2, d) of VIII, p. 37 applied to the ring . Finally, the , A)-bimodules M and N are isomorphic.
B) Now consider the case when B is a simple ring that is finitely generated as a Z-module. Then Z is a field, and B is a central simple algebra of finite degree over the field Z. By Theorem 1 of VIII, p. 252, there exists an extension of Z of finite degree over Z such that the -algebra is isomorphic to the endomorphism algebra of a finite-dimensional -vector space. Set and . Then and are , A)-bimodules of finite length; viewed as , A)-bimodules, and are isomorphic. By the case treated in and are isomorphic as , A)-bimodules and a fortiori as , A)-bimodules. Set . The , A)-bimodule is isomorphic to , and, likewise, the , A)-bimodule is isomorphic to . Since M and N are , A)-bimodules of finite length, it follows from Theorem 2, d) of VIII, p. 37 that the , A)-bimodules M and N are isomorphic.
C) Finally, consider the general case, when B is a semisimple ring that is finitely generated as a Z-module. Let be the set of classes of simple B-modules; it is finite (VIII, p. 136, Proposition 1). For any , denote by (resp. ) the isotypical component of type of the B-module M (resp. N); it is a , A)-sub-bimodule of M (resp. N) (Remark, VIII, p. 67). For , denote the annihilator of the B-module by , and set ; let be the center of . For , the , A)-bimodules and have finite length. We can then identify B with the product of the simple rings and Z with the product of the (VIII, p. 141, Proposition 8). Moreover, we can identify M with and N with . By assumption, M and N are isomorphic as , A)-bimodules; it follows that for and are isomorphic , A)-bimodules. By the case treated in B), the , A)-bimodules and are isomorphic, and so the , A)-bimodules M and N are isomorphic.
Bourbaki sets the proof directly after the statement, and the corpus does not separate them, so what is above is the statement and its proof together.