trait RepTerm[A] extends Term with Subs[RepTerm[A]]
- Alphabetic
- By Inheritance
- RepTerm
- Term
- Subs
- AnyRef
- Any
- by RichTerm
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def newobj: RepTerm[A] with Subs[RepTerm[A]]
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
- abstract def subs(x: Term, y: Term): RepTerm[A] with Subs[RepTerm[A]]
substitute x by y recursively in
this
.substitute x by y recursively in
this
.- Definition Classes
- Subs
- abstract val typ: Typ[RepTerm[A]]
the HoTT-type of the term
Concrete Value Members
- def :->[V <: Term with Subs[V]](that: V): Func[RepTerm[A], V]
constructor for (pure) lambda functions, see lmbda
- def :~>[V <: Term with Subs[V]](that: V): FuncLike[RepTerm[A], V]
constructor for (in general dependent) lambda functions, see lambda
- def =:=(rhs: RepTerm[A]): IdentityTyp[RepTerm[A]]
equality type 'term = rhs'
equality type 'term = rhs'
- Implicit
- This member is added by an implicit conversion from RepTerm[A] toRichTerm[RepTerm[A]] performed by method RichTerm in provingground.HoTT.
- Definition Classes
- RichTerm
- def dependsOn(that: Term): Boolean
returns whether
this
depends onthat
returns whether
this
depends onthat
- Definition Classes
- Term
- def indepOf(that: Term): Boolean
returns whether
this
is independent ofthat
.returns whether
this
is independent ofthat
.- Definition Classes
- Term
- def refl: Refl[RepTerm[A]]
reflexivity term
refl : term = term
reflexivity term
refl : term = term
- Implicit
- This member is added by an implicit conversion from RepTerm[A] toRichTerm[RepTerm[A]] performed by method RichTerm in provingground.HoTT.
- Definition Classes
- RichTerm
- 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
- 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