Runners

gapt.provers.Session.Runners
object Runners

Contains various functions for interpreting a value of type Session.

A "runner" contains a natural transformation from SessionCommand to Id; i.e. a function that can transform any SessionCommand[A] to an Id[A] (= A).

Given such a transformation comp: SessionCommand ~> Id, you can use it to interpret a session program p via p.foldMap(comp).

Attributes

Source
Session.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Runners.type

Members list

Type members

Classlikes

class BenchmarkRecorder(lineWidth: Int) extends SMTLibSessionRunner

An SMTLibSessionRunner that writes all commands sequentially to a string.

An SMTLibSessionRunner that writes all commands sequentially to a string.

Its tell simply writes to the string, while its ask writes to the string and receives dummy replies.

Attributes

Source
Session.scala
Supertypes
class Object
trait Matchable
class Any

An SMTLibSessionRunner that actually communicates with an external program.

An SMTLibSessionRunner that actually communicates with an external program.

Value parameters

command

The command & list of options used to start the external program.

Attributes

Source
Session.scala
Supertypes
class Object
trait Matchable
class Any
abstract class SMTLibSessionRunner extends SessionRunner

A runner that interprets a Session by communicating with an SMTLib process. The process is left abstract -- it might not be an external program.

A runner that interprets a Session by communicating with an SMTLib process. The process is left abstract -- it might not be an external program.

Subclasses must implement the tell and ask functions.

Attributes

Source
Session.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
abstract class SessionRunner

Runs a session. What that means, exactly, is up to the concrete implementation.

Runs a session. What that means, exactly, is up to the concrete implementation.

Attributes

Source
Session.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class StackSessionRunner(checkValidity: HOLSequent => Boolean) extends SessionRunner

A runner that interprets a session by manipulating a stack of sets of formulas.

A runner that interprets a session by manipulating a stack of sets of formulas.

Value parameters

checkValidity

The function the runner uses to test validity of sequents.

Attributes

Source
Session.scala
Supertypes
class Object
trait Matchable
class Any