Packages

  • package root
    Definition Classes
    root
  • package provingground

    This is work towards automated theorem proving based on learning, using homotopy type theory (HoTT) as foundations and natural language processing.

    This is work towards automated theorem proving based on learning, using homotopy type theory (HoTT) as foundations and natural language processing.

    The implementation of homotopy type theory is split into:

    • the object HoTT with terms, types, functions and dependent functions, pairs etc
    • the package induction with general inductive types and recursion/induction on these.

    The learning package has the code for learning.

    Scala code, including the spire library, is integrated with homotopy type theory in the scalahott package

    We have implemented a functor based approach to translation in the translation package, used for nlp as well as serialization and parsing.

    The library package is contains basic structures implemented in HoTT.

    Definition Classes
    root
  • object Context
    Definition Classes
    provingground
  • AppendConstant
  • AppendDefn
  • AppendIndDef
  • AppendTerm
  • AppendVariable
  • Assert
  • Consider
  • Defn
  • Empty
  • Role
c

provingground.Context

AppendConstant

case class AppendConstant[U <: Term with Subs[U]](init: Context, constant: U) extends Context with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Context, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AppendConstant
  2. Serializable
  3. Product
  4. Equals
  5. Context
  6. AnyRef
  7. 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 AppendConstant(init: Context, constant: U)

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 AppendConstant[U] toany2stringadd[AppendConstant[U]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++(that: Context): Context
    Definition Classes
    Context
  5. def ->[B](y: B): (AppendConstant[U], B)
    Implicit
    This member is added by an implicit conversion from AppendConstant[U] toArrowAssoc[AppendConstant[U]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def addConstant[U <: Term with Subs[U]](const: U): AppendConstant[U]
    Definition Classes
    Context
  8. def addVariable[U <: Term with Subs[U]](variable: U): AppendVariable[U]
    Definition Classes
    Context
  9. def apply(kvs: (String, Term)*): Context
    Definition Classes
    Context
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def assert(tp: Typ[Term]): AppendTerm[Typ[Term]]
    Definition Classes
    Context
  12. def assume(tp: Typ[Term], text: String = "assumption"): AppendConstant[Term]
    Definition Classes
    Context
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. def consider(ts: Term*): Context
    Definition Classes
    Context
  15. val constant: U
  16. val constants: Vector[Term]
    Definition Classes
    AppendConstantContext
  17. def define[U <: Term with Subs[U]](name: Term, value: U): AppendDefn[U]
    Definition Classes
    Context
  18. def defineInduc(ind: ExstInducStrucs): AppendIndDef
    Definition Classes
    Context
  19. def defineSym[U <: Term with Subs[U]](name: AnySym, value: U): AppendDefn[U]
    Definition Classes
    Context
  20. val definitions: Vector[Defn[Term]]
    Definition Classes
    AppendConstantContext
  21. def ensuring(cond: (AppendConstant[U]) => Boolean, msg: => Any): AppendConstant[U]
    Implicit
    This member is added by an implicit conversion from AppendConstant[U] toEnsuring[AppendConstant[U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: (AppendConstant[U]) => Boolean): AppendConstant[U]
    Implicit
    This member is added by an implicit conversion from AppendConstant[U] toEnsuring[AppendConstant[U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean, msg: => Any): AppendConstant[U]
    Implicit
    This member is added by an implicit conversion from AppendConstant[U] toEnsuring[AppendConstant[U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean): AppendConstant[U]
    Implicit
    This member is added by an implicit conversion from AppendConstant[U] toEnsuring[AppendConstant[U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def export(t: Term): Term
    Definition Classes
    AppendConstantContext
  27. def exportStrict(t: Term): Term
    Definition Classes
    AppendConstantContext
  28. def exportTyp(t: Typ[Term]): Typ[Term]
    Definition Classes
    AppendConstantContext
  29. def exportTypStrict(typ: Typ[Term]): Typ[Term]
    Definition Classes
    AppendConstantContext
  30. val exportVariables: Vector[Term]
    Definition Classes
    AppendConstantContext
  31. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AppendConstant[U] toStringFormat[AppendConstant[U]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def given[U <: Term with Subs[U]](v: Term): Context
    Definition Classes
    Context
  34. def importOpt(t: Term): Option[Term]
    Definition Classes
    AppendConstantContext
  35. def importTypOpt(t: Typ[Term]): Option[Typ[Term]]
    Definition Classes
    AppendConstantContext
  36. lazy val inducStruct: ExstInducStrucs
    Definition Classes
    Context
  37. val inductiveDefns: Vector[ExstInducStrucs]
    Definition Classes
    AppendConstantContext
  38. val init: Context
  39. def introduce[U <: Term with Subs[U]](t: U, role: Role = Consider): AppendTerm[U]
    Definition Classes
    Context
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. def let[U <: Term with Subs[U]](name: Term, value: U): AppendDefn[U]
    Definition Classes
    Context
  42. lazy val namedTerms: Map[String, Term]
    Definition Classes
    Context
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def productElementNames: Iterator[String]
    Definition Classes
    Product
  47. val statements: Vector[String]
    Definition Classes
    AppendConstantContext
  48. def subs(x: Term, y: Term): AppendConstant[U with Subs[U]]
    Definition Classes
    AppendConstantContext
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. val terms: Vector[Term]
    Definition Classes
    AppendConstantContext
  51. def toString(): String
    Definition Classes
    Context → AnyRef → Any
  52. val valueOpt: Option[Term]
    Definition Classes
    AppendConstantContext
  53. val variables: Vector[Term]
    Definition Classes
    AppendConstantContext
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. 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): (AppendConstant[U], B)
    Implicit
    This member is added by an implicit conversion from AppendConstant[U] toArrowAssoc[AppendConstant[U]] 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 Context

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromAppendConstant[U] to any2stringadd[AppendConstant[U]]

Inherited by implicit conversion StringFormat fromAppendConstant[U] to StringFormat[AppendConstant[U]]

Inherited by implicit conversion Ensuring fromAppendConstant[U] to Ensuring[AppendConstant[U]]

Inherited by implicit conversion ArrowAssoc fromAppendConstant[U] to ArrowAssoc[AppendConstant[U]]

Ungrouped