Packages

case class LambdaFixed[X <: Term with Subs[X], Y <: Term with Subs[Y]](variable: X, value: Y) extends LambdaLike[X, Y] with Func[X, Y] with Subs[LambdaFixed[X, Y]] with Product with Serializable

lambda which is known to be pure, i.e., have fixed codomain; this is reflected in its scala class; one should usually not use the constructor of this case class, instead use the function lambda or the syntactic sugar for this, e.g.

val f = x :-> y

this creates a new variable to avoid name collisions.

Note

that this construction gives a runtime error if the type of y depends on x.

Linear Supertypes
Serializable, Product, Equals, Func[X, Y], LambdaLike[X, Y], FuncLike[X, Y], (X) => Y, Term, Subs[LambdaFixed[X, Y]], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LambdaFixed
  2. Serializable
  3. Product
  4. Equals
  5. Func
  6. LambdaLike
  7. FuncLike
  8. Function1
  9. Term
  10. Subs
  11. AnyRef
  12. Any
Implicitly
  1. by UnliftOps
  2. by RichTerm
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LambdaFixed(variable: X, value: Y)

Type Members

  1. type Cod = Y
    Definition Classes
    LambdaLike
  2. type D = X
    Definition Classes
    LambdaLike
  3. abstract type Obj <: FuncLike[X, Y]
    Definition Classes
    FuncLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toany2stringadd[LambdaFixed[X, Y]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LambdaFixed[X, Y], B)
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toArrowAssoc[LambdaFixed[X, Y]] performed by method ArrowAssoc in scala.Predef.This conversion will take place only if Y is a subclass of Option[Nothing] (Y <: Option[Nothing]).
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def :->[V <: Term with Subs[V]](that: V): Func[LambdaFixed[X, Y], 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 LambdaFixed[X, Y] toRichTerm[LambdaFixed[X, Y]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  6. def :~>[V <: Term with Subs[V]](that: V): FuncLike[LambdaFixed[X, Y], 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 LambdaFixed[X, Y] toRichTerm[LambdaFixed[X, Y]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  7. def =:=(rhs: LambdaFixed[X, Y]): IdentityTyp[LambdaFixed[X, Y]]

    equality type 'term = rhs'

    equality type 'term = rhs'

    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toRichTerm[LambdaFixed[X, Y]] performed by method RichTerm in provingground.HoTT.
    Definition Classes
    RichTerm
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def act(arg: X): Y

    the action of the function to define: define this method, but use apply.

    the action of the function to define: define this method, but use apply.

    Definition Classes
    LambdaLikeFuncLike
  10. def andThen[A](g: (Y) => A): (X) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. def andthen[Z <: Term with Subs[Z]](f: (Y) => Z): LambdaTerm[X, Z]
    Definition Classes
    LambdaLike
  12. def apply(arg: X): Y

    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.

    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.

    Definition Classes
    FuncLike → Function1
  13. def applyUnchecked(arg: X): Y
    Definition Classes
    FuncLike
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def canApply(arg: X): 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
    LambdaLikeFuncLike
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  17. val codom: Typ[Y]

    codomain

    codomain

    Definition Classes
    LambdaFixedFunc
  18. def compose[A](g: (A) => X): (A) => Y
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  19. val dep: Boolean
    Definition Classes
    LambdaFixedLambdaLike
  20. val depcodom: (X) => Typ[Y]
    Definition Classes
    FuncFuncLike
  21. def dependsOn(that: Term): Boolean

    returns whether this depends on that

    returns whether this depends on that

    Definition Classes
    Term
  22. lazy val dom: Typ[X]

    domain

    domain

    Definition Classes
    LambdaFixedFuncLambdaLikeFuncLike
  23. def ensuring(cond: (LambdaFixed[X, Y]) => Boolean, msg: => Any): LambdaFixed[X, Y]
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toEnsuring[LambdaFixed[X, Y]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: (LambdaFixed[X, Y]) => Boolean): LambdaFixed[X, Y]
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toEnsuring[LambdaFixed[X, Y]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean, msg: => Any): LambdaFixed[X, Y]
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toEnsuring[LambdaFixed[X, Y]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean): LambdaFixed[X, Y]
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toEnsuring[LambdaFixed[X, Y]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(that: Any): Boolean
    Definition Classes
    LambdaLike → AnyRef → Any
  29. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toStringFormat[LambdaFixed[X, Y]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. lazy val hashCode: Int
    Definition Classes
    LambdaLike → AnyRef → Any
  32. def indepOf(that: Term): Boolean

    returns whether this is independent of that.

    returns whether this is independent of that.

    Definition Classes
    Term
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def newobj: LambdaFixed[X, Y]

    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
    LambdaFixedSubs
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def productElementNames: Iterator[String]
    Definition Classes
    Product
  39. def refl: Refl[LambdaFixed[X, Y]]

    reflexivity term refl : term = term

    reflexivity term refl : term = term

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

    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
  41. def subs(x: Term, y: Term): LambdaFixed[X, Y]

    substitute x by y recursively in this.

    substitute x by y recursively in this.

    Definition Classes
    LambdaFixedFuncLambdaLikeFuncLikeSubs
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    LambdaLike → Function1 → AnyRef → Any
  44. lazy val typ: FuncTyp[X, Y]

    the HoTT-type of the term

    the HoTT-type of the term

    Definition Classes
    LambdaFixedFuncLambdaLikeFuncLikeTerm
  45. def unlift: PartialFunction[X, B]
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toUnliftOps[X, B] performed by method UnliftOps in scala.Function1.This conversion will take place only if Y is a subclass of Option[B] (Y <: Option[B]).
    Definition Classes
    UnliftOps
  46. 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
    LambdaLikeTerm
  47. val value: Y

    the value y in the lambda definition x mapsto y

    the value y in the lambda definition x mapsto y

    Definition Classes
    LambdaFixedLambdaLike
  48. val variable: X

    the variable x in the lambda definition x \mapsto y

    the variable x in the lambda definition x \mapsto y

    Definition Classes
    LambdaFixedLambdaLike
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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): (LambdaFixed[X, Y], B)
    Implicit
    This member is added by an implicit conversion from LambdaFixed[X, Y] toArrowAssoc[LambdaFixed[X, Y]] performed by method ArrowAssoc in scala.Predef.This conversion will take place only if Y is a subclass of Option[Nothing] (Y <: Option[Nothing]).
    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 Func[X, Y]

Inherited from LambdaLike[X, Y]

Inherited from FuncLike[X, Y]

Inherited from (X) => Y

Inherited from Term

Inherited from Subs[LambdaFixed[X, Y]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion UnliftOps fromLambdaFixed[X, Y] to UnliftOps[X, B]

Inherited by implicit conversion RichTerm fromLambdaFixed[X, Y] to RichTerm[LambdaFixed[X, Y]]

Inherited by implicit conversion any2stringadd fromLambdaFixed[X, Y] to any2stringadd[LambdaFixed[X, Y]]

Inherited by implicit conversion StringFormat fromLambdaFixed[X, Y] to StringFormat[LambdaFixed[X, Y]]

Inherited by implicit conversion Ensuring fromLambdaFixed[X, Y] to Ensuring[LambdaFixed[X, Y]]

Inherited by implicit conversion ArrowAssoc fromLambdaFixed[X, Y] to ArrowAssoc[LambdaFixed[X, Y]]

Ungrouped