Calculus of constructions: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Paul1andrews
 
en>Sgbmyr
m →‎Usage: spelling: "Derivatives of the CoC are use in other [...]" -> ""Derivatives of the CoC are used in other [...]"
Line 1: Line 1:
The '''Knuth–Bendix completion algorithm''' (named after [[Donald E. Knuth|Donald Knuth]] and Peter Bendix<ref>[http://www.win.tue.nl/~mvdbrand/courses/seminar/0809/papers/ag-genesis.pdf D. Knuth, "The Genesis of Attribute Grammars"]</ref>) is an [[algorithm]] for transforming a set of [[equation]]s (over [[term (mathematics)|terms]]) into a [[Confluence (term rewriting)|confluent]] [[term rewriting system]].  When the algorithm succeeds, it effectively solves the [[word problem (mathematics)|word problem]] for the specified [[algebra]]. 


An important case in [[computational group theory]] are string rewriting systems which can be used to give canonical labels to elements or [[coset]]s of a [[finitely presented group]] as products of the [[Generating set of a group|generator]]s.  This special case is the current focus of this article.


With regards to your desired number pointing to gems, you can get hold of prepared intelligently to fight myself against any range you like. If you enjoyed this write-up and you would certainly like to receive more information regarding [http://circuspartypanama.com clash of clans cheat] kindly browse through our web-site. Can be exciting since it aids you enjoy like a advanced and you can [http://www.bing.com/search?q=concern&form=MSNNWS&mkt=en-us&pq=concern concern] just about anyone just in case your playing skills are growing.<br><br>To comprehend coins and gems, you've obtain the Clash behind Clans hack equipment to clicking on the obtain button. Contingent towards the operating framework that happen to be utilizing, you will labor the downloaded document as the admin. Furnish one particular log in Id and select the gadget. Shortly after this, you are enter into the quantity of gemstones or coins that you should have and start off that this Clash of Clans hack instrument.<br><br>Right here is the ideal place the placed you can uncover a simple and ample clash of clans cheats hack tool. Along with a single click on on the button, you can have a wonderful time in the foregoing Facebook/cell amusement and for no reason use up the matters you call for. Underneath is a accomplish button for you to obtain Clash of Clans hack now. In seconds, you will get the mandatory items and never prior to stress over gems or perhaps even coins all over returning.<br><br>It's possible, but the majority of absence one daily schedule would abatement by sixty one. 5% from 260 treasures to hundreds of gems. Or, if you capital to generate up the 1 morning bulk at 260 gems, the band would grab to acceleration added considerably and also 1 perpetuity would turn into put on expensive.<br><br>One of several best and fastest seeding certifications by [http://Www.Dict.cc/englisch-deutsch/ECCouncil.html ECCouncil]. Where a dictionary onset fails the computer nuller may try a brute force attack, which one is more time consuming. Establishes the borders of all with non-editable flag: lot_border [ ]. The issue is this one hit a where it really costs you anything - your heart. These Kindle hacks are keyboard shortcuts will save you tons of time excavating and typing in repetitive things. Claire informed me how she had did start to gain a (not small.<br><br>You'll see for yourself that this useful Money Compromise of Clans i fairly effective, understand invisible by the team boss of the game, particularly absolutely no price!<br><br>To conclude, clash of clans hack tool no study must not be legal to get in method of the bigger question: what makes we to this article? Putting this aside the truck bed cover's of great importance. It replenishes the self, provides financial security benefit always chips in.
[[Buchberger's algorithm]] for computing [[Gröbner basis|Gröbner bases]] is a very similar algorithm. Although developed independently, it may also be seen as the instantiation of Knuth-Bendix algorithm in the theory of [[polynomial ring]]s.
 
== Motivation in group theory ==
The [[critical pair lemma]] states that a term rewriting system is [[confluence (term rewriting)|locally confluent]] (or weakly confluent) if and only if all its [[critical pair (logic)|critical pairs]] are convergent. Furthermore, we have [[Newman's lemma]] which states that if an (abstract) rewriting system is [[normal form (term rewriting)|strongly normalizing]] and weakly confluent, then the rewriting system is confluent. So, if we can add rules to the term rewriting system in order to force all critical pairs to be convergent while maintaining the strong normalizing property, then this will force the resultant rewriting system to be confluent.
 
Consider a [[finitely presented monoid]] <math>M = \langle X \mid R \rangle</math> where X is a finite set of generators and R is a set of defining relations on X.  Let X<sup>*</sup> be the set of all words in X (i.e. the free monoid generated by X).  Since the relations R generate an equivalence relation on X*, one can consider elements of M to be the equivalence classes of X<sup>*</sup> under R.  For each class ''{w<sub>1</sub>, w<sub>2</sub>, ... }'' it is desirable to choose a standard representative ''w<sub>k</sub>''.  This representative is called the '''canonical''' or '''normal form''' for each word ''w<sub>k</sub>'' in the class. If there is a computable method to determine for each ''w<sub>k</sub>'' its normal form ''w<sub>i</sub>'' then the word problem is easily solved.  A confluent rewriting system allows one to do precisely this.
 
Although the choice of a canonical form can theoretically be made in an arbitrary fashion this approach is generally not computable.  (Consider that an equivalence relation on a language can produce an infinite number of infinite classes.)  If the language is [[well-ordered]] then the order < gives a consistent method for defining minimal representatives, however computing these representatives may still not be possible. In particular, if a rewriting system is used to calculate minimal representatives then the order < should also have the property:
 
: A < B → XAY < XBY for all words A,B,X,Y
 
This property is called '''translation invariance'''.  An order that is both translation-invariant and a well-order is called a '''reduction order'''.
 
From the presentation of the monoid it is possible to define a rewriting system given by the relations R. If A x B is in R then either A&nbsp;<&nbsp;B in which case B&nbsp;→&nbsp;A is a rule in the rewriting system, otherwise A&nbsp;>&nbsp;B and A&nbsp;→&nbsp;B.  Since < is a reduction order a given word W can be reduced W > W_1 > ... > W_n where W_n is irreducible under the rewriting system. However, depending on the rules that are applied at each W<sub>i</sub>&nbsp;→&nbsp;W<sub>i+1</sub> it is possible to end up with two different irreducible reductions W<sub>n</sub>&nbsp;≠&nbsp;W'<sub>m</sub> of W.  However, if the rewriting system given by the relations is converted to a confluent rewriting system via the Knuth–Bendix algorithm, then all reductions are guaranteed to produce the same irreducible word, namely the normal form for that word.
 
==Description of the algorithm for finitely presented monoids==
 
Suppose we are given a [[presentation of a group|presentation]] <math> \langle X \mid R \rangle </math>, where <math> X </math> is a set of [[generating set of a group|generator]]s and <math> R </math> is a set of [[Relation (mathematics)|relations]] giving the rewriting system. Suppose further that we have a reduction ordering <math> < </math> among the words generated by <math> X </math>(e.g., [[shortlex order]]).  For each relation <math> P_i = Q_i </math> in <math> R </math>, suppose <math> Q_i < P_i </math>.  Thus we begin with the set of reductions <math> P_i \rightarrow Q_i </math>.
 
First, if any relation <math> P_i = Q_i </math> can be reduced, replace <math> P_i </math> and <math> Q_i </math> with the reductions.
 
Next, we add more reductions (that is, rewriting rules) to eliminate possible exceptions of confluence. Suppose that <math> P_i </math> and <math> P_j </math>, where <math> i \neq j </math>, overlap. 
 
# Case 1: either the prefix of <math> P_i</math> equals the suffix of <math> P_j </math>, or vice versa. In the former case, we can write <math> P_i = BC </math> and <math> P_j = AB </math>; in the latter case, <math> P_i = AB </math> and <math> P_j = BC </math>.
#Case 2: either <math> P_i</math> is completely contained (surrounded) in  <math> P_j </math>, or vice versa. In the former case, we can write <math> P_i = B </math> and <math> P_j = ABC </math>; in the latter case, <math> P_i = ABC </math> and <math> P_j = B </math>.
 
Reduce the word <math> ABC </math> using <math> P_i </math> first, then using <math> P_j </math> first. Call the results <math> r_1, r_2 </math>, respectively.  If <math> r_1 \neq r_2 </math>, then we have an instance where confluence could fail. Hence, add the reduction <math> \max r_1, r_2 \rightarrow \min r_1, r_2 </math> to <math> R </math>.
 
After adding a rule to <math> R </math>, remove any rules in <math> R </math> that might have reducible left sides.
 
Repeat the procedure until all overlapping left sides have been checked.
 
==Example==
 
Consider the monoid: <math> \langle x, y \mid x^3 = y^3 = (xy)^3 = 1 \rangle </math>.  We use the [[shortlex order]]. This is an infinite monoid but nevertheless, the Knuth–Bendix algorithm is able to solve the word problem.
 
Our beginning three reductions are therefore (1) <math> x^3 \rightarrow 1 </math>, (2) <math> y^3 \rightarrow 1 </math>, and (3) <math> (xy)^3 \rightarrow 1 </math>.
 
Consider the word <math> x^3yxyxy </math>.  Reducing using (1), we get <math> yxyxy </math>.  Reducing using (3), we get <math> x^2 </math>.  Hence, we get <math> yxyxy = x^2 </math>, giving the reduction rule (4) <math> yxyxy \rightarrow x^2 </math>.
 
Similarly, using <math> xyxyxy^3 </math> and reducing using (2) and (3), we get <math> xyxyx = y^2 </math>. Hence the reduction (5) <math> xyxyx \rightarrow y^2 </math>.
 
Both of these rules obsolete (3), so we remove it.
 
Next, consider <math> x^3yxyx </math> by overlapping (1) and (5). Reducing we get <math> yxyx = x^2y^2 </math>, so we add the rule (6) <math> yxyx \rightarrow x^2y^2</math>.  Considering <math> xyxyx^3 </math> by overlapping (1) and (5), we get <math> xyxy = y^2x^2 </math>, so we add the rule (7) <math> y^2x^2 \rightarrow xyxy </math>.  These obsolete rules (4) and (5), so we remove them.
 
Now, we are left with the rewriting system
* (1) <math> x^3 \rightarrow 1 </math>
* (2) <math> y^3 \rightarrow 1 </math>
* (6) <math> yxyx \rightarrow x^2y^2 </math>
* (7) <math> y^2 x^2 \rightarrow xyxy </math>
Checking the overlaps of these rules, we find no potential failures of confluence.  Therefore, we have a confluent rewriting system, and the algorithm terminates successfully.
 
==Generalizations==
 
If Knuth–Bendix does not succeed, it will either run forever, or fail when it encounters an unorientable equation (i.e. an equation that it cannot turn into a rewrite rule). The enhanced [[completion without failure]] will not fail on unorientable equations and provides a [[semi-decision procedure]] for the word problem.
 
The notion of [[logged rewriting]] discussed in the paper by Heyworth and Wensley listed below allows some recording or logging of the rewriting process as it proceeds. This is useful for computing identities among relations for presentations of groups.
 
==References==
{{reflist}}
* {{cite book| author=D. Knuth, P. Bendix| title=Simple Word Problems in Universal Algebras| year=1970| pages=263–297| publisher=Pergamon Press| editor=J. Leech}}
* C. Sims. 'Computations with finitely presented groups.' Cambridge, 1994.
* Anne Heyworth and C.D. Wensley. "Logged rewriting and identities among relators."  ''Groups St. Andrews 2001 in Oxford. Vol. I,'' 256–276, London Math. Soc. Lecture Note Ser., 304, Cambridge Univ. Press, Cambridge, 2003.
 
==External links==
* {{MathWorld | urlname=Knuth-BendixCompletionAlgorithm | title=Knuth–Bendix Completion Algorithm}}
 
{{Donald Knuth navbox}}
 
{{DEFAULTSORT:Knuth-Bendix completion algorithm}}
[[Category:Computational group theory]]
[[Category:Donald Knuth]]
[[Category:Combinatorics on words]]
[[Category:Rewriting systems]]

Revision as of 12:19, 23 October 2013

The Knuth–Bendix completion algorithm (named after Donald Knuth and Peter Bendix[1]) is an algorithm for transforming a set of equations (over terms) into a confluent term rewriting system. When the algorithm succeeds, it effectively solves the word problem for the specified algebra.

An important case in computational group theory are string rewriting systems which can be used to give canonical labels to elements or cosets of a finitely presented group as products of the generators. This special case is the current focus of this article.

Buchberger's algorithm for computing Gröbner bases is a very similar algorithm. Although developed independently, it may also be seen as the instantiation of Knuth-Bendix algorithm in the theory of polynomial rings.

Motivation in group theory

The critical pair lemma states that a term rewriting system is locally confluent (or weakly confluent) if and only if all its critical pairs are convergent. Furthermore, we have Newman's lemma which states that if an (abstract) rewriting system is strongly normalizing and weakly confluent, then the rewriting system is confluent. So, if we can add rules to the term rewriting system in order to force all critical pairs to be convergent while maintaining the strong normalizing property, then this will force the resultant rewriting system to be confluent.

Consider a finitely presented monoid where X is a finite set of generators and R is a set of defining relations on X. Let X* be the set of all words in X (i.e. the free monoid generated by X). Since the relations R generate an equivalence relation on X*, one can consider elements of M to be the equivalence classes of X* under R. For each class {w1, w2, ... } it is desirable to choose a standard representative wk. This representative is called the canonical or normal form for each word wk in the class. If there is a computable method to determine for each wk its normal form wi then the word problem is easily solved. A confluent rewriting system allows one to do precisely this.

Although the choice of a canonical form can theoretically be made in an arbitrary fashion this approach is generally not computable. (Consider that an equivalence relation on a language can produce an infinite number of infinite classes.) If the language is well-ordered then the order < gives a consistent method for defining minimal representatives, however computing these representatives may still not be possible. In particular, if a rewriting system is used to calculate minimal representatives then the order < should also have the property:

A < B → XAY < XBY for all words A,B,X,Y

This property is called translation invariance. An order that is both translation-invariant and a well-order is called a reduction order.

From the presentation of the monoid it is possible to define a rewriting system given by the relations R. If A x B is in R then either A < B in which case B → A is a rule in the rewriting system, otherwise A > B and A → B. Since < is a reduction order a given word W can be reduced W > W_1 > ... > W_n where W_n is irreducible under the rewriting system. However, depending on the rules that are applied at each Wi → Wi+1 it is possible to end up with two different irreducible reductions Wn ≠ W'm of W. However, if the rewriting system given by the relations is converted to a confluent rewriting system via the Knuth–Bendix algorithm, then all reductions are guaranteed to produce the same irreducible word, namely the normal form for that word.

Description of the algorithm for finitely presented monoids

Suppose we are given a presentation , where is a set of generators and is a set of relations giving the rewriting system. Suppose further that we have a reduction ordering among the words generated by (e.g., shortlex order). For each relation in , suppose . Thus we begin with the set of reductions .

First, if any relation can be reduced, replace and with the reductions.

Next, we add more reductions (that is, rewriting rules) to eliminate possible exceptions of confluence. Suppose that and , where , overlap.

  1. Case 1: either the prefix of equals the suffix of , or vice versa. In the former case, we can write and ; in the latter case, and .
  2. Case 2: either is completely contained (surrounded) in , or vice versa. In the former case, we can write and ; in the latter case, and .

Reduce the word using first, then using first. Call the results , respectively. If , then we have an instance where confluence could fail. Hence, add the reduction to .

After adding a rule to , remove any rules in that might have reducible left sides.

Repeat the procedure until all overlapping left sides have been checked.

Example

Consider the monoid: . We use the shortlex order. This is an infinite monoid but nevertheless, the Knuth–Bendix algorithm is able to solve the word problem.

Our beginning three reductions are therefore (1) , (2) , and (3) .

Consider the word . Reducing using (1), we get . Reducing using (3), we get . Hence, we get , giving the reduction rule (4) .

Similarly, using and reducing using (2) and (3), we get . Hence the reduction (5) .

Both of these rules obsolete (3), so we remove it.

Next, consider by overlapping (1) and (5). Reducing we get , so we add the rule (6) . Considering by overlapping (1) and (5), we get , so we add the rule (7) . These obsolete rules (4) and (5), so we remove them.

Now, we are left with the rewriting system

Checking the overlaps of these rules, we find no potential failures of confluence. Therefore, we have a confluent rewriting system, and the algorithm terminates successfully.

Generalizations

If Knuth–Bendix does not succeed, it will either run forever, or fail when it encounters an unorientable equation (i.e. an equation that it cannot turn into a rewrite rule). The enhanced completion without failure will not fail on unorientable equations and provides a semi-decision procedure for the word problem.

The notion of logged rewriting discussed in the paper by Heyworth and Wensley listed below allows some recording or logging of the rewriting process as it proceeds. This is useful for computing identities among relations for presentations of groups.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • C. Sims. 'Computations with finitely presented groups.' Cambridge, 1994.
  • Anne Heyworth and C.D. Wensley. "Logged rewriting and identities among relators." Groups St. Andrews 2001 in Oxford. Vol. I, 256–276, London Math. Soc. Lecture Note Ser., 304, Cambridge Univ. Press, Cambridge, 2003.

External links



  • I had like 17 domains hosted on single account, and never had any special troubles. If you are not happy with the service you will get your money back with in 45 days, that's guaranteed. But the Search Engine utility inside the Hostgator account furnished an instant score for my launched website. Fantastico is unable to install WordPress in a directory which already have any file i.e to install WordPress using Fantastico the destination directory must be empty and it should not have any previous installation files. When you share great information, others will take note. Once your hosting is purchased, you will need to setup your domain name to point to your hosting. Money Back: All accounts of Hostgator come with a 45 day money back guarantee. If you have any queries relating to where by and how to use Hostgator Discount Coupon, you can make contact with us at our site. If you are starting up a website or don't have too much website traffic coming your way, a shared plan is more than enough. Condition you want to take advantage of the worldwide web you prerequisite a HostGator web page, -1 of the most trusted and unfailing web suppliers on the world wide web today. Since, single server is shared by 700 to 800 websites, you cannot expect much speed.



    Hostgator tutorials on how to install Wordpress need not be complicated, especially when you will be dealing with a web hosting service that is friendly for novice webmasters and a blogging platform that is as intuitive as riding a bike. After that you can get Hostgator to host your domain and use the wordpress to do the blogging. Once you start site flipping, trust me you will not be able to stop. I cut my webmaster teeth on Control Panel many years ago, but since had left for other hosting companies with more commercial (cough, cough) interfaces. If you don't like it, you can chalk it up to experience and go on. First, find a good starter template design. When I signed up, I did a search for current "HostGator codes" on the web, which enabled me to receive a one-word entry for a discount. Your posts, comments, and pictures will all be imported into your new WordPress blog.

Template:Donald Knuth navbox