Math 2.0

General algebraic systems Definition

Many-sorted algebra

Builds on SetFunctionCartesian product

Definition

Let SS be a set, whose elements are called sorts. An SS-sorted signature Σ\Sigma is a set of operation symbols, each with a type s1⋯sn→ss_1 \cdots s_n \to s, where n≥0n \ge 0 and s1,…,sn,s∈Ss_1, \dots, s_n, s \in S. A many-sorted Σ\Sigma-algebra AA consists of:

  1. a set AsA_s for each sort s∈Ss \in S, the carrier of sort ss;
  2. for each symbol ff of type s1⋯sn→ss_1 \cdots s_n \to s, a function fA ⁣:As1×⋯×Asn→Asf^A \colon A_{s_1} \times \cdots \times A_{s_n} \to A_s on the Cartesian product.

A homomorphism h ⁣:A→Bh \colon A \to B of Σ\Sigma-algebras is a family of maps hs ⁣:As→Bsh_s \colon A_s \to B_s with hs(fA(a1,…,an))=fB(hs1(a1),…,hsn(an))h_s(f^A(a_1, \dots, a_n)) = f^B(h_{s_1}(a_1), \dots, h_{s_n}(a_n)) for every symbol ff of type s1⋯sn→ss_1 \cdots s_n \to s and all ai∈Asia_i \in A_{s_i}.

Remarks

Example: let S={scalar,vector}S = \set{\mathrm{scalar}, \mathrm{vector}}, with symbols + ⁣:vector vector→vector+ \colon \mathrm{vector}\,\mathrm{vector} \to \mathrm{vector}, ⋅ ⁣:scalar vector→vector\cdot \colon \mathrm{scalar}\,\mathrm{vector} \to \mathrm{vector}, and the field operations on the sort scalar\mathrm{scalar}. A vector space VV over a field KK gives an algebra with Ascalar=KA_{\mathrm{scalar}} = K and Avector=VA_{\mathrm{vector}} = V; each operation sends arguments of the right sorts to the right sort.

Non-example: the same data with a map K×V→KK \times V \to K in place of scalar multiplication fails clause 2, since the value of ⋅\cdot must lie in the carrier of sort vector\mathrm{vector}.

With one sort, a many-sorted algebra is an ordinary algebra. Birkhoff and Lipson called these structures heterogeneous algebras. Some authors require each carrier AsA_s to be nonempty.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Cartesian product concept
  2. Element definition
  3. Function concept
  4. Set definition
  5. Many-sorted algebra definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Many-sorted_logic
About this page
TagZETPP2VJFJ
URIm2://ZETPP2VJFJ
Kinddefinition
WritingW0 stub
MSC08A68, 68Q65
DefinesMany-sorted algebra
UsesSet, Function, Cartesian product
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.