Packages

class Theory extends Theory0

Models a mathematical theory, i.e. definitions of data types, sorts, constants, etc. (contained in a Context), together with proofs about these objects.

Source
logic.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Theory
  2. Theory0
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Theory(imports: Theory*)

    imports

    A list of theories that this theory is based upon.

Type Members

  1. case class LemmaHandle(proofName: Expr) extends Product with Serializable

    Captures an LKProof together with the set of previous lemmas used in it.

  2. case class indfn(constName: String, desc: Formula) extends LemmaHelper[Unit] with Product with Serializable
    Attributes
    protected
  3. case class lemma(openFormula: Formula, attributes: String*) extends LemmaHelper[LemmaHandle] with Product with Serializable
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Theory toany2stringadd[Theory] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Theory, B)
    Implicit
    This member is added by an implicit conversion from Theory toArrowAssoc[Theory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addNow(update: Update): Unit
    Attributes
    protected
    Definition Classes
    Theory0
  7. def addProof(name: Expr, proof: => LKProof): Unit
    Attributes
    protected
    Definition Classes
    Theory0
  8. def allProofs: Vector[(String, Eval[DelayedProofResult])]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def attr(attrNames: String*)(lemmaNames: String*): Unit

    Adds a list of attributes to a list of lemmas.

    Adds a list of attributes to a list of lemmas.

    Attributes
    protected
  11. def axiom(f: Formula)(implicit name: Name): Unit

    Adds a formula to this theory as an axiom.

    Adds a formula to this theory as an axiom.

    Attributes
    protected
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def const(c: Const): Unit

    Adds a constant to this theory's context.

    Adds a constant to this theory's context.

    Attributes
    protected
  14. implicit def ctx: Context
    Definition Classes
    Theory0
  15. def ctxWithProofDefinitions(): ImmutableContext
  16. implicit def curCtx: Context
    Attributes
    protected
  17. def dfn(eqn: Formula): Unit
    Attributes
    protected
  18. def ensuring(cond: (Theory) => Boolean, msg: => Any): Theory
    Implicit
    This member is added by an implicit conversion from Theory toEnsuring[Theory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (Theory) => Boolean): Theory
    Implicit
    This member is added by an implicit conversion from Theory toEnsuring[Theory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: => Any): Theory
    Implicit
    This member is added by an implicit conversion from Theory toEnsuring[Theory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): Theory
    Implicit
    This member is added by an implicit conversion from Theory toEnsuring[Theory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Theory toStringFormat[Theory] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. def fun(c: Const, equations: String*): Unit
    Attributes
    protected
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. val imports: List[Theory]
    Definition Classes
    Theory0
  30. def indTy(ty0: Ty, ctrs: Const*): Unit
    Attributes
    protected
  31. def infix(operator: String, precedence: Int, leftAssociative: Boolean = true, const: String = null): Unit

    Adds an operator as infix notation for an existing constant.

    Adds an operator as infix notation for an existing constant.

    operator

    The operator to add.

    precedence

    The precedence of the operator.

    leftAssociative

    Whether the operator associates to the left.

    const

    The constant which the operator denotes. If nothing is supplied, it will assumed to have the same name as the operator.

    Attributes
    protected
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def main(args: Array[String]): Unit
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def proof(name: String): LKProof
  38. def proofsHere: Vector[(String, Eval[DelayedProofResult])]
    Definition Classes
    Theory0
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. val transitiveImports: Vector[Theory]
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. object LemmaHandle extends Serializable

Deprecated Value Members

  1. def [B](y: B): (Theory, B)
    Implicit
    This member is added by an implicit conversion from Theory toArrowAssoc[Theory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Theory0

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromTheory to any2stringadd[Theory]

Inherited by implicit conversion StringFormat fromTheory to StringFormat[Theory]

Inherited by implicit conversion Ensuring fromTheory to Ensuring[Theory]

Inherited by implicit conversion ArrowAssoc fromTheory to ArrowAssoc[Theory]

Ungrouped