Packages

object TacticHelper

Some commonly useful helper utilities for basic tactic implementations.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TacticHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asMonomial(t: Term): Option[(Option[Term], Variable, Option[Term])]

    Returns monomial iff t is (approximately, locally) a monomial; i.e., has the form

    Returns monomial iff t is (approximately, locally) a monomial; i.e., has the form

    coeff(|x|)*x^exp(|x|)

    where coeff and exp are optional. coeff(|x|)*x^exp(|x|) }}}

    returns

    Optional coefficient, variable, optional exponent; or None if this isn't a monomial

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def findSubst(what: Term, replCandidate: Variable, seq: Sequent): (Variable, Option[Position], Variable)

    Computes substitution with position of name(old) in sequent seq (either replCandidate or a previously introduced substitution that is present in seq).

    Computes substitution with position of name(old) in sequent seq (either replCandidate or a previously introduced substitution that is present in seq). Returns (repl, replPos, nextReplCandidate).

  11. def freshIndexInExpression(name: String, e: Expression): Option[Int]

    Returns a fresh index for name in expression e.

  12. def freshIndexInFormula(name: String, f: Formula): Option[Int]

    Returns a fresh index for name in formula f.

  13. def freshIndexInProgram(name: String, a: Program): Option[Int]

    Returns a fresh index for name in program a.

  14. def freshIndexInSequent(name: String, s: Sequent): Option[Int]

    Returns a fresh index for name in sequent s.

  15. def freshIndexInTerm(name: String, t: Term): Option[Int]

    Returns a fresh index for name in Term t.

  16. def freshNamedSymbol[T <: NamedSymbol](t: T, s: Sequent): T

    Returns a named symbol with name t.name and fresh index in sequent s.

  17. def freshNamedSymbol[T <: NamedSymbol](t: T, a: Program): T

    Returns a named symbol with name t.name and fresh index in program a.

  18. def freshNamedSymbol[T <: NamedSymbol](t: T, f: Formula): T

    Returns a named symbol with name t.name and fresh index in formula f.

  19. def freshNamedSymbol[T <: NamedSymbol](t: T, freshIndex: (String) ⇒ Option[Int]): T

    Returns a named symbol with t.name and fresh index provided by freshIndex.

  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isMonomial(t: Term): Boolean
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def propertiesOfConstants(s: Sequent, pos: SeqPos): List[Formula]

    Returns a list of formulas that are constants so should get as invariants for free by HilbertCalculus.V.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def timed[A](task: ⇒ A, msg: String): A

    Executes the task with timing information printed to stdout.

  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def transformMonomials(e: Term, xform: (Term) ⇒ Term): Term

    Transforms monomials in e using the xform function.

  32. def variableOccursWithExponent(v: Variable, term: Term): Boolean

    Returns true iff

    Returns true iff

    v^n

    s.t. n!=0, n!=1 occurs in

    term

    v^n }}}

  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def names(s: Sequent): Set[NamedSymbol]

    Returns the symbols in sequent s.

    Returns the symbols in sequent s.

    Annotations
    @deprecated
    Deprecated

    Use StaticSemantics.symbols instead

  2. def symbols(f: Formula): Set[NamedSymbol]

    Returns the symbols in f.

    Returns the symbols in f.

    Annotations
    @deprecated
    Deprecated

    Use StaticSemantics.symbols instead

Inherited from AnyRef

Inherited from Any

Ungrouped