case class Funcs(ind: Index) extends IndInducFuncLike[H, C, F, IDFT] with Product with Serializable
- Alphabetic
- By Inheritance
- Funcs
- Serializable
- Product
- Equals
- IndInducFuncLike
- 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 codXs: Xs.type
the dependent codomain on the family.
the dependent codomain on the family.
- Definition Classes
- Funcs → IndInducFuncLike
- def compose[A](g: (A) => H): (A) => C
- 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
- Funcs → IndInducFuncLike
- val depcodom: Func[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]
- val domW: W.type
the domain family, e.g.
the domain family, e.g.
Vec
- Definition Classes
- Funcs → IndInducFuncLike
- def equals(that: Any): Boolean
- Definition Classes
- IndInducFuncLike → AnyRef → Any
- val fibre: Func[H, Typ[C]]
- def fromData(data: Vector[Term]): Funcs
- lazy val fullIndData: (F, Vector[Term], IDFT, Vector[Term])
- Definition Classes
- IndInducFuncLike
- def hashCode(): Int
- Definition Classes
- IndInducFuncLike → 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 → IndInducFuncLike
- val intros: Vector[Term]
- Definition Classes
- Funcs → IndInducFuncLike
- 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: IndexedInductiveDefinition[H, F, C, Index, IF, IDF, IDFT]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def replace(x: Term, y: Term): FuncLike[H, C] with Subs[FuncLike[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
- IndInducFuncLike → Function1 → AnyRef → Any
- val typ: PiDefn[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