TacticCommands

gapt.proofs.gaptic.TacticCommands
See theTacticCommands companion trait

Predefined tactics in gaptic.

Attributes

Companion
trait
Source
TacticCommands.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited classlikes

case object currentGoal extends Tactical1[OpenAssumption]

Retrieves the current subgoal.

Retrieves the current subgoal.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

def allL(terms: Expr*): ForallLeftTactic

Applies the ForallLeft tactic to the current subgoal: The goal

Applies the ForallLeft tactic to the current subgoal: The goal

∀x,,1,,,...,∀x,,n,,.A, Γ :- Δ

is reduced to

A[x,,1,,\t,,1,,,...,x,,n,,\t,,n,,], ∀x,,1,,,...,∀x,,n,,.A, Γ :- Δ.

This will only work if there is exactly one universal formula in the antecedent!

Value parameters

terms

The terms t,,1,,,...,t,,n,,.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def allL(applyToLabel: String, terms: Expr*): ForallLeftTactic

Applies the ForallLeft tactic to the current subgoal: The goal

Applies the ForallLeft tactic to the current subgoal: The goal

∀x,,1,,,...,∀x,,n,,.A, Γ :- Δ

is reduced to

A[x,,1,,\t,,1,,,...,x,,n,,\t,,n,,], ∀x,,1,,,...,∀x,,n,,.A, Γ :- Δ.

Value parameters

applyToLabel

The label of the formula ∀x,,1,,,...,∀x,,n,,.A.

terms

The terms t,,1,,,...,t,,n,,.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the ForallRight tactic to the current subgoal: The goal

Applies the ForallRight tactic to the current subgoal: The goal

Γ :- Δ, ∀x.A

is reduced to

Γ :- Δ, A.

This will only work if there is exactly one universal formula in the succedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def allR(applyToLabel: String): ForallRightTactic

Applies the ForallRight tactic to the current subgoal: The goal

Applies the ForallRight tactic to the current subgoal: The goal

Γ :- Δ, ∀x.A

is reduced to

Γ :- Δ, A.

Value parameters

applyToLabel

The label of the formula ∀x.A.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def allR(eigenVariable: Var): ForallRightTactic

Applies the ForallRight tactic to the current subgoal: The goal

Applies the ForallRight tactic to the current subgoal: The goal

Γ :- Δ, ∀x.A

is reduced to

Γ :- Δ, A[x\α].

This will only work if there is exactly one universal formula in the succedent!

Value parameters

eigenVariable

The variable α.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def allR(applyToLabel: String, eigenVariable: Var): ForallRightTactic

Applies the ForallRight tactic to the current subgoal: The goal

Applies the ForallRight tactic to the current subgoal: The goal

Γ :- Δ, ∀x.A

is reduced to

Γ :- Δ, A[x\α].

Value parameters

applyToLabel

The label of the formula ∀x.A.

eigenVariable

The variable α.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def anaInd(implicit ctx: Context): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def anaIndG(implicit ctx: Context): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the AndLeft tactic to the current subgoal: The goal

Applies the AndLeft tactic to the current subgoal: The goal

A ∧ B, Γ :- Δ

is reduced to

A, B, Γ :- Δ.

This will only work if there is exactly one conjunctive formula in the antecedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def andL(applyToLabel: String): AndLeftTactic

Applies the AndLeft tactic to the current subgoal: The goal

Applies the AndLeft tactic to the current subgoal: The goal

A ∧ B, Γ :- Δ

is reduced to

A, B, Γ :- Δ.

Value parameters

applyToLabel

The label of the formula A ∧ B.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the AndRight tactic to the current subgoal: The goal

Applies the AndRight tactic to the current subgoal: The goal

Γ :- Δ, A ∧ B

is reduced to

Γ :- Δ, A and Γ :- Δ, B.

This will only work if there is exactly one conjunctive formula in the succedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def andR(applyToLabel: String): AndRightTactic

Applies the AndRight tactic to the current subgoal: The goal

Applies the AndRight tactic to the current subgoal: The goal

