LogicalC

gapt.expr.formula.constants.LogicalC
abstract class LogicalC(val name: String)

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
Graph
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

Members list

Value members

Concrete fields

val name: String

Attributes

Source
LogicalC.scala