Session
Implementation of proof sessions via the cats free monad. See http://typelevel.org/cats/datatypes/freemonad.html.
Attributes
- Source
- Session.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Session.type
Members list
Type members
Classlikes
Contains various functions for interpreting a value of type Session.
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
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Runners.type
Attributes
- Companion
- trait
- Source
- Session.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SessionCommand.type
Trait for individual session commands.
Trait for individual session commands.
Type parameters
- A
-
The return type of the command.
Attributes
- Companion
- object
- Source
- Session.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Askclass Assertclass AssertLabelledobject CheckSat.typeclass DeclareFunclass DeclareSortobject Pop.typeobject Push.typeclass SetLogicclass SetOptionclass TellShow all
Types
Attributes
- Source
- Session.scala
Value members
Concrete methods
Submits an SExpression and receives one in return.
Asserts a formula.
Asserts a formula with a label.
Asserts a list of formulas.
Checks whether the current set of declarations and assertions is satisfiable.
Checks whether the current set of declarations and assertions is satisfiable.
Attributes
- Source
- Session.scala
Checks whether the current set of declarations and assertions is not satisfiable.
Checks whether the current set of declarations and assertions is not satisfiable.
Attributes
- Source
- Session.scala
Declares a function.
Declares a sort.
Declares all symbols (sorts and functions) in a list of Exprs.
Declares all symbols (sorts and functions) in a list of Exprs.
Pops the stack, eliminating all assertions and declarations since the last push.
Pops the stack, eliminating all assertions and declarations since the last push.
Attributes
- Source
- Session.scala
Attributes
- Source
- Session.scala
Pushes the current assertions and declarations on the stack.
Sets the logic to be used for the session.
Sets an option to a value.
Attributes
- Source
- Session.scala
Submits an SExpression without a return.
Pushes the stack, then runs f, then pops the stack.