Packages

case class PairTerm[U <: Term with Subs[U], V <: Term with Subs[V]](first: U, second: V) extends AbsPair[U, V] with Subs[PairTerm[U, V]] with Product with Serializable

Term (a, b) in A times B

Linear Supertypes
Serializable, Product, Equals, AbsPair[U, V], Term, Subs[PairTerm[U, V]], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PairTerm
  2. Serializable
  3. Product
  4. Equals
  5. AbsPair
  6. Term
  7. Subs
  8. AnyRef
  9. Any
Implicitly
  1. by RichTerm
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PairTerm(first: U, second: V)

Value Members

  1. def :->[V <: Term with Subs[V]](that: V): Func[PairTerm[U, V], V]

    constructor for (pure) lambda functions, see lmbda

    constructor for (pure) lambda functions, see lmbda

    Implicit
    This member is added by an implicit conversion from PairTerm[U, V] toRichTerm[PairTerm[U, V]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  2. def :~>[V <: Term with Subs[V]](that: V): FuncLike[PairTerm[U, V], V]

    constructor for (in general dependent) lambda functions, see lambda

    constructor for (in general dependent) lambda functions, see lambda

    Implicit
    This member is added by an implicit conversion from PairTerm[U, V] toRichTerm[PairTerm[U, V]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  3. def =:=(rhs: PairTerm[U, V]): IdentityTyp[PairTerm[U, V]]

    equality type 'term = rhs'

    equality type 'term = rhs'

    Implicit
    This member is added by an implicit conversion from PairTerm[U, V] toRichTerm[PairTerm[U, V]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  4. def dependsOn(that: Term): Boolean

    returns whether this depends on that

    returns whether this depends on that

    Definition Classes
    Term
  5. val first: U
    Definition Classes
    PairTermAbsPair
  6. def indepOf(that: Term): Boolean

    returns whether this is independent of that.

    returns whether this is independent of that.

    Definition Classes
    Term
  7. def newobj: PairTerm[U, V]

    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
    PairTermSubs
  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. def refl: Refl[PairTerm[U, V]]

    reflexivity term refl : term = term

    reflexivity term refl : term = term

    Implicit
    This member is added by an implicit conversion from PairTerm[U, V] toRichTerm[PairTerm[U, V]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  10. def replace(x: Term, y: Term): PairTerm[U, V] with Subs[PairTerm[U, V]]

    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
  11. val second: V
    Definition Classes
    PairTermAbsPair
  12. def subs(x: Term, y: Term): PairTerm[U, V]

    substitute x by y recursively in this.

    substitute x by y recursively in this.

    Definition Classes
    PairTermSubs
  13. def toString(): String
    Definition Classes
    AbsPair → AnyRef → Any
  14. lazy val typ: ProdTyp[U, V]

    the HoTT-type of the term

    the HoTT-type of the term

    Definition Classes
    PairTermTerm
  15. 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