nLab Boolean semiring (Guzmán)

Redirected from "Boolean rig (Guzmán)".

This article is about Boolean semirings as defined by Fernando Guzmán. For other notions of “Boolean rig” or “Boolean semiring”, see Boolean semiring.


Contents

Definition

A Boolean semiring or Boolean rig is a multiplicatively idempotent semiring such that 1+x+x=11 + x + x = 1.

Properties

Commutativity

Theorem

Every Boolean semiring is commutative.

Proof

By definition of a Boolean semiring, we have 1+x+x=11 + x + x = 1, and by commutativity and associativity of ++, we have x+x+1=1x + x + 1 = 1. In addition, for all elements xx and yy, we have

xy=xy(1+x+x)=x(y+yx+yx) =x((y+yx) 2+yx)=x(y+yx+yx+yxy+yx) =x(y+yxy+yx)=xy+xyxy+xyx=xyxy+xyxy+xyx=xyx(y+y+1)=xyx \begin{array}{c} x y = x y (1 + x + x) = x (y + y x + y x) \\ = x ((y + y x)^2 + y x) = x (y + y x + y x + y x y + y x) \\ = x (y + y x y + y x) = x y + x y x y + x y x = x y x y + x y x y + x y x = x y x ( y + y + 1) = x y x \end{array}

and

yx=(x+x+1)yx=(xy+xy+y)x =(xy+(xy+y) 2)x=(xy+yxy+xy+xy+y)x =(xy+yxy+y)x=xyx+yxyx+yx=xyx+yxyx+yxyx=(y+y+1)xyx=xyx \begin{array}{c} y x = (x + x + 1) y x = (x y + x y + y) x \\ = (x y + (x y + y)^2) x = (x y + y x y + x y + x y + y) x \\ = (x y + y x y + y) x = x y x + y x y x + y x = x y x + y x y x + y x y x = (y + y + 1) x y x = x y x \end{array}

Thus, we have xy=yxx y = y x, showing that Boolean semirings are commutative.

Join, meet, and negation operators

Even without subtraction, we may define the join operation xyx+xy+yx \vee y \coloneqq x + x y + y. We can prove that multiplication distributes over join, meaning that multiplication and join together form another rig structure. But we cannot prove that this semiring is also Boolean, or that join is a semilattice operation; in fact, if the Boolean semiring is a distributive lattice, then the “join” operation defined above is the same as the addition operation.

Examples

The main examples are probably distributive lattices. In this case, the join operation called \vee above will match the original join/addition operation called ++ above.

Of course, a Boolean ring is a Boolean semiring, since any ring is a rig. However, since it's also a distributive lattice, a Boolean ring is actually a Boolean semiring in two different ways.

References

Last revised on June 13, 2025 at 05:23:32. See the history of this page for a list of all contributions to it.