inox
package inox
Core package of the Inox solving interface
Structure
The package is organized in the following subpackages:
inox.ast: Provides definitions for expressions, types and definitions, as well as operations on them inox.evaluators: Evaluators of Inox expressions inox.solvers: Interfaces to SMT-solvers inox.tip: Parsing and printing for TIP problems inox.transformers: Tree transformations for Inox expressions inox.utils: Utility methods
- Alphabetic
- By Inheritance
- inox
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class BooleanToOption extends AnyRef
-
case class
Context
(reporter: Reporter, interruptManager: InterruptManager, options: Options = Options(Seq()), timers: TimerStorage = TimerStorage()) extends Product with Serializable
Everything that is part of a compilation unit, except the actual program tree.
Everything that is part of a compilation unit, except the actual program tree. Contexts are immutable, and so should all their fields (with the possible exception of the reporter).
- abstract class DebugSection extends AnyRef
- class DefaultReporter extends Reporter
- case class DoubleOptionDef (name: String, default: Double, usageRhs: String) extends OptionDef[Double] with Product with Serializable
- case class FatalError (msg: String) extends Exception with Product with Serializable
- case class FlagOptionDef (name: String, default: Boolean) extends OptionDef[Boolean] with Product with Serializable
-
type
Identifier = inox.ast.Identifier
We provide aliases to ast.Identifier and ast.FreshIdentifier here for a more natural import experience.
We provide aliases to ast.Identifier and ast.FreshIdentifier here for a more natural import experience.
Indeed, as Inox typically follows a pattern of nesting package clauses with the outer-most being
package inox
, including these basic definitions in the default imports makes my (@nv) life easier.
package inox }}} in the default imports makes my (@nv) life easier.
- type InoxProgram = Program { val trees: inox.trees.type }
- case class IntOptionDef (name: String, default: Int, usageRhs: String) extends OptionDef[Int] with Product with Serializable
- case class LongOptionDef (name: String, default: Long, usageRhs: String) extends OptionDef[Long] with Product with Serializable
- trait MainHelpers extends AnyRef
- trait Model extends AnyRef
- abstract class OptionDef [A] extends AnyRef
- class OptionValue [A] extends AnyRef
- case class Options (options: Seq[OptionValue[_]]) extends Product with Serializable
- class PlainTextReporter extends DefaultReporter
-
trait
Program
extends AnyRef
Contains all definitions required to construct a complete Inox program.
Contains all definitions required to construct a complete Inox program.
The elements of this class are typed dependently on the type of trees, which is an object containing classes for expressions, types and definitions used by this program.
symbols contains the actual definitions (classes and functions) of the program.
printerOpts provides options for tree printers.
purityOpts provides options for assuming checked contracts.
simpOpts provides options for allowing expression simplifications.
- abstract class Reporter extends AnyRef
- trait Semantics extends AnyRef
- trait SemanticsProvider extends AnyRef
- case class StringOptionDef (name: String, default: String, usageRhs: String) extends OptionDef[String] with Product with Serializable
- class Unsupported extends Exception
Value Members
-
val
FreshIdentifier: inox.ast.FreshIdentifier.type
- See also
Identifier for why this is here
- implicit val inoxSemantics: SemanticsProvider { val trees: inox.trees.type }
- object Build
- object Context extends Serializable
- object DebugSectionOptions extends DebugSection
- object InoxProgram
- object Main extends MainHelpers
- object Model
- object OptionParsers
- object OptionValue
- object Options extends Serializable
- object OptionsHelpers
- object Program
- object optPrintChooses extends FlagOptionDef
- object optSelectedSolvers extends OptionDef[Set[String]]
- object optTimeout extends OptionDef[Duration]
- object trees extends Trees with SimpleSymbols