Γ :- Δ, A ∧ B

is reduced to

Γ :- Δ, A and Γ :- Δ, B.

Value parameters

applyToLabel

The label of the formula A ∧ B.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the BottomAxiom tactic to the current subgoal: A subgoal of the form ⊥, Γ :- Δ will be closed.

Applies the BottomAxiom tactic to the current subgoal: A subgoal of the form ⊥, Γ :- Δ will be closed.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the LogicalAxiom tactic to the current subgoal: A subgoal of the form A, Γ :- Δ, A will be closed.

Applies the LogicalAxiom tactic to the current subgoal: A subgoal of the form A, Γ :- Δ, A will be closed.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the ReflexivityAxiom tactic to the current subgoal: A subgoal of the form Γ :- Δ, s = s will be closed.

Applies the ReflexivityAxiom tactic to the current subgoal: A subgoal of the form Γ :- Δ, s = s will be closed.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the TopAxiom tactic to the current subgoal: A subgoal of the form Γ :- Δ, ⊤ will be closed.

Applies the TopAxiom tactic to the current subgoal: A subgoal of the form Γ :- Δ, ⊤ will be closed.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
inline def by[T](inline tacticsProof: => Tactic[Unit]): Tactic[Unit]

by { tac1; tac2; ...; tacn } solves the first goal using the provided tactic block, and fails otherwise

by { tac1; tac2; ...; tacn } solves the first goal using the provided tactic block, and fails otherwise

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def cases(lemma: String, terms: Expr*)(implicit ctx: Context): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def casesW(label: String, lemma: String, terms: Expr*)(implicit ctx: Context): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def cut(label: String, cutFormula: Formula): CutTactic

Applies the Cut tactic to the current subgoal: The goal

Applies the Cut tactic to the current subgoal: The goal

Γ :- Δ

is reduced to

Γ :- Δ, C and C, Γ :- Δ.

Value parameters

cutFormula

The formula C.

label

The label of C.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Decomposes the current subgoal by applying all "simple" rules as often as possible. These rules are:

Decomposes the current subgoal by applying all "simple" rules as often as possible. These rules are:

  • ¬:l and ¬:r
  • ∧:l
  • ∨:r
  • →:r
  • ∀:r
  • ∃:l

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def destruct(label: String): Tactic[Any]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def eql(eq: String, fm: String): EqualityTactic

Applies the Equality tactic to the current subgoal: Given an equation s = t and a formula A, some occurrences of s in A are replaced by t or vice versa. The exact behavior can be controlled with additional commands:

Applies the Equality tactic to the current subgoal: Given an equation s = t and a formula A, some occurrences of s in A are replaced by t or vice versa. The exact behavior can be controlled with additional commands:

  • fromLeftToRight: Occurrences of s will be replaced by t.
  • fromRightToLeft: Occurrences of t will be replaced by s.
  • yielding(f): The tactic will attempt to replace occurences in such a way that the end result is f.

If neither fromLeftToRight nor fromRightToLeft is used, the direction of replacement needs to be unambiguous, i.e. s and t may not both occur in A.

Value parameters

eq

The label of s = t.

fm

The label of A.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Calls escargot on the current subgoal.

Calls escargot on the current subgoal.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def escrgt(implicit ctx: Context): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the ExistsLeft tactic to the current subgoal: The goal

Applies the ExistsLeft tactic to the current subgoal: The goal

∃x.A, Γ :- Δ

is reduced to

A, Γ :- Δ.

This will only work if there is exactly one existential formula in the antecedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def exL(applyToLabel: String): ExistsLeftTactic

Applies the ExistsLeft tactic to the current subgoal: The goal

Applies the ExistsLeft tactic to the current subgoal: The goal

∃x.A, Γ :- Δ

is reduced to

A, Γ :- Δ.

Value parameters

applyToLabel

The label of the formula ∃x.A.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def exL(eigenVariable: Var): ExistsLeftTactic

Applies the ExistsLeft tactic to the current subgoal: The goal

Applies the ExistsLeft tactic to the current subgoal: The goal

