Packages

t

edu.cmu.cs.ls.keymaerax.bellerophon

PositionalTactic

trait PositionalTactic extends BelleExpr with AtPosition[AppliedPositionTactic]

PositionTactics are tactics that can be applied at positions giving ordinary tactics.

See also

AtPosition

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PositionalTactic
  2. AtPosition
  3. Logging
  4. LazyLogging
  5. LoggerHolder
  6. Function1
  7. BelleExpr
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def computeResult(provable: ProvableSig, position: Position): ProvableSig

    Note

    this should be called from within interpreters, but not by end-users

  2. abstract def prettyString: String

    pretty-printed form of this Bellerophon tactic expression

    pretty-printed form of this Bellerophon tactic expression

    Definition Classes
    BelleExpr

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(other: BelleExpr): BelleExpr

    this & other: sequential composition this ; other executes other on the output of this, failing if either fail.

    this & other: sequential composition this ; other executes other on the output of this, failing if either fail.

    Definition Classes
    BelleExpr
  4. def *(n: Int): BelleExpr

    this*n: bounded repetition executes this tactic to times number of times, failing if any of those repetitions fail.

    this*n: bounded repetition executes this tactic to times number of times, failing if any of those repetitions fail.

    Definition Classes
    BelleExpr
  5. def <(children: BelleExpr*): BelleExpr

    <(e1,...,en): branching to run tactic ei on branch i, failing if any of them fail or if there are not exactly n branches.

    <(e1,...,en): branching to run tactic ei on branch i, failing if any of them fail or if there are not exactly n branches.

    Definition Classes
    BelleExpr
    Note

    Equivalent to

    a & Idioms.<(b,c)
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def U(p: (SequentType, (RenUSubst) ⇒ BelleExpr)*): BelleExpr

    case _ of {fi => ei} uniform substitution case pattern applies the first ei such that fi uniformly substitutes to current provable for which ei does not fail, fails if the ei of all matching fi fail.

    case _ of {fi => ei} uniform substitution case pattern applies the first ei such that fi uniformly substitutes to current provable for which ei does not fail, fails if the ei of all matching fi fail.

    Definition Classes
    BelleExpr
  8. def andThen[A](g: (AppliedPositionTactic) ⇒ A): (PositionLocator) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. final def apply(locator: PositionLocator): AppliedPositionTactic

    Returns the tactic that can be applied at the position identified by locator.

    Returns the tactic that can be applied at the position identified by locator.

    locator

    The locator: Fixed, Find, LastAnte, or LastSucc

    returns

    The tactic of type T that can be readily applied at the position identified by locator to any given BelleExpr.

    Definition Classes
    PositionalTacticAtPosition → Function1
    See also

    PositionLocator

  10. final def apply(locator: Symbol, expected: Expression): AppliedPositionTactic
    Definition Classes
    AtPosition
  11. final def apply(locator: Symbol, expected: Expression, defs: Declaration): AppliedPositionTactic

    Returns the tactic at the position identified by locator, ensuring that locator will yield the formula expected verbatim.

    Returns the tactic at the position identified by locator, ensuring that locator will yield the formula expected verbatim.

    locator

    The locator symbol at which to apply this AtPosition: 'L (find left), 'R (find right), '_ (find left/right appropriately for tactic), 'Llast (at last position in antecedent), or 'Rlast (at last position in succedent).

    expected

    the formula expected at the position that locator identifies. Contract fails if that expectation is not met.

    Definition Classes
    AtPosition
    Note

    Convenience wrapper

    See also

    edu.cmu.cs.ls.keymaerax.bellerophon.AtPosition

    apply()

  12. final def apply(locator: Symbol): AppliedPositionTactic
    Definition Classes
    AtPosition
  13. final def apply(locator: Symbol, inExpr: PosInExpr): AppliedPositionTactic

    Returns the tactic at the position identified by locator.

    Returns the tactic at the position identified by locator.

    locator

    The locator symbol at which to apply this AtPosition: 'L (find left), 'R (find right), '_ (find left/right appropriately for tactic), 'Llast (at last position in antecedent), or 'Rlast (at last position in succedent).

    Definition Classes
    AtPosition
    Note

    Convenience wrapper

    See also

    edu.cmu.cs.ls.keymaerax.bellerophon.AtPosition

    PositionLocator)

  14. final def apply(seqIdx: Int, inExpr: PosInExpr): AppliedPositionTactic
    Definition Classes
    AtPosition
  15. final def apply(seqIdx: Int, inExpr: List[Int] = Nil): AppliedPositionTactic

    Applied at a fixed position in (signed) sequent position seqIdx at subexpression inExpr.

    Applied at a fixed position in (signed) sequent position seqIdx at subexpression inExpr.

    seqIdx

    The signed index in the sequent (strictly negative index for antecedent, strictly positive for succedent).

    inExpr

    Where to apply inside the formula at index seqIdx interpreted as a PosInExpr.

    returns

    The tactic of type T that can be readily applied at the specified position to any given BelleExpr.

    Definition Classes
    AtPosition
    Note

    Convenience wrapper

    See also

    PosInExpr

    Position)

    Fixed

  16. final def apply(seqIdx: Int, inExpr: PosInExpr, expected: Formula): AppliedPositionTactic
    Definition Classes
    AtPosition
  17. final def apply(seqIdx: Int, inExpr: List[Int], expected: Formula): AppliedPositionTactic

    Applied at a fixed position, ensuring that the formula expected will be found at that position, verbatim.

    Applied at a fixed position, ensuring that the formula expected will be found at that position, verbatim.

    seqIdx

    The position where this tactic will be applied at (-1 based for antecedent, 1 based for succedent).

    expected

    the formula expected at position. Contract fails if that expectation is not met.

    returns

    The tactic of type T that can be readily applied at the specified position to any given BelleExpr.

    Definition Classes
    AtPosition
    Note

    Convenience wrapper

    See also

    PositionLocator)

    Fixed

  18. final def apply(seqIdx: Int, expected: Formula): AppliedPositionTactic

    Applied at a fixed position, ensuring that the formula expected will be found at that position, verbatim.

    Applied at a fixed position, ensuring that the formula expected will be found at that position, verbatim.

    seqIdx

    The position where this tactic will be applied at (-1 based for antecedent, 1 based for succedent).

    expected

    the formula expected at position. Contract fails if that expectation is not met.

    returns

    The tactic of type T that can be readily applied at the specified position to any given BelleExpr.

    Definition Classes
    AtPosition
    Note

    Convenience wrapper

    See also

    PositionLocator)

    Fixed

  19. final def apply(position: Position, expected: Formula): AppliedPositionTactic

    Applied at a fixed position, ensuring that the formula expected will be found at that position, verbatim.

    Applied at a fixed position, ensuring that the formula expected will be found at that position, verbatim.

    position

    The position where this tactic will be applied at.

    expected

    the formula expected at position. Contract fails if that expectation is not met.

    returns

    The tactic of type T that can be readily applied at the specified position to any given BelleExpr.

    Definition Classes
    AtPosition
    Note

    Convenience wrapper

    See also

    PositionLocator)

    Fixed

  20. final def apply(position: Position): AppliedPositionTactic

    Applied at a fixed position.

    Applied at a fixed position.

    position

    The position where this tactic will be applied at.

    returns

    The tactic of type T that can be readily applied at the specified position to any given BelleExpr.

    Definition Classes
    AtPosition
    Note

    Convenience wrapper

    See also

    PositionLocator)

    Fixed

  21. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  22. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  23. def compose[A](g: (A) ⇒ PositionLocator): (A) ⇒ AppliedPositionTactic
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  26. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def getLocation: Location

    Get the location where this tactic stems from.

    Get the location where this tactic stems from.

    Definition Classes
    BelleExpr
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging → LoggerHolder
  32. final val loggerName: String
    Attributes
    protected
    Definition Classes
    LoggerHolder
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def setLocation(newLocation: Location): Unit

    Definition Classes
    BelleExpr
    Note

    location is private so that it's not something that effects case class quality, and mutable so that it can be ignored when building up custom tactics.

  37. def switch(children: (BelleLabel, BelleExpr)*): BelleExpr
    Definition Classes
    BelleExpr
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  43. def |(other: BelleExpr): BelleExpr

    this | other: alternative composition executes other if applying this fails, failing if both fail.

    this | other: alternative composition executes other if applying this fails, failing if both fail.

    Definition Classes
    BelleExpr
  44. def |!(other: BelleExpr): BelleExpr

    this |! other: alternative composition executes other if applying this fails (even critically), failing if both fail.

    this |! other: alternative composition executes other if applying this fails (even critically), failing if both fail.

    Definition Classes
    BelleExpr
  45. def ||(other: BelleExpr): BelleExpr
    Definition Classes
    BelleExpr

Inherited from Logging

Inherited from LazyLogging

Inherited from LoggerHolder

Inherited from (PositionLocator) ⇒ AppliedPositionTactic

Inherited from BelleExpr

Inherited from AnyRef

Inherited from Any

Ungrouped