Formula

sbt.internal.util.logic.Formula
See theFormula companion object
sealed abstract class Formula

A formula consists of variables, negation, and conjunction (and). (Disjunction is not currently included- it is modeled at the level of a sequence of clauses. This is less convenient when defining clauses, but is not less powerful.)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class And
object True.type
class Literal
class Atom
class Negated

Members list

Value members

Concrete methods

def &&(f: Formula): Formula

Constructs a formula that is true iff this formula and f are both true.

Constructs a formula that is true iff this formula and f are both true.

Attributes

def proves(atom: Atom, atoms: Atom*): Clause

Constructs a clause that proves atoms when this formula is true.

Constructs a clause that proves atoms when this formula is true.

Attributes