hylolib-1.5.4: Tools for hybrid logics related programs

Safe HaskellNone
LanguageHaskell2010

HyLo.Model

Documentation

data Model w n p r Source #

Instances
(Ord w, Ord n, Ord p, Ord r) => ModelsRel (Model w n p r, w) (Formula n p r) n p r Source # 
Instance details

Defined in HyLo.Model

Methods

(|=) :: (Model w n p r, w) -> Formula n p r -> Bool Source #

(Read w, Read n, Read p, Read r, Ord w, Ord n, Ord p, Ord r) => Read (Model w n p r) Source # 
Instance details

Defined in HyLo.Model

Methods

readsPrec :: Int -> ReadS (Model w n p r) #

readList :: ReadS [Model w n p r] #

readPrec :: ReadPrec (Model w n p r) #

readListPrec :: ReadPrec [Model w n p r] #

(Show w, Show n, Show p, Show r) => Show (Model w n p r) Source # 
Instance details

Defined in HyLo.Model

Methods

showsPrec :: Int -> Model w n p r -> ShowS #

show :: Model w n p r -> String #

showList :: [Model w n p r] -> ShowS #

HasSignature (Model w n p r) Source # 
Instance details

Defined in HyLo.Model

Associated Types

type NomsOf (Model w n p r) :: Type Source #

type PropsOf (Model w n p r) :: Type Source #

type RelsOf (Model w n p r) :: Type Source #

Methods

getSignature :: Model w n p r -> Signature (NomsOf (Model w n p r)) (PropsOf (Model w n p r)) (RelsOf (Model w n p r)) Source #

(Ord w, Ord n, Ord p, Ord r) => ModelsRel (Model w n p r) (Formula n p r) n p r Source # 
Instance details

Defined in HyLo.Model

Methods

(|=) :: Model w n p r -> Formula n p r -> Bool Source #

type NomsOf (Model w n p r) Source # 
Instance details

Defined in HyLo.Model

type NomsOf (Model w n p r) = n
type PropsOf (Model w n p r) Source # 
Instance details

Defined in HyLo.Model

type PropsOf (Model w n p r) = p
type RelsOf (Model w n p r) Source # 
Instance details

Defined in HyLo.Model

type RelsOf (Model w n p r) = r

worlds :: Model w n p r -> Set w Source #

succs :: Model w n p r -> r -> w -> Set w Source #

valP :: Model w n p r -> p -> Set w Source #

valN :: Model w n p r -> n -> w Source #

model :: (RelRepr rs r w, ValRepr ps p w, ValNomRepr ns n w) => Set w -> rs -> ps -> ns -> Signature n p r -> Model w n p r Source #

equiv :: (Eq w, Eq n, Eq p, Eq r) => Model w n p r -> Model w n p r -> Bool Source #

expand :: (Ord n, Ord p, Ord r) => Signature n p r -> Model w n p r -> Model w n p r Source #

setSignature :: (Ord n, Ord p, Ord r) => Signature n p r -> Model w n p r -> Model w n p r Source #

(??) :: Eq n => Model w n p r -> (n, w) -> Model w n p r Source #

removeWorld :: Ord w => w -> Model w n p r -> Model w n p r Source #

removeWorlds :: Ord w => Set w -> Model w n p r -> Model w n p r Source #

countInModel :: (Ord w, Ord n, Ord p, Ord r) => Formula n p r -> Model w n p r -> Int Source #

namesOf :: Eq w => w -> Model w n p r -> [n] Source #

propsOf :: Ord w => w -> Model w n p r -> [p] Source #

class ModelsRel m f n p r | m -> n, m -> p, m -> r, f -> n, f -> p, f -> r where Source #

Methods

(|=) :: m -> f -> Bool infix 9 Source #

Instances
(Ord r, Ord n, Ord p, ModelsRel (Model n n p r, n) f n p r) => ModelsRel (HerbrandModel n p r, n) f n p r Source # 
Instance details

Defined in HyLo.Model.Herbrand

Methods

(|=) :: (HerbrandModel n p r, n) -> f -> Bool Source #

(Ord w, Ord n, Ord p, Ord r) => ModelsRel (Model w n p r, w) (Formula n p r) n p r Source # 
Instance details

Defined in HyLo.Model

Methods

(|=) :: (Model w n p r, w) -> Formula n p r -> Bool Source #

(Ord r, Ord n, Ord p, ModelsRel (Model n n p r) f n p r) => ModelsRel (HerbrandModel n p r) f n p r Source # 
Instance details

Defined in HyLo.Model.Herbrand

Methods

(|=) :: HerbrandModel n p r -> f -> Bool Source #

(Ord w, Ord n, Ord p, Ord r) => ModelsRel (Model w n p r) (Formula n p r) n p r Source # 
Instance details

Defined in HyLo.Model

Methods

(|=) :: Model w n p r -> Formula n p r -> Bool Source #

(|/=) :: ModelsRel m f n p r => m -> f -> Bool infix 9 Source #