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. def ++(that: Context): Context
    Definition Classes
    Context
  2. def addConstant[U <: Term with Subs[U]](const: U): AppendConstant[U]
    Definition Classes
    Context
  3. def addVariable[U <: Term with Subs[U]](variable: U): AppendVariable[U]
    Definition Classes
    Context
  4. def apply(kvs: (String, Term)*): Context
    Definition Classes
    Context
  5. def assert(tp: Typ[Term]): AppendTerm[Typ[Term]]
    Definition Classes
    Context
  6. def assume(tp: Typ[Term], text: String = "assumption"): AppendConstant[Term]
    Definition Classes
    Context
  7. def consider(ts: Term*): Context
    Definition Classes
    Context
  8. val constant: U
  9. val constants: Vector[Term]
    Definition Classes
    AppendConstantContext
  10. def define[U <: Term with Subs[U]](name: Term, value: U): AppendDefn[U]
    Definition Classes
    Context
  11. def defineInduc(ind: ExstInducStrucs): AppendIndDef
    Definition Classes
    Context
  12. def defineSym[U <: Term with Subs[U]](name: AnySym, value: U): AppendDefn[U]
    Definition Classes
    Context
  13. val definitions: Vector[Defn[Term]]
    Definition Classes
    AppendConstantContext
  14. def export(t: Term): Term
    Definition Classes
    AppendConstantContext
  15. def exportStrict(t: Term): Term
    Definition Classes
    AppendConstantContext
  16. def exportTyp(t: Typ[Term]): Typ[Term]
    Definition Classes
    AppendConstantContext
  17. def exportTypStrict(typ: Typ[Term]): Typ[Term]
    Definition Classes
    AppendConstantContext
  18. val exportVariables: Vector[Term]
    Definition Classes
    AppendConstantContext
  19. def given[U <: Term with Subs[U]](v: Term): Context
    Definition Classes
    Context
  20. def importOpt(t: Term): Option[Term]
    Definition Classes
    AppendConstantContext
  21. def importTypOpt(t: Typ[Term]): Option[Typ[Term]]
    Definition Classes
    AppendConstantContext
  22. lazy val inducStruct: ExstInducStrucs
    Definition Classes
    Context
  23. val inductiveDefns: Vector[ExstInducStrucs]
    Definition Classes
    AppendConstantContext
  24. val init: Context
  25. def introduce[U <: Term with Subs[U]](t: U, role: Role = Consider): AppendTerm[U]
    Definition Classes
    Context
  26. def let[U <: Term with Subs[U]](name: Term, value: U): AppendDefn[U]
    Definition Classes
    Context
  27. lazy val namedTerms: Map[String, Term]
    Definition Classes
    Context
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  29. val statements: Vector[String]
    Definition Classes
    AppendConstantContext
  30. def subs(x: Term, y: Term): AppendConstant[U with Subs[U]]
    Definition Classes
    AppendConstantContext
  31. val terms: Vector[Term]
    Definition Classes
    AppendConstantContext
  32. def toString(): String
    Definition Classes
    Context → AnyRef → Any
  33. val valueOpt: Option[Term]
    Definition Classes
    AppendConstantContext
  34. val variables: Vector[Term]
    Definition Classes
    AppendConstantContext