ReplaceTactic
Replaces all occurrences of a given term another term.
Value parameters
- ctx
-
A context.
- target
-
The label of the formula in which to replace the terms.
- u
-
The term to be replaced.
- v
-
The term by which u is replaced.
Attributes
- Source
- ReplaceTactic.scala
- Graph
-
- Supertypes
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- Tactical1
- Source
- core.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Constructs a "replace" tactic.
Constructs a "replace" tactic.
The method fails if the given goal does not contain the label target or if the terms u and v are not definitionally equal in the context ctx.
Value parameters
- goal
-
A goal.
Attributes
- Returns
-
A tactic that replaces the given goal by a goal in which the formula indicated by the label target is replaced by the formula obtained by replacing all occurrences of the term u by the term v.
- Definition Classes
- Source
- ReplaceTactic.scala
Inherited methods
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Definition Classes
- Inherited from:
- Tactical1
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactical1
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Returns result of first tactical, if there is any, else it returns the result of the second tactical, with the possibility of no result from either.
Returns result of first tactical, if there is any, else it returns the result of the second tactical, with the possibility of no result from either.
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactical1
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala
Attributes
- Inherited from:
- Tactic
- Source
- core.scala