Packages

trait Symbolic extends Term

terms that are given (and determined) by name; does not include, for instance, pairs each of whose instance is given by a name; most useful for pattern matching, where the name contains information about formal function applications etc.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Symbolic
  2. Term
  3. Subs
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract val name: AnySym
  2. abstract def newobj: Term with Subs[Term]

    A new object with the same type, to be used in place of a variable to avoid name clashes.

    A new object with the same type, to be used in place of a variable to avoid name clashes. Should throw exception when invoked for constants.

    Definition Classes
    Subs
  3. abstract def subs(x: Term, y: Term): Term with Subs[Term]

    substitute x by y recursively in this.

    substitute x by y recursively in this.

    Definition Classes
    Subs
  4. abstract val typ: Typ[U] forSome {type U >: Symbolic.this.type <: Term with Subs[U]}

    the HoTT-type of the term

    the HoTT-type of the term

    Definition Classes
    Term

Concrete Value Members

  1. def dependsOn(that: Term): Boolean

    returns whether this depends on that

    returns whether this depends on that

    Definition Classes
    Term
  2. def equals(that: Any): Boolean
    Definition Classes
    Symbolic → AnyRef → Any
  3. lazy val hashCode: Int
    Definition Classes
    Symbolic → AnyRef → Any
  4. def indepOf(that: Term): Boolean

    returns whether this is independent of that.

    returns whether this is independent of that.

    Definition Classes
    Term
  5. def replace(x: Term, y: Term): Term with Subs[Term]

    refine substitution so if x and y are both of certain forms such as pairs or formal applications, components are substituted.

    refine substitution so if x and y are both of certain forms such as pairs or formal applications, components are substituted.

    Definition Classes
    Subs
  6. def toString(): String
    Definition Classes
    Symbolic → AnyRef → Any
  7. def usesVar(t: Term): Boolean

    returns whether the variable t is used as a variable in a lambda definition.

    returns whether the variable t is used as a variable in a lambda definition.

    Definition Classes
    Term