case class CutTactic(cutLabel: String, cutFormula: HOLFormula) extends BinaryTactic[Unit] with Product with Serializable
Introduces a cut, creating two new subgoals.
- cutLabel
The label for the cut formula.
- cutFormula
The cut formula.
- Source
- lkTactics.scala
- Alphabetic
- By Inheritance
- CutTactic
- Serializable
- Serializable
- Product
- Equals
- BinaryTactic
- Tactic
- Tactical
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CutTactic(cutLabel: String, cutFormula: HOLFormula)
- cutLabel
The label for the cut formula.
- cutFormula
The cut formula.
Type Members
-
class
FindFormula
extends AnyRef
- Attributes
- protected
- Definition Classes
- Tactic
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (CutTactic, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aka(newName: ⇒ String): Tactic[Unit]
-
def
andThen[S](t2: Tactical[S]): Tactical[S]
- Definition Classes
- Tactical
- def apply(goal: OpenAssumption): Validation[Nothing, (Unit, CutRule)]
- def apply(proofState: ProofState): ValidationNel[TacticalFailure, (Unit, ProofState)]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asTactic: Tactic[Unit]
- Definition Classes
- Tactical
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
cut(errorMessage: String): Tactic[Unit]
- Definition Classes
- Tactic
- val cutFormula: HOLFormula
- val cutLabel: String
- def ensuring(cond: (CutTactic) ⇒ Boolean, msg: ⇒ Any): CutTactic
- def ensuring(cond: (CutTactic) ⇒ Boolean): CutTactic
- def ensuring(cond: Boolean, msg: ⇒ Any): CutTactic
- def ensuring(cond: Boolean): CutTactic
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findFormula(goal: OpenAssumption, mode: TacticApplyMode): FindFormula
- Attributes
- protected
- Definition Classes
- Tactic
-
def
flatMap[S](f: (Unit) ⇒ Tactical[S])(implicit file: File, line: Line): Tactical[S]
- Definition Classes
- Tactical
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
left(that: Tactical[Unit]): Tactical[Unit]
Synonym for
andThen
.Synonym for
andThen
.- Definition Classes
- BinaryTactic
-
def
map[S](f: (Unit) ⇒ S)(implicit file: File, line: Line): Tactical[S]
- Definition Classes
- Tactical
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
onAll[S](t2: Tactical[S]): Tactical[Unit]
- Definition Classes
- Tactic
-
def
onAllSubGoals: Tactical[Unit]
- Definition Classes
- Tactical
-
def
orElse[S >: Unit](t2: Tactic[S]): Tactic[S]
Returns result of first tactic, if there is any, else it returns the result of the second tactic, with the possibility of no result from either.
Returns result of first tactic, if there is any, else it returns the result of the second tactic, with the possibility of no result from either.
- Definition Classes
- Tactic
-
def
orElse[S >: Unit](t2: Tactical[S]): Tactical[S]
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.
- Definition Classes
- Tactical
-
def
right(that: Tactical[Unit]): Tactical[Unit]
Creates a new Tactical by first applying
this
to the current subgoal and thenthat
to the new right subgoal.Creates a new Tactical by first applying
this
to the current subgoal and thenthat
to the new right subgoal.- that
A Tactical.
- Definition Classes
- BinaryTactic
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (CutTactic, B)