Packages

object TermPatterns

Patterns, in the sense of Translator.Pattern, as well as some builders for various kinds of HoTT terms. Includes matching recursively and inductively defined functions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TermPatterns
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val absPair: Pattern[Term, II]

    matches all pairs

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def buildIndDef(inds: (Typ[Term]) => Option[ConstructorSeqTL[_, Term, _]] = (_) => None): (Term, (Term, Vector[Term])) => Option[Term]

    returns inductively defined function as function of domain, codomain and definition data

    returns inductively defined function as function of domain, codomain and definition data

    inds

    inductive types defined (other than products etc)

  7. def buildIndIndDef(inds: (Term) => Option[IndexedConstructorSeqDom[_, Term, _, _, _]] = (_) => None): (Vector[Term], (Term, (Term, Vector[Term]))) => Option[Term]

    returns indexed inductively defined function as function of domain, codomain and definition data

    returns indexed inductively defined function as function of domain, codomain and definition data

    inds

    inductive types defined (other than equality)

  8. def buildIndRecDef(inds: (Term) => Option[IndexedConstructorSeqDom[_, Term, _, _, _]] = (_) => None): (Vector[Term], (Term, (Term, Vector[Term]))) => Option[Term]

    returns indexed recursively defined function as function of domain, codomain and definition data

    returns indexed recursively defined function as function of domain, codomain and definition data

    inds

    indexed inductive types defined (other than equality)

  9. def buildRecDef(inds: (Typ[Term]) => Option[ConstructorSeqTL[_, _, _]] = (_) => None): (Term, (Term, Vector[Term])) => Option[Term]

    returns recursively defined function as function of domain, codomain and definition data

    returns recursively defined function as function of domain, codomain and definition data

    inds

    inductive types defined (other that products etc)

  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. val depPairTerm: Pattern[Term, III]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. val equation: Pattern[Term, II]

    matches identity (equality) type, returns lhs and rhs

  15. val firstIncl: Pattern[Term, II]

    matches i_1(a), the first inclusion function, returns the type and value

  16. def fm[U <: Term with Subs[U]](dom: Typ[U], fmly: Term): Func[U, Typ[_]] forSome {type _ <: Term with Subs[_]}
  17. val foldedTerm: Pattern[Term, IV]
  18. val formalAppln: Pattern[Term, II]

    matches formal applications

  19. val funcTyp: Pattern[Term, II]

    matches function types, returning domain and codomain

  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def getName(sym: AnySym): Option[Name]
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. val hashSymbolic: Pattern[Term, Named]
  24. val identityTyp: Pattern[Term, III]

    matches identity (equality) type, returns domain, lhs and rhs

  25. val indInducFunc: Pattern[Term, IVIIV]

    matches indexed inductively defined function, returns index, domain, codomain and definition data

  26. val indRecFunc: Pattern[Term, IVIIV]

    matches idexed recursively defined function, returns index, domain, codomain and definition data

  27. val inducFunc: Pattern[Term, IIV]

    matches inductively defined function, returns domain, codomain and definition data

  28. def inducFuncApplied(inds: (Typ[Term]) => Option[ConstructorSeqTL[_, Term, _]]): Pattern[Term, Id]
  29. val introIndInducFunc: Pattern[Term, VIVIIV]
  30. val introIndRecFunc: Pattern[Term, VIVIIV]
  31. val introInducFunc: Pattern[Term, VIIV]
  32. val introRecFunc: Pattern[Term, VIIV]
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. val lambdaAppln: Pattern[Term, II]

    matches lambda definitions

  35. val lambdaFixedTriple: Pattern[Term, III]
  36. val lambdaTriple: Pattern[Term, III]

    matches lambda applications and returns HoTT-type of the variable as well

  37. val mereWitness: Pattern[Term, II]
  38. val miscAppln: Pattern[Term, II]
  39. val natAddMorph: Pattern[Term, II]
  40. val natLiteral: Pattern[Term, N]
  41. val natProd: Pattern[Term, Un]
  42. val natSucc: Pattern[Term, Un]
  43. val natSum: Pattern[Term, Un]
  44. val natTyp: Pattern[Term, Un]
  45. val natUniv: Pattern[Term, Un]
  46. val natZero: Pattern[Term, Un]
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. def numberedSymbolic(prefix: String): Pattern[Term, Numbered]
  51. val pairTerm: Pattern[Term, II]
  52. val piLam: Pattern[Term, II]

    matches Pi-Type and returns the fibre as a lambda

  53. val piTriple: Pattern[Term, III]

    matches Pi-Types, returns in the pi-lambda form with the HoTT-type of variable included.

  54. val piTyp: Pattern[Term, Id]

    matches Pi-Type and returns the fibre

  55. val plusTyp: Pattern[Term, II]

    matches coproduct type

  56. val prodTyp: Pattern[Term, II]

    matches product types

  57. val prop: Pattern[Term, Un]

    matches Prop, the false type, returns () : Unit if matched

  58. val propUniv: Pattern[Term, Un]
  59. val recFunc: Pattern[Term, IIV]

    matches recursively defined function, returns domain, codomain and definition data

  60. def recFuncApplied(inds: (Typ[Term]) => Option[ConstructorSeqTL[_, _, _]]): Pattern[Term, Id]
  61. val refl: Pattern[Term, II]
  62. val secondIncl: Pattern[Term, II]

    matches i_2(a), the second inclusion function, returns the type and value

  63. val sigmaLam: Pattern[Term, II]

    matches Sigma-Type and returns fibre as lambda

  64. val sigmaTriple: Pattern[Term, III]

    matches Sigma-Types, returns in the pi-lambda form with the HoTT-type of variable included.

  65. val sigmaTyp: Pattern[Term, Id]

    matches Sigma-Type and returns the fibre

  66. val star: Pattern[Term, Un]

    matches Star, the only element of the true type Unit, returns () : Unit if matched

  67. val stringRep: Pattern[Term, S]
  68. val symName: Pattern[Term, S]

    matches a symbolic name, perhaps wrapped in InnerSym, returns the name as a String

  69. val symString: Pattern[Term, S]
  70. val symbolic: Pattern[Term, Named]

    matches a symbolic name, perhaps wrapped in InnerSym, returns Name

  71. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  72. def termToExpr[E](univ: (Int) => Option[E])(implicit arg0: ExprLang[E]): OrElse[Term, E]
  73. def termToExprRaw[E](implicit arg0: ExprLang[E]): OrElse[Term, E]
  74. def toString(): String
    Definition Classes
    AnyRef → Any
  75. val unit: Pattern[Term, Un]

    matches the true type Unit, returns () : Unit if matched

  76. val universe: Pattern[Term, N]

    matches Universe(n), returns the level n

  77. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  78. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  79. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  80. val zero: Pattern[Term, Un]

    matches Zero, the false type, returns () : Unit if matched

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped