fuzzySets-1.0.0: Library for constructing and manipulating fuzzy sets and fuzzy relations.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Lattices.ResiduatedLattice

Synopsis

Documentation

class BoundedLattice l => ResiduatedLattice l where Source #

A bounded lattice with additional laws and operations namely --> and tnorm

Commutativity

x tnorm y ≡ y tnorm x

Asociativity of tnorm

x tnorm (y tnorm z) ≡ (x tnorm y) tnorm z

Identity Element x tnorm 1 ≡ x

Adjointness x ≤ y --> z iff x tnorm y ≤ z

Minimal complete definition

(-->), tnorm

Methods

(-->) :: l -> l -> l Source #

residuum

(<--) :: l -> l -> l Source #

residuum

(<-->) :: l -> l -> l Source #

biresiduum

tnorm :: l -> l -> l Source #

negation :: l -> l Source #

power :: l -> Nat -> l Source #

class RealFrac l => BoundedLattice l where Source #

Lattice is an algebraic structure with join and meet operations. BoundedLattice has Top and Bottom elements Lattice satisfies following laws:

Associativity

x \/ (y \/ z) ≡ (x \/ y) \/ z
x /\ (y /\ z) ≡ (x /\ y) /\ z

Commutativity

x \/ y ≡ y \/ x
x /\ y ≡ y /\ x

Idempotency

x \/ x ≡ x
x /\ x ≡ x

Absorption

a \/ (a /\ b) ≡ a
a /\ (a \/ b) ≡ a

Methods

(/\) :: l -> l -> l Source #

meet

(\/) :: l -> l -> l Source #

join

top :: l Source #

also called upper bound

bot :: l Source #

also called lower bound

mkLattice :: Double -> l Source #

constructor for lattice

type Nat = Int Source #