∃x.A, Γ :- Δ

is reduced to

A[x\α], Γ :- Δ.

This will only work if there is exactly one existential formula in the antecedent!

Value parameters

eigenVariable

The variable α.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def exL(applyToLabel: String, eigenVariable: Var): ExistsLeftTactic

Applies the ExistsLeft tactic to the current subgoal: The goal

Applies the ExistsLeft tactic to the current subgoal: The goal

∃x.A, Γ :- Δ

is reduced to

A[x\α], Γ :- Δ.

Value parameters

applyToLabel

The label of the formula ∃x.A.

eigenVariable

The variable α.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def exR(terms: Expr*): ExistsRightTactic

Applies the ExistsRight tactic to the current subgoal: The goal

Applies the ExistsRight tactic to the current subgoal: The goal

Γ :- Δ, ∃x,,1,,...∃x,,n,,.A

is reduced to

Γ :- Δ, ∃x,,1,,...∃x,,n,,.A, A[x,,1,,\t,,1,,,...,x,,n,,\t,,n,,].

This will only work if there is exactly one existential formula in the succedent!

Value parameters

terms

The terms t,,1,,,...,t,,n,,.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def exR(applyToLabel: String, terms: Expr*): ExistsRightTactic

Applies the ExistsRight tactic to the current subgoal: The goal

Applies the ExistsRight tactic to the current subgoal: The goal

Γ :- Δ, ∃x,,1,,...∃x,,n,,.A

is reduced to

Γ :- Δ, ∃x,,1,,...∃x,,n,,.A, A[x,,1,,\t,,1,,,...,x,,n,,\t,,n,,].

Value parameters

applyToLabel

The label of the formula ∃x,,1,,...∃x,,n,,.A.

terms

The terms t,,1,,,...,t,,n,,.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def fail: Tactic[Nothing]

Tactic that immediately fails.

Tactic that immediately fails.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def foTheory(implicit ctx: Context): Tactic[Unit]

Solves the current subgoal as a first-order consequence of the background theory. This closes the goal.

Solves the current subgoal as a first-order consequence of the background theory. This closes the goal.

Value parameters

ctx

A gapt.proofs.context.Context. The current subgoal must be contained in its background theory.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def focus(indexOfSubGoal: OpenAssumptionIndex): FocusTactic

Moves the specified goal to the front of the goal list.

Moves the specified goal to the front of the goal list.

Value parameters

indexOfSubGoal

The index of the goal.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def focus(indexOfSubGoal: Int): FocusTactic

Moves the specified goal to the front of the goal list.

Moves the specified goal to the front of the goal list.

Value parameters

indexOfSubGoal

The index of the goal.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def forget(pred: (String, Formula) => Boolean): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def forget(ls: String*): Tactic[Unit]

Lets you "forget" a sequence of formulas, i.e. the tactics version of the weakening rule. The formulas with labels L,,1,,,...,L,,n,, will be removed from the current goal.

Lets you "forget" a sequence of formulas, i.e. the tactics version of the weakening rule. The formulas with labels L,,1,,,...,L,,n,, will be removed from the current goal.

Value parameters

ls

The labels L,,1,,,...,,,Ln,,.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def forwardChain(lemma: String, target: TacticApplyMode, substitution: Map[Var, Expr]): ForwardChain
def generalize(vs: Var*): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def haveInstance(formula: Formula, polarity: Polarity): Tactic[String]

Instantiates prenex quantifiers to obtain a formula in a given polarity.

Instantiates prenex quantifiers to obtain a formula in a given polarity.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the ImpLeft tactic to the current subgoal: The goal

Applies the ImpLeft tactic to the current subgoal: The goal

A → B, Γ :- Δ

is reduced to

Γ :- Δ, A and B, Γ :- Δ.

This will only work if there is exactly one implicative formula in the antecedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def impL(applyToLabel: String): ImpLeftTactic

Applies the ImpLeft tactic to the current subgoal: The goal

Applies the ImpLeft tactic to the current subgoal: The goal

A → B, Γ :- Δ

is reduced to

