case class InducFn[U <: Term with Subs[U]](depcodom: Func[Term, Typ[U]]) extends InducFuncLike[Term, U] with Product with Serializable
- Alphabetic
- By Inheritance
- InducFn
- Serializable
- Product
- Equals
- InducFuncLike
- FuncLike
- Function1
- Term
- Subs
- AnyRef
- Any
- by UnliftOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- def act(arg: Term): U
the action of the function to define: define this method, but use apply.
- def andThen[A](g: (U) => A): (Term) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(arg: Term): U
application of the function: use this but define the act method; checks HoTT-type of argument is in the domain and throws exception if it fails.
- def applyUnchecked(arg: Term): U
- Definition Classes
- FuncLike
- def baseFunction: ExstFunc
- Definition Classes
- InducFuncLike
- def canApply(arg: Term): Boolean
checks if application is valid; can override to allow for example resizing universes
checks if application is valid; can override to allow for example resizing universes
- arg
the argument
- returns
whether the argument has the correct type.
- Definition Classes
- FuncLike
- def compose[A](g: (A) => Term): (A) => U
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- val defnData: Vector[Term]
the definition data for all the introduction rules
the definition data for all the introduction rules
- Definition Classes
- InducFn → InducFuncLike
- val depcodom: Func[Term, Typ[U]]
- def dependsOn(that: Term): Boolean
returns whether
this
depends onthat
returns whether
this
depends onthat
- Definition Classes
- Term
- val dom: Typ[Term]
- def equals(that: Any): Boolean
- Definition Classes
- InducFuncLike → AnyRef → Any
- def fromData(data: Vector[Term]): InducFuncLike[Term, U]
- Definition Classes
- InducFn → InducFuncLike
- lazy val fullData: (Typ[Term], (Term) => Typ[U], Vector[Term])
- Definition Classes
- InducFuncLike
- def hashCode(): Int
- Definition Classes
- InducFuncLike → AnyRef → Any
- def indepOf(that: Term): Boolean
returns whether
this
is independent ofthat
.returns whether
this
is independent ofthat
.- Definition Classes
- Term
- val intros: Vector[Term]
- Definition Classes
- InducFn → InducFuncLike
- def newobj: FuncLike[Term, U] with Subs[FuncLike[Term, U]]
A new object with the same type, to be used in place of a variable to avoid name clashes.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def replace(x: Term, y: Term): FuncLike[Term, U] with Subs[FuncLike[Term, U]]
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 subs(x: Term, y: Term): FuncLike[Term, U]
substitute x by y recursively in
this
. - def toString(): String
- Definition Classes
- InducFuncLike → Function1 → AnyRef → Any
- val typ: Typ[FuncLike[Term, U]]
the HoTT-type of the term
- def unlift: PartialFunction[Term, B]
- 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
- InducFuncLike → Term