cngr | R Documentation |
Find the congruence relations of a given abstract or a partially ordered semigroup.
cngr(S, PO = NULL, uniq)
S |
an object from the ‘ |
PO |
(optional) the partial order table |
uniq |
(optional and logical) whether or not return the unique congruence relations |
Congruencies are equivalence relations that preserve the operation between the correspondent classes in the algebraic structure. In this case, the different congruence classes are based on the substitution property of the semigroup object.
An object of ‘Congruence
’ class.
The items included are:
S |
semigroup of relations |
PO |
partial order table (if specified) |
clu |
congruence classes |
If the partial order is supplied in the input, then the computation of the congruence classes is slightly faster than for an abstract semigroup.
Antonio Rivero Ostoic
Hartmanis, J. and R.E. Stearns Algebraic Structure Theory of Sequential Machines. Prentice-Hall. 1966.
decomp
, fact
, pacnet
# create the data: two binary relations among three elements
arr <- round( replace( array(runif(18), c(3,3,2)), array(runif(18),
c(3,3,2))>.5, 1 ) )
# record the abstract semigroup of 'arr'
S <- arr |> semigroup()
# look at the congruences in S
cngr(S, PO = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.