Package | Description |
---|---|
fmrisc.ProgramExplorer.Judgements | |
fmrisc.ProgramExplorer.Proving | |
fmrisc.ProgramExplorer.Semantics | |
fmrisc.ProgramExplorer.Syntax | |
fmrisc.ProgramExplorer.Tasks |
Modifier and Type | Field and Description |
---|---|
java.util.Set<VariableSymbol> |
StatJudgement.variables |
Modifier and Type | Method and Description |
---|---|
static VariableSymbol |
Normalization.modifiableVariable(Name name0)
Derive the modifiable variable from a name.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<VariableSymbol> |
Normalization.modifiableVariables(Name[] names)
Derive the modifiable variables of a method.
|
Modifier and Type | Method and Description |
---|---|
StatJudgement |
Satisfies.extendFrame(StatJudgement S,
java.util.Set<VariableSymbol> vars)
Extend judgement to the denoted set of modifiable variables.
|
static void |
Normalization.modifiableVariables(Name[] names,
java.util.Set<VariableSymbol> vars)
Derive the modifiable variables of a method.
|
static Expression |
Substitution.perform(Expression exp,
Term oldStateTerm,
Term newStateTerm,
java.util.Map<VariableSymbol,Substitution.Value> vars)
Create a copy of expression with the denoted substitutions performed.
|
static Formula |
Normalization.perform(Formula formula,
java.util.Collection<VariableSymbol> variables)
Replace copy of formula with all poststate variables that do not appear
in the set of modifiable variables replaced by prestate variables.
|
Constructor and Description |
---|
StatJudgement(Formula precondition,
Formula formula,
boolean executes,
boolean continues,
boolean breaks,
boolean returns,
java.util.Set<ClassSymbol> exceptions,
java.util.Set<VariableSymbol> variables)
Construct a command specification.
|
Constructor and Description |
---|
StateProblem(Declaration[] decls,
Formula goal,
java.util.Map<Symbol,Symbol> map,
StateType stateType,
Type stringType,
java.util.Collection<VariableSymbol> variables,
java.util.Collection<ClassSymbol> exceptions,
ErrorStream out)
Construct a proving problem.
|
Modifier and Type | Class and Description |
---|---|
class |
BodySymbol
The symbol for a variable introduced in a method/constructor body.
|
class |
ClassVariableSymbol
A class value.
|
class |
GlobalVariableSymbolBase
The base class of a variable symbol that can be externally referenced.
|
class |
LocalVariableSymbolBase
The base class for a variable symbol that can be only locally referenced.
|
class |
ObjectVariableSymbol
An object value.
|
class |
ParameterSymbol
The symbol for a method/constructor parameter.
|
class |
ThisSymbol
The symbol for "this" object in a non-static context.
|
class |
VariableSymbolBase
A symbol denoting a variable.
|
Modifier and Type | Method and Description |
---|---|
VariableSymbol |
Environment.getVariable(Identifier ident)
Return symbol for variable denoted by identifier in current environment.
|
VariableSymbol |
Environment.getVariable(Name name)
Return symbol for variable denoted by name in current environment.
|
VariableSymbol |
Environment.getVariable(Name name,
boolean verbose)
Return symbol for variable denoted by name in current environment.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<VariableSymbol> |
VariableSymbolBase.apply(java.util.Map<Symbol,Symbol> map,
java.util.Set<VariableSymbol> symbols)
Apply map to set of variable symbols.
|
static java.util.Collection<VariableSymbol> |
ReferencedVars.compute(AST tree)
Compute referenced variables
|
java.util.Collection<VariableSymbol> |
ReferencedVars.getResult()
Get the result of the computation.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
NewVariables.newVariables(VariableSymbol[] vars,
java.lang.String suffix,
java.util.Collection<java.lang.String> used)
Compute unique and unused variable names.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<VariableSymbol> |
VariableSymbolBase.apply(java.util.Map<Symbol,Symbol> map,
java.util.Set<VariableSymbol> symbols)
Apply map to set of variable symbols.
|
Modifier and Type | Method and Description |
---|---|
static VariableSymbol |
NameUtils.getVariablePrefixSymbol(Name name)
Determine variable prefix symbol of name.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<VariableSymbol> |
NameUtils.getVariablePrefixSymbols(Name[] names)
Get set of variable symbols denoted by name.
|
Modifier and Type | Method and Description |
---|---|
static Name |
NameUtils.uniqueName(VariableSymbol symbol)
Get unique reference to program variable.
|
Constructor and Description |
---|
InvariantTask(ParamSymbol method,
Statement stat,
Formula goal,
Formula invariant,
SourcePosition pos,
Formula cond,
Formula body,
java.io.File parent,
StateType stateType,
java.util.Set<VariableSymbol> variables,
java.util.Set<ClassSymbol> exceptions,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct an invariant verification task.
|
TerminationTask(java.lang.String kind,
ParamSymbol method,
Formula goal,
Statement stat,
java.lang.String tag,
java.io.File parent,
StateType stateType,
java.util.Set<VariableSymbol> variables,
java.util.Set<ClassSymbol> exceptions,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct a termination verification task.
|