case class Funcs(ind: Index) extends IndRecFunc[H, C, F] with Product with Serializable
- Alphabetic
- By Inheritance
- Funcs
- Serializable
- Product
- Equals
- IndRecFunc
- Func
- FuncLike
- Function1
- Term
- Subs
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Funcs(ind: Index)
Value Members
- def act(arg: H): C
the action of the function to define: define this method, but use apply.
- def andThen[A](g: (C) => A): (H) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(arg: H): C
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: H): C
- Definition Classes
- FuncLike
- def canApply(arg: H): 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
- val codom: Typ[C]
codomain
codomain
- Definition Classes
- Funcs → IndRecFunc → Func
- def compose[A](g: (A) => H): (A) => C
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- val defnData: Vector[Term]
definition data for all introduction rules.
definition data for all introduction rules.
- Definition Classes
- Funcs → IndRecFunc
- val depcodom: (H) => Typ[C]
- def dependsOn(that: Term): Boolean
returns whether
this
depends onthat
returns whether
this
depends onthat
- Definition Classes
- Term
- val dom: Typ[H]
domain
- val domW: W.type
the dependent codomain on the family.
the dependent codomain on the family.
- Definition Classes
- Funcs → IndRecFunc
- def equals(that: Any): Boolean
- Definition Classes
- IndRecFunc → AnyRef → Any
- def fromData(data: Vector[Term]): Funcs
- lazy val fullIndData: (F, Vector[Term], Typ[C], Vector[Term])
- Definition Classes
- IndRecFunc
- def hashCode(): Int
- Definition Classes
- IndRecFunc → AnyRef → Any
- val ind: Index
- def indepOf(that: Term): Boolean
returns whether
this
is independent ofthat
.returns whether
this
is independent ofthat
.- Definition Classes
- Term
- val index: Vector[Term]
indices of the introduction rules.
indices of the introduction rules.
- Definition Classes
- Funcs → IndRecFunc
- val intros: Vector[Term]
- Definition Classes
- Funcs → IndRecFunc
- def newobj: Nothing
A new object with the same type, to be used in place of a variable to avoid name clashes.
- lazy val outer: IndexedRecursiveDefinition[H, F, C, Index, IF, IDF, IDFT]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def replace(x: Term, y: Term): Func[H, C] with Subs[Func[H, C]]
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): Funcs
substitute x by y recursively in
this
. - def toString(): String
- Definition Classes
- IndRecFunc → Function1 → AnyRef → Any
- val typ: FuncTyp[H, C]
the HoTT-type of the term
- 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