GenBoolFromBoolRng
Every Boolean rng gives rise to a Boolean algebra without top:
Every Boolean rng gives rise to a Boolean algebra without top:
- 0 is preserved;
- ring multiplication (
times
) corresponds toand
; - ring addition (
plus
) corresponds toxor
; a or b
is then defined asa xor b xor (a and b)
;- relative complement
a\b
is defined asa xor (a and b)
.
BoolRng.asBool.asBoolRing
gives back the original BoolRng
.
- See also
trait GenBool[A]
trait BoundedJoinSemilattice[A]
trait DistributiveLattice[A]
trait Lattice[A]
trait MeetSemilattice[A]
trait JoinSemilattice[A]
trait Serializable
class Object
trait Matchable
class Any
class BoolFromBoolRing[A]
Value members
Concrete methods
Inherited methods
This is the lattice with meet and join swapped
This is the lattice with meet and join swapped
- Inherited from
- Lattice