Packages

case class SigmaTerm(elems: Set[LocalTerm]) extends LocalTerm with FoldedTerm[LocalTerm] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, FoldedTerm[LocalTerm], RepTerm[A], Term, Subs[RepTerm[A]], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SigmaTerm
  2. Serializable
  3. Product
  4. Equals
  5. FoldedTerm
  6. RepTerm
  7. Term
  8. Subs
  9. AnyRef
  10. 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

Instance Constructors

  1. new SigmaTerm(elems: Set[LocalTerm])

Value Members

  1. def +:(x: LocalTerm): LocalTerm

    add a term, simplifies assuming the term added is in normal form, and does not involve a literal

  2. def dependsOn(that: Term): Boolean

    returns whether this depends on that

    returns whether this depends on that

    Definition Classes
    Term
  3. val elems: Set[LocalTerm]
    Definition Classes
    SigmaTermFoldedTerm
  4. val head: LocalTerm
  5. def indepOf(that: Term): Boolean

    returns whether this is independent of that.

    returns whether this is independent of that.

    Definition Classes
    Term
  6. def newobj: LocalTerm

    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
    SigmaTermSubs
  7. val op: sum.type
    Definition Classes
    SigmaTermFoldedTerm
  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. def replace(x: Term, y: Term): RepTerm[A] with Subs[RepTerm[A]]

    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
  10. def subs(x: Term, y: Term): LocalTerm

    substitute x by y recursively in this.

    substitute x by y recursively in this.

    Definition Classes
    SigmaTermSubs
  11. val tail: LocalTerm
  12. def toString(): String
    Definition Classes
    SigmaTerm → AnyRef → Any
  13. val typ: LocalTyp.type

    the HoTT-type of the term

    the HoTT-type of the term

    Definition Classes
    SigmaTermRepTermTerm
  14. 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