trait InductiveTyp[C <: Term with Subs[C], H <: Term with Subs[H]] extends Typ[H]
- Alphabetic
- By Inheritance
- InductiveTyp
- Typ
- Term
- Subs
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
Abstract Value Members
- abstract val constructors: List[Constructor[C, H]]
- abstract def newobj: Typ[H] with Subs[Typ[H]]
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): Typ[H] with Subs[Typ[H]]
substitute x by y recursively in
this
.substitute x by y recursively in
this
.- Definition Classes
- Subs
- abstract val typ: Univ
type of a type is a universe.
- abstract def variable(name: AnySym): Obj with Subs[Obj]
A symbolic object with this HoTT type, and with scala-type Obj
A symbolic object with this HoTT type, and with scala-type Obj
- Definition Classes
- Typ
Concrete Value Members
- object Elem
Pattern for element of the given type.
Pattern for element of the given type.
- Definition Classes
- Typ
- def !:(term: Term): H
checks term is of this type and returns it; useful for documentation.
checks term is of this type and returns it; useful for documentation.
- Definition Classes
- Typ
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &&[UU >: H <: Term with Subs[UU], V <: Term with Subs[V]](that: Typ[V]): ProdTyp[UU, V]
returns product type, mainly to use for "and" for structures
returns product type, mainly to use for "and" for structures
- Definition Classes
- Typ
- def &:[UU >: H <: Term with Subs[UU], V <: Term with Subs[V]](variable: V): SigmaTyp[V, UU]
- Definition Classes
- Typ
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from InductiveTyp[C, H] toany2stringadd[InductiveTyp[C, H]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ++[UU >: Typ[H] <: Typ[Term] with Subs[UU], VV <: Term with Subs[VV], V <: Typ[VV] with Subs[V]](those: V): SigmaTyp[UU, VV]
returns Sigma-Type, mainly to use as "such that", for example a group type is this with product etc.
returns Sigma-Type, mainly to use as "such that", for example a group type is this with product etc. dependent on this.
- Definition Classes
- Typ
- def ->[B](y: B): (InductiveTyp[C, H], B)
- Implicit
- This member is added by an implicit conversion from InductiveTyp[C, H] toArrowAssoc[InductiveTyp[C, H]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- def ->:[W <: Term with Subs[W], UU >: H <: Term with Subs[UU]](that: Typ[W]): FuncTyp[W, UU]
function type:
this -> that
function type:
this -> that
- Definition Classes
- Typ
- def ::(name: String): H
symbolic object with given name
symbolic object with given name
- Definition Classes
- Typ
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def Var(implicit factory: NameFactory): H
new variable from a factory.
new variable from a factory.
- Definition Classes
- Typ
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val constructorFns: List[Term]
just the constructor functions
- def dependsOn(that: Term): Boolean
returns whether
this
depends onthat
returns whether
this
depends onthat
- Definition Classes
- Term
- def ensuring(cond: (InductiveTyp[C, H]) => Boolean, msg: => Any): InductiveTyp[C, H]
- Implicit
- This member is added by an implicit conversion from InductiveTyp[C, H] toEnsuring[InductiveTyp[C, H]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (InductiveTyp[C, H]) => Boolean): InductiveTyp[C, H]
- Implicit
- This member is added by an implicit conversion from InductiveTyp[C, H] toEnsuring[InductiveTyp[C, H]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): InductiveTyp[C, H]
- Implicit
- This member is added by an implicit conversion from InductiveTyp[C, H] toEnsuring[InductiveTyp[C, H]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): InductiveTyp[C, H]
- Implicit
- This member is added by an implicit conversion from InductiveTyp[C, H] toEnsuring[InductiveTyp[C, H]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from InductiveTyp[C, H] toStringFormat[InductiveTyp[C, H]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def indepOf(that: Term): Boolean
returns whether
this
is independent ofthat
.returns whether
this
is independent ofthat
.- Definition Classes
- Term
- def induc(Xs: Func[H, Typ[C]]): InducType
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def obj: H
factory for producing objects of the given type.
factory for producing objects of the given type. can use {{innervar}} if one wants name unchanged.
- Definition Classes
- Typ
- val ptns: List[ConstructorPattern[C, ptns.$anonfun.x$1.type.ConstructorType, H] forSome {val x$1: Constructor[C, H]}]
just the constructor patterns.
- def rec(X: Typ[C]): RecType
- def replace(x: Term, y: Term): Typ[H] with Subs[Typ[H]]
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 sym(implicit name: Name): H
shortcut for symbolic object
shortcut for symbolic object
- Definition Classes
- Typ
- def symbObj(name: AnySym): H with Subs[H]
A symbolic object with this HoTT type, and with scala-type Obj
A symbolic object with this HoTT type, and with scala-type Obj
- Definition Classes
- Typ
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val typlevel: Int
- Definition Classes
- Typ
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def ||[UU >: H <: Term with Subs[UU], V <: Term with Subs[V]](that: Typ[V]): PlusTyp[UU, V]
returns coproduct type, mainly to use for "or".
returns coproduct type, mainly to use for "or".
- Definition Classes
- Typ
- def ~>:[UU >: H <: Term with Subs[UU], V <: Term with Subs[V]](variable: V): GenFuncTyp[V, UU]
dependent function type (Pi-Type) define by a lambda:
this
depends on thevariable
, which hence gives a type family; note that a new variable is created and substituted inthis
to avoid name clashes.dependent function type (Pi-Type) define by a lambda:
this
depends on thevariable
, which hence gives a type family; note that a new variable is created and substituted inthis
to avoid name clashes.- Definition Classes
- Typ
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (InductiveTyp[C, H], B)
- Implicit
- This member is added by an implicit conversion from InductiveTyp[C, H] toArrowAssoc[InductiveTyp[C, H]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.