Packages

case class SimpleConst[V](value: V, typ: Typ[Term]) extends ConstTerm[V] with Product with Serializable

scala object wrapped to give a HoTT constant with type declared.

Linear Supertypes
Serializable, Product, Equals, ConstTerm[V], Term, Subs[Term], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleConst
  2. Serializable
  3. Product
  4. Equals
  5. ConstTerm
  6. Term
  7. Subs
  8. AnyRef
  9. Any
Implicitly
  1. by ScalaTerm
  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 SimpleConst(value: V, typ: Typ[Term])

Type Members

  1. type scalaType = V
    Definition Classes
    ConstTerm

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 indepOf(that: Term): Boolean

    returns whether this is independent of that.

    returns whether this is independent of that.

    Definition Classes
    Term
  3. def newobj: ConstTerm[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
    ConstTermSubs
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  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 subs(x: Term, y: Term): Term

    substitute x by y recursively in this.

    substitute x by y recursively in this.

    Definition Classes
    ConstTermSubs
  7. def term: U
    Implicit
    This member is added by an implicit conversion from SimpleConst[V] toScalaTerm[U, SimpleConst[V]] performed by method ScalaTerm in provingground.scalahott.ScalaRep.This conversion will take place only if an implicit value of type ScalaRep[U, SimpleConst[V]] is in scope.
    Definition Classes
    ScalaTerm
  8. def toString(): String
    Definition Classes
    SimpleConst → AnyRef → Any
  9. val typ: Typ[Term]

    the HoTT-type of the term

    the HoTT-type of the term

    Definition Classes
    SimpleConstTerm
  10. 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
  11. val value: V
    Definition Classes
    SimpleConstConstTerm