Index of values


(*%) [Util.Int32Op]
(+%) [Util.Int32Op]
(++) [Pretty]
Concatenates two documents.
(-%) [Util.Int32Op]
(/%) [Util.Int32Op]
(<%) [Util.Int32Op]
(<<%) [Util.Int32Op]
(<=%) [Util.Int32Op]
(<>%) [Util.Int32Op]
(>%) [Util.Int32Op]
(>=%) [Util.Int32Op]
(>>%) [Util.Int32Op]
(>>>%) [Util.Int32Op]
(~-%) [Util.Int32Op]

A
align [Pretty]
Mark the current column as the current indentation level.
allEDefs [Proof]
These are exported temporarily
allLemmas [Proof]
allPDefs [Proof]
anticompare [Util]

B
binop_to_string [Logic]
Convert a binary operation to a string
break [Pretty]
A document that consists of either a space or a line break.
bug [Errormsg]
Similar to error except that its output has the form Bug: ...

C
check [Proof]
checkProofs [Proof]
Whether to check the proofs
chr [Pretty]
A document that prints a character.
clear [GrowArray]
GrowArray.clear a clears the contents of the array and sets max_init_index to -1.
clear [Util.STACK]
Discard all elements from a stack.
clearConfiguration [Util]
Clear all configuration data
continue_on_error [Engine]
continue_without_asking [Engine]
copy [GrowArray]
GrowArray.copy a returns a copy of a, that is, a fresh array containing the same elements as a.
copy [Util.STACK]
Return a copy of the given stack.
countNewLines [Pretty]
Keep a running count of the taken newlines.
create [Util.STACK]

D
d_exp [Logic]
Convert an expression to a Pretty.doc
d_exp [Engine]
d_explist [Logic]
Convert an expression list to a Pretty.doc
d_growarray [GrowArray]
GrowArray.d_growarray sep f () a creates a Pretty.doc for growable array a using separator sep and element printer f.
d_hloc [Errormsg]
d_list [Pretty]
sm: Yet another list printer.
d_loc [Logic]
d_loc [Errormsg]
d_message [Satproc]
Pretty print a message
d_pred [Logic]
Convert a predicate to a Pretty.doc
d_pred [Engine]
d_prf [Proof]
d_sexp [Logic]
d_sexpNoUnroll [Logic]
Print an explicit substitution without trying to perform the substitution
d_spred [Logic]
d_subst [Logic]
debug [Engine]
debugFlag [Errormsg]
If set then print debugging info
deep_copy [GrowArray]
GrowArray.copy a f returns a deep copy of a using f to copy elements of a.
defaultLogicPrinter [Logic]
di [Input]
docArray [Pretty]
Formats an array.
docHash [Util]
docList [Pretty]
An alternative function for printing a list.
docOpt [Pretty]
Prints an 'a option with None or Some
dpa [Proof]
dprintf [Pretty]
This function provides an alternative method for constructing doc objects.
dumpSymbols [Util]
Dump the list of registered symbols

E
emptySubst [Logic]
eprintf [Pretty]
Like Pretty.fprintf applied to stderr
eq [Logic]
equals [Util]
This has the semantics of (=) on OCaml 3.07 and earlier.
error [Errormsg]
Prints an error message of the form Error: ....
eunify [Logic]
Unify two expressions.

F
fastMode [Pretty]
If set to true then optional breaks are taken only when the document has exceeded the given width.
filterNoCopy [Util]
find [GrowArray]
Returns the index of the first element in the array that satisfies the predicate, or None if there is no such element
findConfiguration [Util]
Find a configuration elements, given a key.
findConfigurationBool [Util]
findConfigurationInt [Util]
Like findConfiguration but extracts the integer
findConfigurationList [Util]
findConfigurationString [Util]
findLemma [Proof]
findMap [Logic]
Lookup an index into the map.
findOrAdd [Util]
Just another name for memoize
findRegisteredLemma [Proof]
finish [Engine]
Finish a set of proofs
finishParsing [Errormsg]
flushOften [Pretty]
If true the it flushes after every print
fold_for [Util]
An accumulating for loop.
fold_left [GrowArray]
GrowArray.fold_left f x a computes f (... (f (f x a.(0)) a.(1)) ...) a.(n-1), where n is the length of the array a.
fold_right [GrowArray]
GrowArray.fold_right f a x computes f a.(0) (f a.(1) ( ... (f a.(n-1) x) ...)), where n is the length of the array a.
fprint [Pretty]
Format the document to the given width and emit it to the given channel
fprintf [Pretty]
Like Pretty.dprintf followed by Pretty.fprint

