package substitutions
- Alphabetic
- Public
- Protected
Type Members
- class ComposeSubsts extends Substitution
Function composition for two substitutions
- class ConstantSubst extends SimpleSubstitution
Replace a constant with an arbitrary term
- class IdentitySubst extends Substitution
- class PseudoConstantSubst extends PseudoDivSubstitution
Replace a constant with an arbitrary term
- abstract class PseudoDivSubstitution extends Substitution
Trait for substitutions that can also replace constants or variables with coefficient, like
n * c.Trait for substitutions that can also replace constants or variables with coefficient, like
n * c. This is done through pseudo-division if necessary (and possible) - abstract class SimpleSubstitution extends Substitution
A substitution that works by simple replacement of constants or variables with arbitrary terms
- abstract class Substitution extends (TerFor) => TerFor with Sorted[Substitution]
A substitution is a mapping from
TerFortoTerForthat replaces variables and constants with arbitrary other terms.A substitution is a mapping from
TerFortoTerForthat replaces variables and constants with arbitrary other terms. It is required that a substitution is only applied to terms/formulas that are sorted according toorder. There are two more concrete sub-traits:SimpleSubstitution, which performs a simple replacement of constants or variables, andPseudoDivSubstitution, which can make use of pseudo-division in order to replace expressionsn * c. - class VariableShiftSubst extends SimpleSubstitution
Substitution for renaming variables.
Substitution for renaming variables. The arguments of the substitution is a pair
(List[Int], Int)that describes how each variable should be shifted:(List(0, 2, -1), 1)specifies that variable 0 stays the same, variable 1 is increased by 2 (renamed to 3), variable 2 is renamed to 1, and all other variables n are renamed to n+1. - class VariableSubst extends SimpleSubstitution
Substitute the variable starting from index
offsetwith the terms inreplacements.Substitute the variable starting from index
offsetwith the terms inreplacements. I.e.,VariableTerm(offset)is going to be replaced withreplacements(0), etc. All other variables aboveoffset+replacements.sizeare shifted downwards byreplacements.size
Value Members
- object ComposeSubsts
- object ConstantSubst
- object IdentitySubst
- object PseudoConstantSubst
- object PseudoDivSubstitution
- object SimpleSubstitution
- object Substitution
- object VariableShiftSubst
- object VariableSubst