Class Substitute

java.lang.Object
mepk.kernel.internal.Substitute
All Implemented Interfaces:
ProofStep.Internal

public class Substitute extends Object implements ProofStep.Internal
A substitution proof step takes a statement, and constructs a structurally similar statement by substituting one variable for a (typed) expression.
  • Constructor Details

    • Substitute

      public Substitute(Statement statement, String varName, Expression replacement, Map<String,String> typesOfNewVars)
      Create an instance.
      Parameters:
      statement - the grounding statement
      varName - the variable name
      replacement - the replacement expression
      typesOfNewVars - the additional type expressions
  • Method Details