Packages

case class AddTerm(x: LocalTerm) extends Func[LocalTerm, LocalTerm] with MiscAppln with Product with Serializable

returns function x + _ where x is not a literal and is indecomposable under sum

Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddTerm
  2. Serializable
  3. Product
  4. Equals
  5. MiscAppln
  6. Func
  7. FuncLike
  8. Function1
  9. Term
  10. Subs
  11. AnyRef
  12. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AddTerm(x: LocalTerm)

Type Members

  1. abstract type Obj <: FuncLike[LocalTerm, LocalTerm]
    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 AddTerm toany2stringadd[AddTerm] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AddTerm, B)
    Implicit
    This member is added by an implicit conversion from AddTerm toArrowAssoc[AddTerm] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def act(y: LocalTerm): LocalTerm

    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
    AddTermFuncFuncLike
  7. def andThen[A](g: (LocalTerm) => A): (LocalTerm) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def apply(arg: LocalTerm): LocalTerm

    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
  9. def applyUnchecked(arg: LocalTerm): LocalTerm
    Definition Classes
    FuncLike
  10. val arg: LocalTerm
    Definition Classes
    AddTermMiscAppln
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def canApply(arg: LocalTerm): 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
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. val codom: LocalTyp.type

    codomain

    codomain

    Definition Classes
    AddTermFunc
  15. def compose[A](g: (A) => LocalTerm): (A) => LocalTerm
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  16. val depcodom: (LocalTerm) => Typ[LocalTerm]
    Definition Classes
    FuncFuncLike
  17. def dependsOn(that: Term): Boolean

    returns whether this depends on that

    returns whether this depends on that

    Definition Classes
    Term
  18. val dom: LocalTyp.type

    domain

    domain

    Definition Classes
    AddTermFuncFuncLike
  19. def ensuring(cond: (AddTerm) => Boolean, msg: => Any): AddTerm
    Implicit
    This member is added by an implicit conversion from AddTerm toEnsuring[AddTerm] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (AddTerm) => Boolean): AddTerm
    Implicit
    This member is added by an implicit conversion from AddTerm toEnsuring[AddTerm] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: => Any): AddTerm
    Implicit
    This member is added by an implicit conversion from AddTerm toEnsuring[AddTerm] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): AddTerm
    Implicit
    This member is added by an implicit conversion from AddTerm toEnsuring[AddTerm] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AddTerm toStringFormat[AddTerm] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  25. val func: sum.type
    Definition Classes
    AddTermMiscAppln
  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. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def newobj: Func[LocalTerm, LocalTerm]

    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
    AddTermSubs
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def productElementNames: Iterator[String]
    Definition Classes
    Product
  34. def replace(x: Term, y: Term): Func[LocalTerm, LocalTerm] with Subs[Func[LocalTerm, LocalTerm]]

    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
  35. def subs(x: Term, y: Term): AddTerm

    substitute x by y recursively in this.

    substitute x by y recursively in this.

    Definition Classes
    AddTermFuncFuncLikeSubs
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AddTerm → Function1 → AnyRef → Any
  38. val typ: FuncTyp[LocalTerm, LocalTerm]

    the HoTT-type of the term

    the HoTT-type of the term

    Definition Classes
    AddTermFuncFuncLikeTerm
  39. 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
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. val x: LocalTerm

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): (AddTerm, B)
    Implicit
    This member is added by an implicit conversion from AddTerm toArrowAssoc[AddTerm] 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 MiscAppln

Inherited from Func[LocalTerm, LocalTerm]

Inherited from FuncLike[LocalTerm, LocalTerm]

Inherited from (LocalTerm) => LocalTerm

Inherited from Term

Inherited from Subs[Func[LocalTerm, LocalTerm]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromAddTerm to any2stringadd[AddTerm]

Inherited by implicit conversion StringFormat fromAddTerm to StringFormat[AddTerm]

Inherited by implicit conversion Ensuring fromAddTerm to Ensuring[AddTerm]

Inherited by implicit conversion ArrowAssoc fromAddTerm to ArrowAssoc[AddTerm]

Ungrouped