verigraph-1.1.1: Software specification and verification tool based on graph rewriting.

Safe HaskellSafe
LanguageHaskell2010

Abstract.Constraint

Synopsis

Documentation

satisfiesAtomicConstraint :: FindMorphism m => Obj m -> AtomicConstraint m -> Bool Source #

Given an object G and a AtomicConstraint a : P -> C, check whether G satisfies the AtomicConstraint a

satisfiesAllAtomicConstraints :: FindMorphism m => Obj m -> [AtomicConstraint m] -> Bool Source #

Given an object G and a list of AtomicConstraints a : P -> C, check whether G satisfies the all them

data Constraint m Source #

Constructors

Atomic 
And 

Fields

Or 

Fields

Not 

Fields

satisfiesConstraint :: FindMorphism m => Obj m -> Constraint m -> Bool Source #

Given an object G and a Constraint c (a Boolean formula over atomic constraints), check whether G satisfies c

satisfiesAllConstraints :: FindMorphism m => Obj m -> [Constraint m] -> Bool Source #

Given an object G and a list of Constraints (Boolean formulas over atomic constraints), check whether G satisfies the all them