gapt.expr.formula.constants

Members list

Type members

Classlikes

object AndC extends MonomorphicLogicalC

Attributes

Source
AndC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Self type
AndC.type
object BottomC extends MonomorphicLogicalC

Attributes

Source
BottomC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Self type
BottomC.type
object EqC extends LogicalC

Attributes

Source
EqC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Self type
EqC.type
object ExistsC extends QuantifierC

Attributes

Source
ExistsC.scala
Supertypes
class QuantifierC
class LogicalC
class Object
trait Matchable
class Any
Self type
ExistsC.type
object ForallC extends QuantifierC

Attributes

Source
ForallC.scala
Supertypes
class QuantifierC
class LogicalC
class Object
trait Matchable
class Any
Self type
ForallC.type
object ImpC extends MonomorphicLogicalC

Attributes

Source
ImpC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Self type
ImpC.type
abstract class LogicalC(val name: String)

Helper class for logical constants.

Helper class for logical constants.

The logical constans are the propositional connectives, the quantifiers, bottom, top, and the equality constant. A logical constant is different from an expression consisting of only this logical constant, as the expression is an object of type Expr and needs to have a definite type.

A logical constant consists of a name (e.g. "∀"), and a set of possible types, (e.g. (Ti->To)->To, ((Ti->Ti)->To)->To, ...). Subclasses need to implement the function matchType, which matches these possible types. This way we can handle the parametric types of the quantifiers.

Value parameters

name

The name of this logical constant, e.g. "∀"

Attributes

Source
LogicalC.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EqC.type
object AndC.type
object BottomC.type
object ImpC.type
object NegC.type
object OrC.type
object TopC.type
class QuantifierC
object ExistsC.type
object ForallC.type
object EpsilonC.type
Show all
trait LogicalConstant extends Const

Attributes

Source
LogicalConstant.scala
Supertypes
class Const
trait VarOrConst
class Expr
class Object
trait Matchable
class Any
Show all
Known subtypes
class MonomorphicLogicalC(name: String, val ty: Ty) extends LogicalC

Logical constant with a fixed type.

Logical constant with a fixed type.

Value parameters

name

The name of this logical constant, e.g. "∧"

ty

The fixed type of this logical constant, e.g. To->To->To

Attributes

Source
MonomorphicLogicalC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Known subtypes
object AndC.type
object BottomC.type
object ImpC.type
object NegC.type
object OrC.type
object TopC.type
Show all
object NegC extends MonomorphicLogicalC

Attributes

Source
NegC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Self type
NegC.type
object OrC extends MonomorphicLogicalC

Attributes

Source
OrC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Self type
OrC.type
class QuantifierC(name: String) extends LogicalC

A logical constant describing a quantifier, which is of type (α->To)->To.

A logical constant describing a quantifier, which is of type (α->To)->To.

Value parameters

name

The name of this logical constant, e.g. "∀"

Attributes

Source
QuantifierC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Known subtypes
object ExistsC.type
object ForallC.type
object TopC extends MonomorphicLogicalC

Attributes

Source
TopC.scala
Supertypes
class LogicalC
class Object
trait Matchable
class Any
Self type
TopC.type