gapt.expr.formula.constants
Members list
Type members
Classlikes
Attributes
- Source
- AndC.scala
- Supertypes
- Self type
-
AndC.type
Attributes
- Source
- BottomC.scala
- Supertypes
- Self type
-
BottomC.type
Attributes
- Source
- ExistsC.scala
- Supertypes
- Self type
-
ExistsC.type
Attributes
- Source
- ForallC.scala
- Supertypes
- Self type
-
ForallC.type
Attributes
- Source
- ImpC.scala
- Supertypes
- Self type
-
ImpC.type
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 Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- LogicalConstant.scala
- Supertypes
- Known subtypes
-
trait FOLQuantifiertrait PropConnective
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
- Known subtypes
Attributes
- Source
- NegC.scala
- Supertypes
- Self type
-
NegC.type
Attributes
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
- Known subtypes
Attributes
- Source
- TopC.scala
- Supertypes
- Self type
-
TopC.type