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
- Alphabetic
- By Inheritance
- Prover
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
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.
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Prover, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def ensuring(cond: (Prover) ⇒ Boolean, msg: ⇒ Any): Prover
- def ensuring(cond: (Prover) ⇒ Boolean): Prover
- def ensuring(cond: Boolean, msg: ⇒ Any): Prover
- def ensuring(cond: Boolean): Prover
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getEpsilonProof(formula: Formula)(implicit ctx: Maybe[MutableContext]): Option[EpsilonProof]
- def getEpsilonProof(seq: HOLSequent)(implicit ctx: Maybe[MutableContext]): Option[EpsilonProof]
- def getExpansionProof(seq: HOLSequent)(implicit ctx: Maybe[MutableContext]): Option[ExpansionProof]
- def getExpansionProof(formula: Formula)(implicit ctx: Maybe[MutableContext]): Option[ExpansionProof]
-
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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isUnsat(cnf: Iterable[HOLClause])(implicit ctx: Maybe[Context]): Boolean
Checks whether a set of clauses is unsatisfiable.
-
def
isUnsat(formula: Formula)(implicit ctx: Maybe[Context]): Boolean
Checks whether a formula is unsatisfiable.
-
def
isValid(seq: HOLSequent)(implicit ctx: Maybe[Context]): Boolean
- seq
The sequent whose validity should be checked.
- returns
True if the formula is valid.
-
def
isValid(formula: Formula)(implicit ctx: Maybe[Context]): Boolean
- formula
The formula whose validity should be checked.
- returns
True if the formula is valid.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )
- def →[B](y: B): (Prover, B)
This is the API documentation for GAPT.
The main package is gapt.