Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Data.Connection.Property
Synopsis
- connection :: Prd a => Prd b => Conn a b -> a -> b -> Bool
- closed :: Prd a => Prd b => Conn a b -> a -> Bool
- closed' :: Prd a => Prd b => Trip a b -> a -> Bool
- kernel :: Prd a => Prd b => Conn a b -> b -> Bool
- kernel' :: Prd a => Prd b => Trip a b -> b -> Bool
- monotone :: Prd a => Prd b => Conn a b -> b -> b -> Bool
- monotone' :: Prd a => Prd b => Conn a b -> a -> a -> Bool
- idempotent_unit :: Prd a => Prd b => Conn a b -> a -> Bool
- idempotent_counit :: Prd a => Prd b => Conn a b -> b -> Bool
- projective_l :: Prd a => Prd b => Conn a b -> a -> Bool
- projective_r :: Prd a => Prd b => Conn a b -> b -> Bool
Documentation
connection :: Prd a => Prd b => Conn a b -> a -> b -> Bool Source #
∀x,y:f⊣g⇒f(x)≤y⇔x≤g(y)
A monotone Galois connection.
closed :: Prd a => Prd b => Conn a b -> a -> Bool Source #
∀x:f⊣g⇒x≤g∘f(x)
This is a required property.
closed' :: Prd a => Prd b => Trip a b -> a -> Bool Source #
∀x:f⊣g⇒x≤g∘f(x)
This is a required property.
kernel :: Prd a => Prd b => Conn a b -> b -> Bool Source #
∀x:f⊣g⇒f∘g(x)≤x
This is a required property.
kernel' :: Prd a => Prd b => Trip a b -> b -> Bool Source #
∀x:f⊣g⇒x≤g∘f(x)
This is a required property.
monotone :: Prd a => Prd b => Conn a b -> b -> b -> Bool Source #
∀x,y:x≤y⇒g(x)≤g(y)
This is a required property.
monotone' :: Prd a => Prd b => Conn a b -> a -> a -> Bool Source #
∀x,y:x≤y⇒f(x)≤f(y)
This is a required property.
idempotent_counit :: Prd a => Prd b => Conn a b -> b -> Bool Source #
∀x:f⊣g⇒counit∘counit(x)∼counit(x)