OpenMath Content Dictionary: monoid1

Canonical URL:
http://www.openmath.org/cd/monoid1.ocd
CD Base:
http://www.openmath.org/cd
CD File:
monoid1.ocd
CD as XML Encoded OpenMath:
monoid1.omcd
Defines:
carrier, divisor_of, expression, identity, invertibles, is_commutative, is_invertible, is_submonoid, monoid, multiplication, semigroup, submonoid
Date:
2004-06-01
Version:
3 (Revision 2)
Review Date:
2006-06-01
Status:
experimental

Basic functions for monoid theory

Initiated by Arjeh M. Cohen 2003-05-17
Edited by AMC 2004-03-02

monoid

Description:

This symbol is a constructor for monoids. It takes three arguments in the following order: a set to specify the elements in the monoid, a binary operation to specify the monoid operation, and an element to specify the identity. The binary operation should act on elements of the set and return an element of the set.

Commented Mathematical property (CMP):
A monoid is closed under its operation. A monoid operation is associative. A monoid has an identity element.
Formal Mathematical property (FMP):
M = monoid ( set , binop , elt ) ( x set y set binop ( x , y ) set ) binop ( x , binop ( y , z ) ) = binop ( binop ( x , y ) , z ) elt set x . x set binop ( elt , x ) = x binop ( x , elt ) = x
Example:
This example represents the monoid which has as elements all positive and negative even numbers, the monoid operation is binary addition, inverses are the negative of the element and the identity is the zero element.
monoid ( { x Z | x 2 Z } , + , 0 )
Signatures:
sts


[Next: carrier] [Last: expression] [Top]

carrier

Description:

This symbol represents a unary function, whose argument should be a monoid M (for instance constructed by monoid). When applied to M, its value should be the set of elements of a monoid.

Example:
The carrier of monoid(M,*,e) is M.
carrier ( monoid ( M , times , e ) ) = M
Signatures:
sts


[Next: multiplication] [Previous: monoid] [Top]

multiplication

Description:

This symbol represents a unary function, whose argument should be a monoid M. It returns the multiplication map on M. We allow for the map to be n-ary.

Example:
The multiplication of monoid(M,*,e) is *.
multiplication ( monoid ( M , times , e ) ) = times
Example:
The product a_1 * ... * a_n of elements a_1, ..., a_n of M can be expressed as follows.
apply_to_list ( ( multiplication ( M ) ) ( list_of_lengthn ( n , a ) ) )
Signatures:
sts


[Next: identity] [Previous: carrier] [Top]

identity

Description:

This symbols represents a unary function, whose argument should be a monoid. It returns the identity element of the monoid.

Example:
The identity of monoid(M,*,e) is e.
identity ( monoid ( M , times , e ) ) = e
Signatures:
sts


[Next: is_commutative] [Previous: multiplication] [Top]

is_commutative

Description:

The unary boolean function whose value is true iff the argument is a commutative monoid.

Commented Mathematical property (CMP):
If is_commutative(M) then for all a,b in carrier(M) a*b = b*a
Formal Mathematical property (FMP):
is_commutative ( M ) a , b . a carrier ( M ) b carrier ( M ) multiplication ( M ) = a = b
Signatures:
sts


[Next: is_invertible] [Previous: identity] [Top]

is_invertible

Description:

This symbol represents a binary function, whose first argument is a monoid M and whose second argument is an element x of M. Its value is true iff the argument if x is invertible (that is, has a left and a right inverse) in M.

Commented Mathematical property (CMP):
x is invertible in M if and only if there is a in carrier(M) with a*x = x*a = 1.
Formal Mathematical property (FMP):
is_invertible ( M , x ) a . a carrier ( M ) ( multiplication ( M ) ) ( x , a ) = identity ( M ) ( multiplication ( M ) ) ( a , x ) = identity ( M )
Signatures:
sts


[Next: is_submonoid] [Previous: is_commutative] [Top]

is_submonoid

Description:

The binary boolean function whose value is true iff the second argument is a submonoid of the second.

Commented Mathematical property (CMP):
If is_submonoid(M,N) then N is a nonempty set of elements of M and N is closed under multiplication and taking inverses.
Signatures:
sts


[Next: semigroup] [Previous: is_invertible] [Top]

semigroup

Description:

This symbol is a unary function, whose argument should be a monoid M. When applied to M its value is the semigroup underlying M.

Example:
semigroup ( M )
Signatures:
sts


[Next: submonoid] [Previous: is_submonoid] [Top]

submonoid

Description:

This symbol is a constructor symbol with two arguments. The first argument is a monoid M, the second a list or set, D, of elements of M. When applied to M and D, it denotes the submonoid of M generated by D.

Example:
submonoid ( M , D )
Example:
This example represents the submonoid of the multiplicative monoid of the nonzero reals generated by the constants Pi and E:
monoid ( monoid ( { x R | x 0 } , × ) , ( π , e ) )
Signatures:
sts


[Next: invertibles] [Previous: semigroup] [Top]

invertibles

Description:

This symbol is a unary function. Its argument should be a monoid M. When applied to M, it denotes the submonoid of M consisting of all invertible elements in M. This is a group.

Example:
invertibles ( M )
Signatures:
sts


[Next: divisor_of] [Previous: submonoid] [Top]

divisor_of

Description:

This symbol is a ternary function. Its first argument should be a monoid M and the second and third arguments should be elements of M. When applied to M, a, and b, it denotes the fact that a is a divisor of b in M. This means that there are u,v in carrier(M) such that uav=b.

Example:
divisor_of ( M , a , b )
Signatures:
sts


[Next: expression] [Previous: invertibles] [Top]

expression

Description:

This symbol is a function with two arguments. Its first argument should be a monoid. The second should be an arithmetic expression A, whose operators are times and power, and whose leaves are members of the carrier of G. The second argument of power should be nonnegative. When applied to G and A, it denotes the element (of G) that is obtained from the leaves of A by applying the multiplication and the power map of G instead of the times and power from the CD arith1 appearing in A. The symbol alg1.one occurring in A will be interpreted as the identity of G.

Example:
expression ( monoid ( Z , + , 0 ) , 4 × 3 ) = 7
Signatures:
sts


[First: monoid] [Previous: divisor_of] [Top]