Uses of Class
mepk.kernel.Expression
Packages that use Expression
Package
Description
This package implements extensions on top of the
mepk.kernel.This package implements the trusted kernel of MEPK.
This package contains internal implementations for the concepts in the
mepk.kernel package.-
Uses of Expression in mepk.builtin
Methods in mepk.builtin that return ExpressionModifier and TypeMethodDescriptionstatic ExpressionParse the given expression string (in "Ghilbert format") to anExpressioninstance. -
Uses of Expression in mepk.kernel
Methods in mepk.kernel that return ExpressionModifier and TypeMethodDescriptionstatic ExpressionExpression.App(String constantName, Expression... subexpressions) Create an application of a constant to a list of subexpressions.static ExpressionCreate an application of a constant to a list of variable names.App.expand(Abbreviation abbreviation, StatementAbbrExpState accu, Expression.Internal.Wrapper wrapper) Expression.expand(Abbreviation abbreviation, StatementAbbrExpState accu) Create a new expression by expanding all instances of the given abbreviation, and collect all conditions in accu.Expression.Internal.expand(Abbreviation abbreviation, StatementAbbrExpState accu, Expression.Internal.Wrapper wrapper) Create a new expression by expanding all instances of the given abbreviation, and collect all conditions in accu.Var.expand(Abbreviation abbreviation, StatementAbbrExpState accu, Expression.Internal.Wrapper wrapper) Statement.getConclusion()Returns the conclusion of this statement.Abbreviation.getExpansion()Returns the expansion of the abbreviation.App.substitute(String varName, Expression.Internal replacement, Expression.Internal.Wrapper wrapper) Expression.Internal.substitute(String varName, Expression.Internal replacement, Expression.Internal.Wrapper wrapper) Create a new internal expression by replacing a variable by an internal expression.Expression.substitute(String varName, Expression replacement) Create a new expression by replacing a variable by an expression.Var.substitute(String varName, Expression.Internal replacement, Expression.Internal.Wrapper wrapper) static ExpressionCreate a new expression saying 'this variable has that type'.static ExpressionExpression.Type(Expression expr, String typeName) Create a new expression saying 'this expression has that type'.static ExpressionCreate a variable expression.Expression.Internal.Wrapper.wrap(Expression.Internal internalExpression) Wrap the given internal expression.Methods in mepk.kernel that return types with arguments of type ExpressionModifier and TypeMethodDescriptionCollection<? extends Expression>Statement.getHypotheses()Returns the hypotheses of this statement.App.getSubexpressions()Returns the subexpressions of this constant-application expression.Methods in mepk.kernel with parameters of type ExpressionModifier and TypeMethodDescriptionstatic ExpressionExpression.App(String constantName, Expression... subexpressions) Create an application of a constant to a list of subexpressions.static StatementStatement.Stat(List<Expression> hypotheses, Expression conclusion) Create a new instance with an empty set of DVRs.static StatementStatement.Stat(DVRSet dvrs, List<Expression> hypotheses, Expression conclusion) Create a new instance.Expression.substitute(String varName, Expression replacement) Create a new expression by replacing a variable by an expression.Statement.substitute(String varName, Expression replacement, Map<String, String> typesOfNewVars) Create a new statement, by replacing one variable in this statement by an expression, and optionally adding type expressions (to make resulting statement type-correct).static ProofStepProofStep.Substitute(Statement statement, String varName, Expression replacement, Map<String, String> typesOfNewVars) Create a substitution proof step, which takes a statementsand a substitution, and constructs (grounds) the statement resulting from the substitution.static ExpressionExpression.Type(Expression expr, String typeName) Create a new expression saying 'this expression has that type'.Statement.weaken(DVRSet addedDVRs, Expression... addedHypotheses) Create a new statement, by adding hypotheses and DVRs to this statement.static ProofStepProofStep.Weaken(Statement statement, DVRSet addedDVRs, Expression... addedHypotheses) Create a weakening proof step, which takes a statement and adds hypotheses and DVRs.Method parameters in mepk.kernel with type arguments of type ExpressionModifier and TypeMethodDescriptionstatic StatementStatement.Stat(List<Expression> hypotheses, Expression conclusion) Create a new instance with an empty set of DVRs.static StatementStatement.Stat(DVRSet dvrs, List<Expression> hypotheses, Expression conclusion) Create a new instance.Constructors in mepk.kernel with parameters of type ExpressionModifierConstructorDescriptionAbbreviation(Expression abbreviation, Expression expansion, Expression... conditions) Create a new abbreviation. -
Uses of Expression in mepk.kernel.internal
Constructors in mepk.kernel.internal with parameters of type ExpressionModifierConstructorDescriptionSubstitute(Statement statement, String varName, Expression replacement, Map<String, String> typesOfNewVars) Create an instance.Weaken(Statement statement, DVRSet addedDVRs, Expression... addedHypotheses) Create an instance.