ETt

gapt.proofs.expansion.ETt
See theETt companion object
sealed abstract class ETt

Expansion tree term.

This is a compressed representation of expansion trees that does not store formulas or polarity information.

In contrast to expansion trees, expansion tree terms do not have shallow and deep formulas. Rather, there is a (partial) function from term and shallow formula (and polarity) to deep formula.

For example, instead of ETAtom(hof"P(a)", Polarity.Positive), we just store ETtAtom.

As a side effect, the deep methods checks whether an expansion tree term is correct for a given shallow formula (it throws an exception if the term is not correct).

Attributes

Companion
object
Source
terms.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ETtAtom.type
class ETtBinary
class ETtDef
class ETtMerge
object ETtNullary.type
class ETtSkolem
class ETtStrong
class ETtUnary
class ETtWeak
object ETtWeakening.type
Show all
Self type

Members list

Value members

Concrete methods

def deep(shallow: Formula, polarity: Polarity): Formula

Attributes

Source
terms.scala

Attributes

Source
terms.scala
def foreach(f: ETt => Unit): Unit

Attributes

Source
terms.scala
def toDoc(implicit sig: BabelSignature): Doc

Attributes

Source
terms.scala

Attributes

Source
terms.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
terms.scala

Concrete fields

override val hashCode: Int

Calculate a hash code value for the object.

Calculate a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Source
terms.scala