Packages

case class ProdTyp[U <: Term with Subs[U], V <: Term with Subs[V]](first: Typ[U], second: Typ[V]) extends Typ[PairTerm[U, V]] with AbsPair[Typ[U], Typ[V]] with Subs[ProdTyp[U, V]] with Product with Serializable

The product type A times B

first

the first component

second

the second component

Self Type
ProdTyp[U, V]
Linear Supertypes
Serializable, Product, Equals, AbsPair[Typ[U], Typ[V]], Typ[PairTerm[U, V]], Term, Subs[ProdTyp[U, V]], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProdTyp
  2. Serializable
  3. Product
  4. Equals
  5. AbsPair
  6. Typ
  7. Term
  8. Subs
  9. AnyRef
  10. 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

Instance Constructors

  1. new ProdTyp(first: Typ[U], second: Typ[V])

    first

    the first component

    second

    the second component

Type Members

  1. case class InducFn[W <: Term with Subs[W]](targetFmly: Func[U, Func[V, Typ[W]]], data: FuncLike[U, FuncLike[V, W]]) extends InducFuncLike[PairTerm[U, V], W] with Product with Serializable

    Inductive definition

    Inductive definition

    targetFmly

    type family for the Pi-type dependent codomain

    data

    definition data

  2. type Obj = PairTerm[U, V]

    scala type of objects with this HoTT-type (refining U)

    scala type of objects with this HoTT-type (refining U)

    Definition Classes
    ProdTypTyp
  3. case class RecFn[W <: Term with Subs[W]](codom: Typ[W], data: Func[U, Func[V, W]]) extends RecFunc[PairTerm[U, V], W] with Product with Serializable

    Recursion function from product type

    Recursion function from product type

    codom

    the codomain

    data

    the definition data

Value Members

  1. def !:(term: Term): PairTerm[U, V]

    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
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. def &&[UU >: PairTerm[U, V] <: 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
  5. def &:[UU >: PairTerm[U, V] <: Term with Subs[UU], V <: Term with Subs[V]](variable: V): SigmaTyp[V, UU]
    Definition Classes
    Typ
  6. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toany2stringadd[ProdTyp[U, V]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  7. def ++[UU >: Typ[PairTerm[U, V]] <: 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
  8. def ->[B](y: B): (ProdTyp[U, V], B)
    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toArrowAssoc[ProdTyp[U, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  9. def ->:[W <: Term with Subs[W], UU >: PairTerm[U, V] <: Term with Subs[UU]](that: Typ[W]): FuncTyp[W, UU]

    function type: this -> that

    function type: this -> that

    Definition Classes
    Typ
  10. def :->[V <: Term with Subs[V]](that: V): Func[ProdTyp[U, V], 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 ProdTyp[U, V] toRichTerm[ProdTyp[U, V]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  11. def ::(name: String): PairTerm[U, V]

    symbolic object with given name

    symbolic object with given name

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

    equality type 'term = rhs'

    equality type 'term = rhs'

    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toRichTerm[ProdTyp[U, V]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  14. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def Var(implicit factory: NameFactory): PairTerm[U, V]

    new variable from a factory.

    new variable from a factory.

    Definition Classes
    Typ
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  18. def dependsOn(that: Term): Boolean

    returns whether this depends on that

    returns whether this depends on that

    Definition Classes
    Term
  19. def ensuring(cond: (ProdTyp[U, V]) => Boolean, msg: => Any): ProdTyp[U, V]
    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toEnsuring[ProdTyp[U, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (ProdTyp[U, V]) => Boolean): ProdTyp[U, V]
    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toEnsuring[ProdTyp[U, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: => Any): ProdTyp[U, V]
    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toEnsuring[ProdTyp[U, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): ProdTyp[U, V]
    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toEnsuring[ProdTyp[U, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. val first: Typ[U]
    Definition Classes
    ProdTypAbsPair
  25. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toStringFormat[ProdTyp[U, V]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def indepOf(that: Term): Boolean

    returns whether this is independent of that.

    returns whether this is independent of that.

    Definition Classes
    Term
  28. def induc[W <: Term with Subs[W]](targetFmly: Func[U, Func[V, Typ[W]]]): Func[FuncLike[U, FuncLike[V, W]], FuncLike[PairTerm[U, V], W]]

    Inductively defined function to targetFmly

  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def newobj: ProdTyp[U, V]

    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
    ProdTypSubs
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def obj: PairTerm[U, V]

    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
  35. lazy val paircons: Func[U, Func[V, PairTerm[U, V]]]

    Introduction rule for the product type

  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. lazy val proj1: Func[PairTerm[U, V], U]

    Projection from product

  38. lazy val proj2: Func[PairTerm[U, V], V]

    Projection from product

  39. def rec[W <: Term with Subs[W]](target: Typ[W]): Func[Func[U, Func[V, W]], Func[PairTerm[U, V], W]]

    recursive definition

    recursive definition

    target

    the codomain

  40. def refl: Refl[ProdTyp[U, V]]

    reflexivity term refl : term = term

    reflexivity term refl : term = term

    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toRichTerm[ProdTyp[U, V]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  41. def replace(x: Term, y: Term): ProdTyp[U, V] with Subs[ProdTyp[U, V]]

    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
  42. val second: Typ[V]
    Definition Classes
    ProdTypAbsPair
  43. def subs(x: Term, y: Term): ProdTyp[U, V]

    substitute x by y recursively in this.

    substitute x by y recursively in this.

    Definition Classes
    ProdTypSubs
  44. def sym(implicit name: sourcecode.Name): PairTerm[U, V]

    shortcut for symbolic object

    shortcut for symbolic object

    Definition Classes
    Typ
  45. def symbObj(name: AnySym): PairTerm[U, V] with Subs[PairTerm[U, V]]

    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
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AbsPair → AnyRef → Any
  48. lazy val typ: Universe

    type of a type is a universe.

    type of a type is a universe.

    Definition Classes
    ProdTypTypTerm
  49. lazy val typlevel: Int
    Definition Classes
    Typ
  50. 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
  51. def variable(name: AnySym): 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
    ProdTypTyp
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. def ||[UU >: PairTerm[U, V] <: 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
  56. def ~>:[UU >: PairTerm[U, V] <: 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 the variable, which hence gives a type family; note that a new variable is created and substituted in this to avoid name clashes.

    dependent function type (Pi-Type) define by a lambda: this depends on the variable, which hence gives a type family; note that a new variable is created and substituted in this to avoid name clashes.

    Definition Classes
    Typ
  57. object Elem

    Pattern for element of the given type.

    Pattern for element of the given type.

    Definition Classes
    Typ

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (ProdTyp[U, V], B)
    Implicit
    This member is added by an implicit conversion from ProdTyp[U, V] toArrowAssoc[ProdTyp[U, V]] 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.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AbsPair[Typ[U], Typ[V]]

Inherited from Typ[PairTerm[U, V]]

Inherited from Term

Inherited from Subs[ProdTyp[U, V]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion RichTerm fromProdTyp[U, V] to RichTerm[ProdTyp[U, V]]

Inherited by implicit conversion any2stringadd fromProdTyp[U, V] to any2stringadd[ProdTyp[U, V]]

Inherited by implicit conversion StringFormat fromProdTyp[U, V] to StringFormat[ProdTyp[U, V]]

Inherited by implicit conversion Ensuring fromProdTyp[U, V] to Ensuring[ProdTyp[U, V]]

Inherited by implicit conversion ArrowAssoc fromProdTyp[U, V] to ArrowAssoc[ProdTyp[U, V]]

Ungrouped