FreeDistributiveLattice

class FreeDistributiveLattice<A> : HeytingAlgebra<FreeDistributiveLattice<A>>

The free distributive lattice over an arbitrary set A of elements. In addition to lattice identities, the following hold:

a /\ (b \/ c) == (a /\ b) \/ (a /\ c)

a \/ (b /\ c) == (a \/ b) /\ (a \/ c)

Constructors

FreeDistributiveLattice
Link copied to clipboard
fun <A> FreeDistributiveLattice(element: A)

Types

Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
imply
Link copied to clipboard
open override fun imply(that: FreeDistributiveLattice<A>): FreeDistributiveLattice<A>

Returns the relative pseudocomplement of this relative to that. the relative pseudocomplement is greatest x s.t. this & x <= that.

join
Link copied to clipboard
open override fun join(that: FreeDistributiveLattice<A>): FreeDistributiveLattice<A>

The least upper bound of this and that.

lessThanOrEqualTo
Link copied to clipboard
open override fun lessThanOrEqualTo(that: FreeDistributiveLattice<A>): Boolean

Returns true if this is ordered before that.

meet
Link copied to clipboard
open override fun meet(that: FreeDistributiveLattice<A>): FreeDistributiveLattice<A>

The greatest lower bound of this and that.

toString
Link copied to clipboard
open override fun toString(): String