Packages

trait Term extends Subs[Term]

A HoTT term.

Self Type
Term
Linear Supertypes
Known Subclasses
AbsPair, AtomicTerm, Cnst, CnstFunc, CnstFuncLike, Composition, ConstantTerm, ConstantTyp, DepFunc, DepFuncDefn, DepPair, DepSymbolicFunc, Equality, Func, FuncDefn, FuncLike, FuncTyp, GenFuncTyp, IdentityTyp, InducFn, RecFn, IndInducFuncLike, IndRecFunc, InducFuncLike, LambdaFixed, LambdaLike, LambdaTerm, MiscAppln, NamedDepFunc, NamedFunc, OptDepFuncDefn, PairTerm, PiDefn, PiSymbolicFunc, PlusTyp, FirstIncl, InducFn, RecFn, ScndIncl, ProdTyp, InducFn, RecFn, Prop, RecFunc, Refl, SigmaTyp, InducFn, RecFn, SmallTyp, Star, SymbEquality, SymbObj, SymbProp, SymbTyp, Symbolic, SymbolicFunc, Typ, Unit, InducFn, RecFn, Universe, Zero, InducFn, RecFn, Factorize, Quotient, Truncation, IndTyp, Funcs, Funcs, InductiveDefinition, DataCons, Empty, RecursiveDefinition, DataCons, Empty, SmallBool, SmallNat, InductiveTyp, InductiveTypDefinition, Bool, Bool, isTrueTyp, yes, EnumTerm, EnumTyp, FreeGroup, IndexedVecTyp, Fin, IntTyp, N, Z, IntVector, ListTyp, ListTerm, ListTyp, Induc, Rec, NatTypLong, PlusExtendedDepFunction, PlusExtendedFunction, Pos, PosLiteral, PosWit, PosWitProd, PosWitSum, PosZero, SymbPosWit, RepTerm, ExtendedDepFunction, ExtendedFunction, ConstTerm, ExtendedDepFunction, ExtendedFunction, NatInt, RepSymbObj, SimpleConst, SimpleExtendedFunction, ScalaTyp, ScalaTypUniv, FineSymbTyp, FineUniv, FuncTypUniv, HigherUniv, VecTyp, SymbScalaTyp, AddLiteral, AddTerm, AdditiveMorphism, Homomorphism, LocalTyp, PiTerm, SigmaTerm, multLiteral, multTerm, prod, sum, SymbolicGroup, MultLiteral, MultTerm, inv, mul, VecTyp, FoldedTerm, PiTyp, PiTypUniv
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Term
  2. Subs
  3. AnyRef
  4. 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

Abstract Value Members

  1. 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
  2. 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
  3. abstract val typ: Typ[U] forSome {type U >: Term.this.type <: Term with Subs[U]}

    the HoTT-type of the term

Concrete Value Members

  1. def :->[V <: Term with Subs[V]](that: V): Func[Term, 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 Term toRichTerm[Term] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  2. def :~>[V <: Term with Subs[V]](that: V): FuncLike[Term, 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 Term toRichTerm[Term] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  3. def =:=(rhs: Term): IdentityTyp[Term]

    equality type 'term = rhs'

    equality type 'term = rhs'

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

    returns whether this depends on that

  5. def indepOf(that: Term): Boolean

    returns whether this is independent of that.

  6. def refl: Refl[Term]

    reflexivity term refl : term = term

    reflexivity term refl : term = term

    Implicit
    This member is added by an implicit conversion from Term toRichTerm[Term] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  7. 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
  8. def usesVar(t: Term): Boolean

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