Packages

trait Prover extends AnyRef

A prover that is able to refute HOL sequents/formulas (or subsets of HOL, like propositional logic).

TODO: exceptions to indicate that a formula is not supported (e.g. for propositional provers).

Implementors may want to override isValid(seq) to avoid parsing proofs.

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

Abstract Value Members

  1. abstract def getLKProof(seq: HOLSequent)(implicit ctx: Maybe[MutableContext]): Option[LKProof]

    seq

    The sequent that should be proved.

    returns

    An LK-Proof of the sequent, or None if not successful.

  2. abstract def runSession[A](program: Session.Session[A]): A

    Method for running a session.

    Method for running a session.

    A

    The return type of the session.

    program

    A proof session.

    returns

    The result of running the session.

Concrete 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 Prover toany2stringadd[Prover] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Prover, B)
    Implicit
    This member is added by an implicit conversion from Prover toArrowAssoc[Prover] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def ensuring(cond: (Prover) => Boolean, msg: => Any): Prover
    Implicit
    This member is added by an implicit conversion from Prover toEnsuring[Prover] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Prover) => Boolean): Prover
    Implicit
    This member is added by an implicit conversion from Prover toEnsuring[Prover] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): Prover
    Implicit
    This member is added by an implicit conversion from Prover toEnsuring[Prover] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Prover
    Implicit
    This member is added by an implicit conversion from Prover toEnsuring[Prover] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def getEpsilonProof(formula: Formula)(implicit ctx: Maybe[MutableContext]): Option[EpsilonProof]
  16. def getEpsilonProof(seq: HOLSequent)(implicit ctx0: Maybe[MutableContext]): Option[EpsilonProof]
  17. def getExpansionProof(seq: HOLSequent)(implicit ctx: Maybe[MutableContext]): Option[ExpansionProof]
  18. def getExpansionProof(formula: Formula)(implicit ctx: Maybe[MutableContext]): Option[ExpansionProof]
  19. def getInterpolant(tree: Tree[Formula])(implicit ctx: Maybe[Context]): Option[Tree[Formula]]
  20. def getLKProof(formula: Formula)(implicit ctx: Maybe[MutableContext]): Option[LKProof]

    formula

    The formula that should be proved.

    returns

    An LK-Proof of :- formula, or None if not successful.

  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isUnsat(cnf: Iterable[HOLClause])(implicit ctx: Maybe[Context]): Boolean

    Checks whether a set of clauses is unsatisfiable.

  24. def isUnsat(formula: Formula)(implicit ctx: Maybe[Context]): Boolean

    Checks whether a formula is unsatisfiable.

  25. def isValid(seq: HOLSequent)(implicit ctx: Maybe[Context]): Boolean

    seq

    The sequent whose validity should be checked.

    returns

    True if the formula is valid.

  26. def isValid(formula: Formula)(implicit ctx: Maybe[Context]): Boolean

    formula

    The formula whose validity should be checked.

    returns

    True if the formula is valid.

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Prover toStringFormat[Prover] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (Prover, B)
    Implicit
    This member is added by an implicit conversion from Prover toArrowAssoc[Prover] 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 AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromProver to any2stringadd[Prover]

Inherited by implicit conversion StringFormat fromProver to StringFormat[Prover]

Inherited by implicit conversion Ensuring fromProver to Ensuring[Prover]

Inherited by implicit conversion ArrowAssoc fromProver to ArrowAssoc[Prover]

Ungrouped