Γ :- Δ, A and B, Γ :- Δ.

Value parameters

applyToLabel

The label of the formula A → B.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the ImpRight tactic to the current subgoal: The goal

Applies the ImpRight tactic to the current subgoal: The goal

Γ :- Δ, A → B

is reduced to

A, Γ :- Δ, B.

This will only work if there is exactly one implicative formula in the succedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def impR(applyToLabel: String): ImpRightTactic

Applies the ImpRight tactic to the current subgoal: The goal

Applies the ImpRight tactic to the current subgoal: The goal

Γ :- Δ, A → B

is reduced to

A, Γ :- Δ, B.

Value parameters

applyToLabel

The label of the formula A → B.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def include(labels: String*)(implicit ctx: Context, dummyImplicit: DummyImplicit): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def include(names: Expr*)(implicit ctx: Context): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def include(label: String, proof: LKProof): Tactic[Unit]

Uses an LKProof as a lemma.

Uses an LKProof as a lemma.

If proof ends in Γ :- φ, then the current goal

Γ, Π :- Λ

is reduced to

Γ, Π, φ :- Λ

Value parameters

label

the label for φ in the subgoal

proof

The proof to insert as a lemma by a cut.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def induction(on: Var, label: String)(implicit ctx: Context): InductionTactic

Applies the Induction tactic to the current subgoal: The goal

Applies the Induction tactic to the current subgoal: The goal

Γ, :- Δ, ∀x.A

is reduced to n new subgoals, where n is the number of constructors of the type of x.

Value parameters

ctx

A gapt.proofs.context.Context. It must contain an inductive definition of the type of x.

label

The label of the formula ∀x.A.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def induction(on: Var)(implicit ctx: Context): InductionTactic

Applies the Induction tactic to the current subgoal: The goal

Applies the Induction tactic to the current subgoal: The goal

Γ, :- Δ, ∀x.A

is reduced to n new subgoals, where n is the number of constructors of the type of x.

This will only work if there is exactly one universal formula in the succedent!

Value parameters

ctx

A gapt.proofs.context.Context. It must contain an inductive definition of the type of x.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def insert(proof: LKProof): InsertTactic

Inserts an LKProof for the current subgoal.

Inserts an LKProof for the current subgoal.

Value parameters

proof

The proof to be inserted. Its end-sequent must subsume the current goal.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the NegLeft tactic to the current subgoal: The goal

Applies the NegLeft tactic to the current subgoal: The goal

¬A, Γ :- Δ

is reduced to

Γ :- Δ, A.

This will only work if there is exactly one negated formula in the antecedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def negL(applyToLabel: String): NegLeftTactic

Applies the NegLeft tactic to the current subgoal: The goal

Applies the NegLeft tactic to the current subgoal: The goal

¬A, Γ :- Δ

is reduced to

Γ :- Δ, A.

Value parameters

applyToLabel

The label of the formula ¬A.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the NegRight tactic to the current subgoal: The goal

Applies the NegRight tactic to the current subgoal: The goal

Γ :- Δ, A

is reduced to

A, Γ :- Δ.

This will only work if there is exactly one negated formula in the succedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def negR(applyToLabel: String): NegRightTactic

Applies the NegRight tactic to the current subgoal: The goal

Applies the NegRight tactic to the current subgoal: The goal

Γ :- Δ, ¬A

is reduced to

A, Γ :- Δ.

Value parameters

applyToLabel

The label of the formula ¬A.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def now: Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the OrLeft tactic to the current subgoal: The goal

Applies the OrLeft tactic to the current subgoal: The goal

A ∨ B, Γ :- Δ

is reduced to

A, Γ :- Δ and B, Γ :- Δ.

This will only work if there is exactly one disjunctive formula in the antecedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def orL(applyToLabel: String): OrLeftTactic

Applies the OrLeft tactic to the current subgoal: The goal

Applies the OrLeft tactic to the current subgoal: The goal

A ∨ B, Γ :- Δ

is reduced to

A, Γ :- Δ and B, Γ :- Δ.

Value parameters

applyToLabel

