case class PosLiteral(a: Rational) extends PosWit with Product with Serializable
- Alphabetic
- By Inheritance
- PosLiteral
- Serializable
- Product
- Equals
- PosWit
- Term
- Subs
- AnyRef
- Any
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PosLiteral(a: Rational)
Value Members
- def +(that: PosWit): PosWitSum
- Definition Classes
- PosWit
- def <(that: PosLiteral): Boolean
- Implicit
- This member is added by an implicit conversion from PosLiteral toOrdered[PosLiteral] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[PosLiteral] is in scope.
- Definition Classes
- Ordered
- def <=(that: PosLiteral): Boolean
- Implicit
- This member is added by an implicit conversion from PosLiteral toOrdered[PosLiteral] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[PosLiteral] is in scope.
- Definition Classes
- Ordered
- def >(that: PosLiteral): Boolean
- Implicit
- This member is added by an implicit conversion from PosLiteral toOrdered[PosLiteral] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[PosLiteral] is in scope.
- Definition Classes
- Ordered
- def >=(that: PosLiteral): Boolean
- Implicit
- This member is added by an implicit conversion from PosLiteral toOrdered[PosLiteral] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[PosLiteral] is in scope.
- Definition Classes
- Ordered
- val a: Rational
- def compare(that: PosLiteral): Int
- Implicit
- This member is added by an implicit conversion from PosLiteral toOrdered[PosLiteral] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[PosLiteral] is in scope.
- Definition Classes
- Ordered
- def compareTo(that: PosLiteral): Int
- Implicit
- This member is added by an implicit conversion from PosLiteral toOrdered[PosLiteral] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type Ordering[PosLiteral] is in scope.
- Definition Classes
- Ordered → Comparable
- def dependsOn(that: Term): Boolean
returns whether
this
depends onthat
returns whether
this
depends onthat
- Definition Classes
- Term
- def indepOf(that: Term): Boolean
returns whether
this
is independent ofthat
.returns whether
this
is independent ofthat
.- Definition Classes
- Term
- def newobj: PosLiteral
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
- PosLiteral → Subs
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def replace(x: Term, y: Term): PosWit with Subs[PosWit]
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
- def subs(x: Term, y: Term): PosLiteral
substitute x by y recursively in
this
.substitute x by y recursively in
this
.- Definition Classes
- PosLiteral → Subs
- lazy val typ: Pos
the HoTT-type of the term
- 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
- val value: QField.LocalTerm
- Definition Classes
- PosLiteral → PosWit