normalizeFreeVariables
Attributes
- Source
- utils.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
Systematically renames the free variables by their left-to-right occurence in a HOL Formula f to x,,i,, where all x,,i,, are different from the names of all bound variables in the term. I.e. reversing the substitution yields the syntactically same formula.
Systematically renames the free variables by their left-to-right occurence in a HOL Formula f to x,,i,, where all x,,i,, are different from the names of all bound variables in the term. I.e. reversing the substitution yields the syntactically same formula.
Value parameters
- f
-
the formula to be normalized
Attributes
- Returns
-
a pair (g,sub) such that g = sub(f). reversing sub allows to restore the original variables.
- Source
- utils.scala
Systematically renames the free variables by their left-to-right occurence in a HOL Expression f to x_{i} where all x_{i} are different from the names of all bound variables in the term. I.e. reversing the substitution yields the syntactically same formula.
Systematically renames the free variables by their left-to-right occurence in a HOL Expression f to x_{i} where all x_{i} are different from the names of all bound variables in the term. I.e. reversing the substitution yields the syntactically same formula.
Value parameters
- f
-
the expression to be normalized
Attributes
- Returns
-
a pair (g,sub) such that g = sub(f). reversing sub allows to restore the original variables.
- Source
- utils.scala
Works exactly like normalizeFreeVaribles(f:Formula) but allows the specification of your own name generator. Please note that such a normalized formula is still only unique up to alpha equality. Compare for example (∀y P(x,y)) with (∀x,,0,, P(x,x,,0,,): the first normalizes to (∀y P(x,,0,,,y)) whereas the second normalizes to (∀x_{0}1 P(x_{0},x_{0}1).
Works exactly like normalizeFreeVaribles(f:Formula) but allows the specification of your own name generator. Please note that such a normalized formula is still only unique up to alpha equality. Compare for example (∀y P(x,y)) with (∀x,,0,, P(x,x,,0,,): the first normalizes to (∀y P(x,,0,,,y)) whereas the second normalizes to (∀x_{0}1 P(x_{0},x_{0}1).
Value parameters
- f
-
the formula to be normalized
- freshName
-
a function which generates a fresh name every call.
Attributes
- Returns
-
a pair (g,sub) such that g = sub(f). reversing sub allows to restore the original variables.
- Source
- utils.scala
Works exactly like normalizeFreeVaribles(f:Expr) but allows the specification of your own name generator. Please note that such a normalized formula is still only unique up to alpha equality. Compare for example (all y P(x,y)) with (all x_{0} P(x,x_{0}): the first normalizes to (all y P(x_{0},y) whereas the second normalizes to (all x_{0}1 P(x_{0},x_{0}1)).
Works exactly like normalizeFreeVaribles(f:Expr) but allows the specification of your own name generator. Please note that such a normalized formula is still only unique up to alpha equality. Compare for example (all y P(x,y)) with (all x_{0} P(x,x_{0}): the first normalizes to (all y P(x_{0},y) whereas the second normalizes to (all x_{0}1 P(x_{0},x_{0}1)).
Value parameters
- f
-
the formula to be normalized
- freshName
-
a function which generates a fresh name every call.
Attributes
- Returns
-
a pair (g,sub) such that g = sub(f). reversing sub allows to restore the original variables.
- Source
- utils.scala