Path: csiph.com!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 31 Mar 2016 07:36:12 -0500 From: "David C. Ullrich" Subject: Re: Basic question on semigroups Newsgroups: sci.math References: <7d2ca863-5c6b-4e0d-a494-2537e77e8c44@googlegroups.com> <5f459e43-f264-4d75-93d2-841e98322508@googlegroups.com> User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Thu, 31 Mar 2016 07:36:12 -0500 Lines: 74 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-oB0XHbpztaRcXhSrq8sE8zsc8DIIQI47pkF0A7MYwY9ArveIhitnjELNpuNMkhBYbsUIslldM4Iqnnf!7NcXqiQ2bhXJNQe7RU2C1xNo7w45F1GA79PyUpVlWq7Hq3CHymPd/F5EXBeu X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 4779 Xref: csiph.com sci.math:331024 On Wed, 30 Mar 2016 14:39:09 -0700, pepstein5 wrote: > On Wednesday, March 30, 2016 at 1:18:34 PM UTC+1, David C. Ullrich > wrote: >> On Wed, 30 Mar 2016 04:14:23 -0700, Paul wrote: >> >> > Suppose a semigroup S is presented in terms of generators and >> > relators. The relators are of the form w1 = 1, w2 = 1,... where >> > the w_i are words in the generators of S. >> >> A preliminary question: Is this notion something you just made up? >> Seems to me if we were going to talk about presentations of semigroups >> in terms of generators and relations the relations would _not_ be just >> words! Because semigroups are not groups: If we're talking about groups >> then ab=ba is the same as aba^{-1}b^{-1} = 1, so a relation may as well >> be just a single word. But if we're talking about semigroups there's no >> word such that [word] = 1 is the same as the relation ab=ba. >> Seems to me in a sensible notion of "presentation of a semigroup in >> terms of generators and relations" the relations would hence not be >> just words. >> >> Hence the question, did you just make up this notion or what? >> >> > If s belongs to S and s = 1 and s = x1 * >> > x2 * ... x_m where each x_i is a generator of S, must s be either >> > empty or contain (as a string) one of the w_i? >> > >> > In other words, suppose s = 1, does that mean that s can be made >> > empty by removing substrings of s that express the defining relators? >> > >> > Paul > > Thanks, David. > > Is this a notion I just made up? Strong yes. This is the background. > I solved (correctly) a problem in computer science as follows. Given a > word w in a finite alphabet, find an algorithm to determine whether w > can be reduced to the empty string by a finite number of deletions of > words of the form xx where x is a character in the alphabet. You should really talk about all this as a problem in string processing then, instead of saying you're talking about presentations of semigroups in terms of generators and relations. Because it seems like a hugely unnatural version of the latter, given that you're restricting to a tiny subset of what the natural relations would be. >My > algorithm is greedy in that (scanning from left to right), it removes > the first xx it sees, and then removes the next yy in the smaller word. > The algorithm uses a stack and is O(N) where N is the length of the > word. I will gladly give more details if anyone is interested. > > I then noticed a gap in the reasoning. My algorithm assumes that, if > you keep removing words of the form xx and eventually end up with a > non-empty word where no such xx exists, then you can assume that w can > not be reduced to the empty string. However, that assumption is not > quite justified. Choices are available as to which xx to remove. It > could be that the particular (greedy) removal strategy didn't reduce w > to the empty word, but that other strategies might. > > For example, take the word w = hhh. Pretending to be a computer > program, I remove the first pair of h's and end up with h. Now, h has > no removals possible. So can I assume that w can't be reduced to the > empty word, or do I have to try the other possible removal -- namely > removing the 2nd and 3rd h's? > > This covers the case where all xx are considered to be 1 where x is a > character in the alphabet. I was trying to generalise. > > Apologies for the confusion caused by misusing terminology, and thanks > to everyone on the thread, for trying to help, regardless. > > Paul