G
geq [Logic]
get [GrowArray]
GrowArray.get a n returns the element number n of grow array a.
getHPosition [Errormsg]
high-level position
getLocation [Errormsg]
getPosition [Errormsg]
get_some_option_list [Util]
getg [GrowArray]
GrowArray.getg a n returns the element number n of array a.
gprintf [Pretty]
Like Pretty.dprintf but more general.
gt [Logic]

H
hadErrors [Errormsg]
This is set whenever one of the above error functions are called.
hasPrefix [Util]
hasPrefix prefix str returns true with str starts with prefix
has_performance_counters [Stats]
Check if we have performance counters
hash_copy_into [Util]
Copy a hash table into another
hash_to_list [Util]

I
indent [Pretty]
Indents the document.
infer [Proof]
infixLogicPrinter [Logic]
init [Proof]
Initialize the proof module
initialize [Satproc.SATPROC]
Called to initialize the decision procedure and to create a table of the entry points.
insert [Pretty]
A function that is useful with the printf-like interface
insertMap [Logic]
Insert a new entry into the map: insertMap map idx e
int_range_list [Util]
integer [Logic]
A constructor for making Int expressions
isAtomPred [Logic]
is_empty [Util.STACK]
Return true if the given stack is empty, false otherwise.
iter [GrowArray]
GrowArray.iter f a applies function f in turn to all the elements of a.
iter [Util.STACK]
iter f s applies f in turn to all elements of s, from the element at the top of the stack to the element at the bottom of the stack.
iter2 [GrowArray]
Same as GrowArray.iteri, but the function is applied to two arrays.
iteri [GrowArray]
Same as GrowArray.iter, but the function is applied to the index of the element as first argument, and the element itself as second argument.

J
joinStrings [Util]
Join a list of strings

K
keys [Util]

L
leftflush [Pretty]
Use after a Pretty.line to prevent the indentation.
length [Util.STACK]
Return the number of elements in a stack.
leq [Logic]
line [Pretty]
A document that consists of a mandatory newline.
list_drop [Util]
list_droptail [Util]
list_find_first [Util]
Find the first element in a list that returns Some
list_fold_lefti [Util]
Like fold_left but pass the index into the list as well
list_head_default [Util]
list_init [Util]
list_insert_by [Util]
list_iter3 [Util]
list_iteri [Util]
Iterate over a list passing the index as you go
list_mapi [Util]
list_span [Util]
loadConfiguration [Util]
Load the configuration from a file
locUnknown [Errormsg]
An unknown location for use when you need one but you don't have one
log [Errormsg]
Print something to logChannel
logChannel [Errormsg]
A channel for printing log messages
lt [Logic]

M
make [GrowArray]
GrowArray.make n x returns a fresh growable array of size at least n with default value specified by x.
makeExistVar [Proof]
makeMap [Logic]
We have integer maps built-in.
mapNoCopy [Util]
mapNoCopyList [Util]
mark [Pretty]
Mark the beginning of a markup section.
markup [Pretty]
Prints a document as markup.
max_init_index [GrowArray]
GrowArray.max_init_index a returns the maximum index to which has been written.
memoize [Util]
minus [Logic]
mkContraProof [Proof]
Make a proof by contradiction

