Skip to content

attr: Add NambooripadPartialOrder & Leq methods#467

Merged
james-d-mitchell merged 1 commit intosemigroups:masterfrom
ChristopherRussell:NambooripadPO
Mar 23, 2018
Merged

attr: Add NambooripadPartialOrder & Leq methods#467
james-d-mitchell merged 1 commit intosemigroups:masterfrom
ChristopherRussell:NambooripadPO

Conversation

@ChristopherRussell
Copy link
Collaborator

@ChristopherRussell ChristopherRussell commented Mar 22, 2018

The Nambooripad partial order is a generalization of the natural partial
order for inverse semigroups to the class of regular semigroups. These
functions are modelled on the fallback methods for NaturalPartialOrder
and NaturalLeqInverseSemigroup. As I do not have a current use for this,
I haven't specialized the methods for any particular representations of
regular semigroups.

The order is defined on a regular semigroup by is x <= y if the respective
R-classes satisfy R_x <= R_y, and there is an idempotent e in R_x such
that x = e * y.

Copy link
Collaborator

@james-d-mitchell james-d-mitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, there are a couple of typos that you should correct (as indicated). The only substantive comment I have is that you should install a method for NambooripadWhatever for IsInverseSemigroup which just returns the natural partial order, since the Nambooripad order is a generalisation of this.

doc/attr.xml Outdated
<A>S</A> is defined by <C>s</C><M>\leq</M><C>t</C> if the principal right
ideal of <C>S</C> generated by <C>s</C> is contained in the principal right
ideal of <C>S</C> generated by <C>t</C> and there is an idempotent
<C>e</C> in the R-class of <C>s</C> such that <C>s</C><M>=</M><C>et</C>. The
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be &R;-class so that it is displayed correctly.

doc/attr.xml Outdated
<Attr Name="NambooripadPartialOrder" Arg="S"/>
<Returns>The Nambooripad partial order on an regular semigroup.</Returns>
<Description>
The <E>Nambooripad partial order</E> <M>\leq</M> on an regular semigroup
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"an regular" -> "a regular"

doc/attr.xml Outdated
ideal of <C>S</C> generated by <C>t</C> and there is an idempotent
<C>e</C> in the R-class of <C>s</C> such that <C>s</C><M>=</M><C>et</C>. The
Nambooripad partial order coincides with the natural partial order when
considering inverse semigroups.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a reference to NaturalPartialOrder here?

"the argument is not a finite semigroup,");
elif not IsRegularSemigroup(S) then
ErrorNoReturn("Semigroups: NambooripadPartialOrder: usage,\n",
"the argument is not an inverse semigroup,");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"an inverse" -> "a regular"


if not IsRegularSemigroup(S) then
ErrorNoReturn("Semigroups: NambooripadLeqRegularSemigroup: usage,\n",
"the argument is not an inverse semigroup,");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"an inverse" -> "a regular"

ErrorNoReturn("Semigroups: NambooripadLeqRegularSemigroup: usage,\n",
"the argument is not a finite semigroup,");
fi;

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this blank line and replace the next if not IsRegular... by elif not IsRegular...

@james-d-mitchell james-d-mitchell added new-feature A label for PRs that contain new features 3.1 labels Mar 23, 2018
@james-d-mitchell
Copy link
Collaborator

One other comment would be to perhaps make an issue suggesting that specialised methods for Nambooripad* could be installed for special types of semigroups.

The NambooripadPartialOrder is a generalization of the natural partial
order for inverse semigroups to the class of regular semigroups. These
functions are modelled on the fallback methods for NaturalPartialOrder
and NaturalLeqInverseSemigroup. As I do not have a current use for this,
I haven't specialized the methods for any particular representations of
regular semigroups.
@ChristopherRussell
Copy link
Collaborator Author

Thanks @james-d-mitchell. I believe I have now fixed all these typos, added appropriate references to NaturalPartialOrder and delegated calculations to NaturalPartialOrder in the case of an inverse semigroup.


<C>NambooripadPartialOrder</C> returns the Nambooripad partial order on the
regular semigroup <A>S</A> as a list of sets of positive integers where
entry <C>i</C> in <C>NaturalPartialOrder(<A>S</A>)</C> is the set of
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NaturalPartialOrder -> NambooripadPartialOrder

@james-d-mitchell james-d-mitchell merged commit 8a4e918 into semigroups:master Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature A label for PRs that contain new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants