Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Lattices.UnitIntervalStructures.Godel
Synopsis
- newtype UIGodel = UIGodel UnitInterval
- class RealFrac l => BoundedLattice l where
- mkGodelUnitInterval :: Double -> UIGodel
- fromGodelUnitInterval :: UIGodel -> Double
Documentation
Constructors
UIGodel UnitInterval |
Instances
Num UIGodel Source # | |
Fractional UIGodel Source # | |
Defined in Lattices.UnitIntervalStructures.Godel | |
Real UIGodel Source # | |
Defined in Lattices.UnitIntervalStructures.Godel Methods toRational :: UIGodel -> Rational | |
RealFrac UIGodel Source # | |
Show UIGodel Source # | |
BoundedLattice UIGodel Source # | |
ResiduatedLattice UIGodel Source # | Gödel structure of truth values |
Defined in Lattices.UnitIntervalStructures.Godel | |
Eq UIGodel Source # | |
Ord UIGodel Source # | |
Defined in Lattices.UnitIntervalStructures.Godel |
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
meet
join
also called upper bound
also called lower bound
mkLattice :: Double -> l Source #
constructor for lattice
Instances
BoundedLattice UnitInterval Source # | |
Defined in Lattices.UnitInterval Methods (/\) :: UnitInterval -> UnitInterval -> UnitInterval Source # (\/) :: UnitInterval -> UnitInterval -> UnitInterval Source # top :: UnitInterval Source # bot :: UnitInterval Source # mkLattice :: Double -> UnitInterval Source # | |
BoundedLattice UIGodel Source # | |
BoundedLattice UILukasiewicz Source # | |
Defined in Lattices.UnitIntervalStructures.Lukasiewicz Methods (/\) :: UILukasiewicz -> UILukasiewicz -> UILukasiewicz Source # (\/) :: UILukasiewicz -> UILukasiewicz -> UILukasiewicz Source # top :: UILukasiewicz Source # bot :: UILukasiewicz Source # mkLattice :: Double -> UILukasiewicz Source # | |
BoundedLattice UIProduct Source # | |
mkGodelUnitInterval :: Double -> UIGodel Source #
fromGodelUnitInterval :: UIGodel -> Double Source #