class SymbolicGroup[A] extends ScalaTyp[A]
- Alphabetic
- By Inheritance
- SymbolicGroup
- ScalaTyp
- Typ
- Term
- Subs
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SymbolicGroup()(implicit arg0: Group[A])
Type Members
- type LocalTerm = RepTerm[A]
- case class MultLiteral(a: A) extends Func[LocalTerm, LocalTerm] with MiscAppln with Product with Serializable
- case class MultTerm(a: LocalTerm) extends Func[LocalTerm, LocalTerm] with MiscAppln with Product with Serializable
- type Obj = RepTerm[A]
scala type of objects with this HoTT-type (refining
U
) - type Op = Func[LocalTerm, Func[LocalTerm, LocalTerm]]
Value Members
- object Elem
Pattern for element of the given type.
Pattern for element of the given type.
- Definition Classes
- Typ
- def !:(term: Term): RepTerm[A]
checks term is of this type and returns it; useful for documentation.
checks term is of this type and returns it; useful for documentation.
- Definition Classes
- Typ
- def &&[UU >: RepTerm[A] <: Term with Subs[UU], V <: Term with Subs[V]](that: Typ[V]): ProdTyp[UU, V]
returns product type, mainly to use for "and" for structures
returns product type, mainly to use for "and" for structures
- Definition Classes
- Typ
- def &:[UU >: RepTerm[A] <: Term with Subs[UU], V <: Term with Subs[V]](variable: V): SigmaTyp[V, UU]
- Definition Classes
- Typ
- def ++[UU >: Typ[RepTerm[A]] <: Typ[Term] with Subs[UU], VV <: Term with Subs[VV], V <: Typ[VV] with Subs[V]](those: V): SigmaTyp[UU, VV]
returns Sigma-Type, mainly to use as "such that", for example a group type is this with product etc.
returns Sigma-Type, mainly to use as "such that", for example a group type is this with product etc. dependent on this.
- Definition Classes
- Typ
- def ->:[W <: Term with Subs[W], UU >: RepTerm[A] <: Term with Subs[UU]](that: Typ[W]): FuncTyp[W, UU]
function type:
this -> that
function type:
this -> that
- Definition Classes
- Typ
- def ::(name: String): RepTerm[A]
symbolic object with given name
symbolic object with given name
- Definition Classes
- Typ
- def Var(implicit factory: NameFactory): RepTerm[A]
new variable from a factory.
new variable from a factory.
- Definition Classes
- Typ
- def dependsOn(that: Term): Boolean
returns whether
this
depends onthat
returns whether
this
depends onthat
- Definition Classes
- Term
- val e: RepTerm[A]
- val g: RepTerm[A]
- val group: Group[A]
- implicit val groupStructure: Group[LocalTerm]
- val h: RepTerm[A]
- def indepOf(that: Term): Boolean
returns whether
this
is independent ofthat
.returns whether
this
is independent ofthat
.- Definition Classes
- Term
- val lm: Func[RepTerm[A], Func[RepTerm[A], RepTerm[A]]]
- def newobj: Typ[RepTerm[A]]
A new object with the same type, to be used in place of a variable to avoid name clashes.
- def obj: RepTerm[A]
factory for producing objects of the given type.
factory for producing objects of the given type. can use {{innervar}} if one wants name unchanged.
- Definition Classes
- Typ
- val power: Func[RepTerm[A], Func[NatRing.LocalTerm, RepTerm[A]]]
- implicit val rep: ScalaRep[RepTerm[A], A]
- Definition Classes
- ScalaTyp
- def replace(x: Term, y: Term): Typ[RepTerm[A]] with Subs[Typ[RepTerm[A]]]
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
- val rm: Func[RepTerm[A], Func[RepTerm[A], RepTerm[A]]]
- def subs(x: Term, y: Term): Typ[RepTerm[A]]
substitute x by y recursively in
this
. - def sym(implicit name: Name): RepTerm[A]
shortcut for symbolic object
shortcut for symbolic object
- Definition Classes
- Typ
- def symbObj(name: AnySym): RepTerm[A] with Subs[RepTerm[A]]
A symbolic object with this HoTT type, and with scala-type Obj
A symbolic object with this HoTT type, and with scala-type Obj
- Definition Classes
- Typ
- val typ: ScalaTypUniv[A]
type of a type is a universe.
- lazy val typlevel: Int
- Definition Classes
- Typ
- 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
- def variable(name: AnySym): RepTerm[A]
A symbolic object with this HoTT type, and with scala-type Obj
- def ||[UU >: RepTerm[A] <: Term with Subs[UU], V <: Term with Subs[V]](that: Typ[V]): PlusTyp[UU, V]
returns coproduct type, mainly to use for "or".
returns coproduct type, mainly to use for "or".
- Definition Classes
- Typ
- def ~>:[UU >: RepTerm[A] <: Term with Subs[UU], V <: Term with Subs[V]](variable: V): GenFuncTyp[V, UU]
dependent function type (Pi-Type) define by a lambda:
this
depends on thevariable
, which hence gives a type family; note that a new variable is created and substituted inthis
to avoid name clashes.dependent function type (Pi-Type) define by a lambda:
this
depends on thevariable
, which hence gives a type family; note that a new variable is created and substituted inthis
to avoid name clashes.- Definition Classes
- Typ
- object Comb
- object Literal extends ScalaSym[LocalTerm, A]
- object Theorems
- case object inv extends Func[LocalTerm, LocalTerm] with Product with Serializable
- case object mul extends Func[LocalTerm, Func[LocalTerm, LocalTerm]] with Product with Serializable