N
ne [Logic]
negateExp [Logic]
Negate an expression.
negatePred [Logic]
Like Logic.negatePredRaise except that it generates an error for predicates that cannot be negated.
negatePredRaise [Logic]
Negate a predicate.
newHline [Errormsg]
newSubst [Logic]
Create a substitution for the given number of unification variables.
newSubstFromList [Logic]
newSymbol [Util]
Make a fresh symbol.
newVar [Logic]
newline [Errormsg]
nil [Pretty]
Constructs an empty document
null [Errormsg]
Do not actually print (i.e.
num [Pretty]
A document that prints an integer in decimal form

O
one [Logic]

P
parse_error [Errormsg]
plus [Logic]
pop [Util.STACK]
pop s removes and returns the topmost element in stack s, or raises Empty if the stack is empty.
popContext [Errormsg]
Removes the last registered context printing function
print [Stats]
Print the current stats preceeded by a message
printDepth [Pretty]
Specifies the nesting depth of the align/unalign pairs at which everything is replaced with ellipsis
printExp [Logic]
Print an expression given a pretty printer
printIndent [Pretty]
If false then does not indent
printInfix [Engine]
Define new printers that print either infix or prefix
printLFSyntax [Input]
printMagicProofWarning [Proof]
Whether to print warnings for Magic proofs
printPred [Logic]
Print a predicate given a pretty printer
printer [Proof]
We can install a new printer for the Proof module
printf [Pretty]
Like Pretty.fprintf applied to stdout
proveGoal [Engine]
Prove a goal, given a name, a state, a function for reading the elements of the goal
proveIt [Satproc]
punify [Logic]
push [Util.STACK]
push x s adds the element x at the top of stack s.
pushContext [Errormsg]
Registers a context printing function

R
real [Pretty]
A document that prints a real number
registerEDef [Proof]
Register an expression definition
registerLemma [Proof]
Register a lemma, along with its proof
registerPDef [Proof]
Register a predicate definition
registerSymbolName [Util]
Register a symbol name and get the symbol for it
registerSymbolRange [Util]
Register a number of consecutive symbol ids.
registeredLemmas [Proof]
renameVariable [Logic]
rename a variable in a predicate
repeattime [Stats]
repeattime is like time but runs the function several times until the total running time is greater or equal to the first argument.
reset [Stats]
Resets all the timings.
resetSymbols [Util]
Reset the state of the symbols to the program startup state
resetVars [Logic]
reset_max_init_index [GrowArray]
GrowArray.reset_init a resets the max_init_index.
restoreArray [Util]
Given an array, produce a thunk that later restores it to its current value
restoreGA [GrowArray]
Given a growable array, produce a thunk that later restores it to its current value
restoreHash [Util]
Given a hash table, produce a thunk that later restores it to its current value
restoreIntHash [Util]
Given an integer hash table, produce a thunk that later restores it to its current value
restoreRef [Util]
Given a ref cell, produce a thunk that later restores it to its current value
runThunks [Util]
Given a list of thunks, produce a thunk that runs them all

S
s [Errormsg]
Stop the execution by raising an Error.
saveConfiguration [Util]
Save the configuration in a file.
seq [Pretty]
Formats a sequence.
set [GrowArray]
GrowArray.set a n x modifies grow array a in place, replacing element number n with x.
setConfiguration [Util]
Set a configuration element, with a key.
setCurrentFile [Errormsg]
setCurrentLine [Errormsg]
setHFile [Errormsg]
setHLine [Errormsg]
setg [GrowArray]
GrowArray.setg a n x modifies array a in place, replacing element number n with x.
showContext [Errormsg]
Show the context stack to stderr
simplifyArith [Logic]
Try to simplify an expression to an integer
snapshot [Proof]
Take a snapshot of the state of the proof module.
snapshotSymbols [Util]
Take a snapshot of the symbol state.
sprint [Pretty]
Format the document to the given width and emit it as a string
start [Engine]
Start a set of proofs
startParsing [Errormsg]
startParsingFromString [Errormsg]
substExp [Logic]
substPred [Logic]
Substitution on predicates, given a function that can substitute a subexpression.
symbolName [Util]
Get the name of a symbol

T
text [Pretty]
A document that prints the given string
theUI [Engine]
time [Stats]
Time a function and associate the time with the given string.
times [Logic]
timingFlag [Engine]
to_int [Logic]
to_int [Util.Int32Op]
top [Util.STACK]
top s returns the topmost element in stack s, or raises Empty if the stack is empty.
tryFinally [Util]

U
unalign [Pretty]
Reverts to the last saved indentation level.
unimp [Errormsg]
Similar to error except that its output has the form Unimplemented: ...
unmark [Pretty]
The end of a markup section
unop_to_string [Logic]
Convert a unary operation to a string
unrollExp [Logic]
Unroll only superficially
unrollUVars [Logic]
Tries to unroll the unification variables completely, but if there are still unresolved unification variables it leaves the expression unchanged (so that the original subsitution still applies)
unrollUVarsError [Logic]
Like Logic.unrollUVars but gives an error and stops the execution of there are unification variables left
unrollUVarsPredRaise [Logic]
unrollUVarsRaise [Logic]
Like Logic.unrollUVars but raises HasUVar if there are unification variables left
useConfigurationBool [Util]
useConfigurationInt [Util]
Looks for an integer configuration element, and if it is found, it uses the given function.
useConfigurationList [Util]
useConfigurationString [Util]

V
valOf [Util]
Get the value of an option.
varName [Logic]
verboseFlag [Errormsg]
visitLogicExp [Logic]
visitLogicPred [Logic]

W
warn [Errormsg]
Like Errormsg.error but does not raise the Errormsg.Error exception.
warnFlag [Errormsg]
Set to true if you want to see all warnings.
warnOpt [Errormsg]
Like Errormsg.warn but optional.
withContext [Errormsg]
To ensure that the context is registered and removed properly, use the function below
withPrintDepth [Pretty]
Invokes a thunk, with printDepth temporarily set to the specified value
withTimeout [Util]

Z
zero [Logic]
A few useful constants