Hets - the Heterogeneous Tool Set

Copyright(c) Till Mossakowski and Uni Bremen 2002-2005
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

CASL.Quantification

Description

Free variables; getting rid of superfluous quantifications

Synopsis

Documentation

effQuantify :: TermExtension f => Sign f e -> QUANTIFIER -> [VAR_DECL] -> FORMULA f -> Range -> FORMULA f

quantify only over free variables (and only once)

stripRecord :: TermExtension f => Sign f e -> (f -> f) -> Record f (FORMULA f) (TERM f)

stripQuant :: TermExtension f => Sign f e -> FORMULA f -> FORMULA f

strip superfluous (or nested) quantifications

stripAllQuant :: FORMULA f -> FORMULA f

strip all universal quantifications

getQuantVars :: FORMULA f -> VarSet

get top-level variables

getTopVars :: [Named (FORMULA f)] -> VarSet

get top-level variables for all sentences

warnUnused :: Sign f e -> [Named (FORMULA f)] -> [Diagnosis]