The label of the formula A ∨ B.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Applies the OrRight tactic to the current subgoal: The goal

Applies the OrRight tactic to the current subgoal: The goal

Γ :- Δ, A ∨ B

is reduced to

Γ :- Δ, A, B.

This will only work if there is exactly one disjunctive formula in the succedent!

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def orR(applyToLabel: String): OrRightTactic

Applies the OrRight tactic to the current subgoal: The goal

Applies the OrRight tactic to the current subgoal: The goal

Γ :- Δ, A ∨ B

is reduced to

Γ :- Δ, A, B.

Value parameters

applyToLabel

The label of the formula A ∨ B.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def prop: Tactic[Unit]

Calls the builtin tableau prover on the current subgoal. If the goal is a tautology, a proof will automatically be found and inserted.

Calls the builtin tableau prover on the current subgoal. If the goal is a tautology, a proof will automatically be found and inserted.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Calls prover9 on the current subgoal.

Calls prover9 on the current subgoal.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def ref(proofName: String)(implicit ctx: Context): ProofLinkTactic

Applies the LogicalAxiom tactic to the current subgoal: A subgoal of the form A, Γ :- Δ, A will be closed.

Applies the LogicalAxiom tactic to the current subgoal: A subgoal of the form A, Γ :- Δ, A will be closed.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Synonym for axiomRefl.

Synonym for axiomRefl.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def renameLabel(oldLabel: String): RenameTactic

Changes the provided label. Syntax:

Changes the provided label. Syntax:

 renameLabel("foo") to "bar"

Value parameters

oldLabel

The label to be renamed.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def repeat[T](t: Tactic[T]): RepeatTactic[T]

Repeats a tactical until it fails.

Repeats a tactical until it fails.

Value parameters

t

A tactical.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def revert(hyps: String*): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Rewrites the formula specified by target using (possibly universally quantified) equations.

Rewrites the formula specified by target using (possibly universally quantified) equations.

 rewrite.many ltr "equation1" in "target"
 rewrite.many ltr ("equation1", "eq2") rtl ("eq3", "eq4") in "target" subst (hov"x" -> le"f(f(c))")

ltr: rewrite left-to-right using this equation rtl: rewrite right-to-left using this equation many: rewrite as long as possible (default is to only rewrite once)

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def simp(implicit ctx: Context): SimpTactic

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def skip: Tactic[Unit]

Does nothing.

Does nothing.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def subst(hyps: String*): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def theory(implicit ctx: Context): Tactic[Unit]

Declares the current subgoal as a theory axiom, i.e. a sequent that is contained in the background theory. This closes the goal.

Declares the current subgoal as a theory axiom, i.e. a sequent that is contained in the background theory. This closes the goal.

Value parameters

ctx

A gapt.proofs.context.Context. The current subgoal must be contained in its background theory.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def trace(implicit sig: BabelSignature): Tactic[Unit]

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Attempts to apply the tactics axiomTop, axiomBot, axiomRefl, and axiomLog.

Attempts to apply the tactics axiomTop, axiomBot, axiomRefl, and axiomLog.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala
def unfold(definitions: String*)(implicit ctx: Context): UnfoldTacticHelper

Replaces a defined constant with its definition. Syntax:

Replaces a defined constant with its definition. Syntax:

 unfold("def1", "def2",...,"defn") in ("label1", "label2",...,"labelk")

NB: This will only replace the first definition it finds in each supplied formula. If you want to unfold all definitions, use repeat.

Value parameters

ctx

A gapt.proofs.context.Context. The definitions you want to unfold need to be present in ctx.

definitions

The definitions def1,...,defn.

Attributes

Inherited from:
TacticCommands
Source
TacticCommands.scala

Deprecated and Inherited methods

def sorry: Tactic[Unit]

Leaves a hole in the current proof by inserting a dummy proof of the empty sequent.

Leaves a hole in the current proof by inserting a dummy proof of the empty sequent.

Attributes

Deprecated
[Since version the dawn of time]
Inherited from:
TacticCommands
Source
TacticCommands.scala