public class AutoPilotPrepareProofMacro extends StrategyProofMacro
Modifier and Type | Class and Description |
---|---|
private static class |
AutoPilotPrepareProofMacro.AutoPilotStrategy |
ProofMacro.ProgressBarListener
Modifier and Type | Field and Description |
---|---|
private static String[] |
ADMITTED_RULES |
private static Set<String> |
ADMITTED_RULES_SET |
private static Name |
NON_HUMAN_INTERACTION_RULESET |
Constructor and Description |
---|
AutoPilotPrepareProofMacro() |
Modifier and Type | Method and Description |
---|---|
protected static Set<String> |
asSet(String[] strings) |
protected Strategy |
createStrategy(Proof proof,
PosInOccurrence posInOcc) |
String |
getCategory()
Gets the category of this macro.
|
String |
getDescription()
Gets the description of this macro.
|
String |
getName()
Gets the name of this macro.
|
String |
getScriptCommandName()
Gets a unique short name for this macro that can be used in proof
scripts.
|
private static boolean |
hasModality(Node node) |
private static boolean |
hasModality(Term term) |
private static boolean |
isInRuleSet(Rule rule,
Name ruleSetName) |
private static boolean |
isNonHumanInteractionTagged(Rule rule) |
applyTo, canApplyTo, doPostProcessing
applyTo, canApplyTo, getMaxSteps
private static final String[] ADMITTED_RULES
private static final Name NON_HUMAN_INTERACTION_RULESET
public String getName()
ProofMacro
null
constant stringpublic String getCategory()
ProofMacro
null
if no submenu is to be created.null
public String getDescription()
ProofMacro
null
constant stringpublic String getScriptCommandName()
AbstractProofMacro
null
is returned, the macro cannot be addressed from
within scripts.
By default, proof macros do not support scripts, thus null
is returned.getScriptCommandName
in interface ProofMacro
getScriptCommandName
in class AbstractProofMacro
null
if not supported, or a non-null
constant string as the short nameprivate static boolean hasModality(Node node)
private static boolean hasModality(Term term)
private static boolean isNonHumanInteractionTagged(Rule rule)
protected Strategy createStrategy(Proof proof, PosInOccurrence posInOcc)
createStrategy
in class StrategyProofMacro