<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1980588588005373416</id><updated>2012-01-18T16:32:38.711+09:00</updated><category term='book reviews'/><category term='formal language theory'/><category term='Chomsky'/><category term='conference'/><category term='logic'/><category term='textbooks'/><category term='teaching'/><title type='text'>Lambda Calculus and Formal Grammar</title><subtitle type='html'>Random notes on logic, language, and computation</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://makotokanazawa.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://makotokanazawa.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Makoto Kanazawa</name><uri>http://www.blogger.com/profile/08107328482880816417</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1980588588005373416.post-3649027636365670707</id><published>2010-12-20T11:57:00.000+09:00</published><updated>2010-12-20T11:57:14.739+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='teaching'/><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>Incompleteness via Tarski's Theorem</title><content type='html'>&lt;p&gt;Many textbooks, including &lt;a href="http://makotokanazawa.blogspot.com/2010/03/mathematical-logic-and-computability.html"&gt;the one I'm using&lt;/a&gt;, present an "easy" proof of Gödel's First Incompleteness Theorem via Tarski's Theorem on undefinability of truth, before presenting a proof more in line with Gödel's original proof.  Tarski's Theorem (or a version thereof) states that the set &lt;i&gt;TR&lt;/i&gt; of Gödel numbers of sentences of first-order arithmetic that are true in the standard model is not "arithmetical", i.e., is not definable by any formula of first-order arithmetic.  In contrast, the set &lt;i&gt;PV&lt;/i&gt; of Gödel numbers of sentences provable in any recursively axiomatized theory &lt;i&gt;is&lt;/i&gt; arithmetical and has a Σ&lt;sub&gt;1&lt;/sub&gt; defining formula.  Therefore, this proof goes, the two sets can't be equal, and there must exist a true sentence that is not provable, unless the theory proves some false sentence.&lt;/p&gt;&lt;p&gt;In my logic class, I thought of mentioning the proof via Tarski's Thorem before going into any technicalities about arithmetization.  I was going to actually prove Tarski's Theorem and only state that &lt;i&gt;PV&lt;/i&gt; is arithmetical, leaving the proof of the latter fact for the next few lectures.  &lt;/p&gt;&lt;p&gt;But then I realized the problem with this approach &amp;mdash; Tarski's Theorem is not that easy to prove.  The proof given in Keisler et al.'s textbook uses (a weak version of) the Fixed Point Theorem, which depends on the fact that the "diagonal function" is arithmetical, which in turn relies on the fact that all computable functions are arithmetical, and ultimately rests on the existence of the Gödel beta function.  In other words, this proof involves almost all machinery used in Gödel's original proof.&lt;/p&gt;&lt;p&gt;It is possible to prove the arithmetical definability (or representability) of the diagonal function (or some such devices needed to prove Tarski's Theorem) without using the beta function, as is done in Boolos and Jeffrey's book (at least until the third edition), but this depends on the details of the Gödel numbering of formulas, and does not work with the method used in Keisler et al.'s book.&lt;/p&gt;&lt;p&gt;So, rather than prove Tarski's Theorem, what I did in my class was to prove the arithmetical undefinability of the "satisfaction relation"&lt;/p&gt;&lt;p&gt;SAT = { (#(&lt;i&gt;A&lt;/i&gt;(&lt;i&gt;x&lt;/i&gt;)), &lt;i&gt;n&lt;/i&gt;) | &lt;i&gt;A&lt;/i&gt;(&lt;b&gt;n&lt;/b&gt;) is true },&lt;/p&gt;&lt;p&gt;which holds of all pairs whose first component is the Gödel number of a formula and whose second component is a number that the formula is true of in the standard model.  (Here, &lt;b&gt;n&lt;/b&gt; is the numeral representing the natural number &lt;i&gt;n&lt;/i&gt;.)  This has an easy three-line proof, does not require the diagonal function on natural numbers, and, as noted &lt;a href="http://antimeta.wordpress.com/2007/07/23/coding-truth-and-satisfaction/"&gt;here&lt;/a&gt;, makes no assumption on the nature of the Gödel numbering (except injectivity) or on the vocabulary from which formulas are built.&lt;/p&gt;&lt;p&gt;To prove the incompleteness using the undefinability of &lt;i&gt;SAT&lt;/i&gt;, all you need is to prove the arithmetical definability of the "provable satisfaction" relation&lt;/p&gt;&lt;p&gt;&lt;i&gt;PV&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; = { (#(&lt;i&gt;A&lt;/i&gt;(&lt;i&gt;x&lt;/i&gt;)), &lt;i&gt;n&lt;/i&gt;) | &lt;i&gt;A&lt;/i&gt;(&lt;b&gt;n&lt;/b&gt;) is provable },&lt;/p&gt;which, of course, hardly requires any more work than showing the arithmetical definability of the set &lt;i&gt;PV&lt;/i&gt; of Gödel numbers of provable sentences.  If no false sentence is provable, then &lt;i&gt;PV&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; must be a proper subset of &lt;i&gt;SAT&lt;/i&gt;, and it follows that there is a true sentence that is not provable.&lt;/p&gt;&lt;p&gt;This is of course a rather trivial point, but I find it a little curious that the undefinability of &lt;i&gt;SAT&lt;/i&gt; does not seem to be mentioned very often, not even in a book like Smullyan's &lt;i&gt; Gödel's Incompleteness Theorems&lt;/i&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1980588588005373416-3649027636365670707?l=makotokanazawa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://makotokanazawa.blogspot.com/feeds/3649027636365670707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makotokanazawa.blogspot.com/2010/12/incompleteness-via-tarskis-theorem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default/3649027636365670707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default/3649027636365670707'/><link rel='alternate' type='text/html' href='http://makotokanazawa.blogspot.com/2010/12/incompleteness-via-tarskis-theorem.html' title='Incompleteness via Tarski&apos;s Theorem'/><author><name>Makoto Kanazawa</name><uri>http://www.blogger.com/profile/08107328482880816417</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1980588588005373416.post-3598227773129698999</id><published>2010-05-22T20:44:00.005+09:00</published><updated>2012-01-18T16:32:38.734+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='formal language theory'/><category scheme='http://www.blogger.com/atom/ns#' term='Chomsky'/><title type='text'>Labeled Bracketings and the Chomsky-Schützenberger Theorem</title><content type='html'>&lt;p&gt;I always thought that the Chomsky-Sch&amp;uuml;tzenberger Theorem is an easy consequence of the fact that for every CFG &lt;i&gt;G&lt;/i&gt;, the strings generated by &lt;i&gt;G&lt;/i&gt; are precisely the yields of the parse trees of &lt;i&gt;G&lt;/i&gt;.  Until recently, I did not have a good understanding of just how easy a consequence it is.&lt;/p&gt;&lt;p&gt;The theorem is usually stated as follows:&lt;/p&gt;&lt;p&gt;&lt;b&gt;Theorem&lt;/b&gt; (Chomsky-Sch&amp;uuml;tzenberger).  For every context-free language &lt;i&gt;L&lt;/i&gt;, there exist a positive integer &lt;i&gt;n&lt;/i&gt;, a homomorphism &lt;i&gt;h&lt;/i&gt;, and a regular set &lt;i&gt;R&lt;/i&gt; such that&lt;/p&gt;&lt;p&gt;&lt;i&gt;L&lt;/i&gt; = &lt;i&gt;h&lt;/i&gt;(&lt;i&gt;D&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt;),&lt;/p&gt;&lt;p&gt;where &lt;i&gt;D&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; is the Dyck language over the set &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; of &lt;i&gt;n&lt;/i&gt; pairs of parentheses.&lt;/p&gt;&lt;p&gt;In fact, the theorem can be strengthened to require that the set &lt;i&gt;R&lt;/i&gt; be &lt;em&gt;local&lt;/em&gt; in the sense that there are sets &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; &amp;sube; &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; and &lt;i&gt;I&lt;/i&gt; &amp;sube; &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;&lt;sup&gt;2&lt;/sup&gt; such that &lt;/p&gt;&lt;p&gt;&lt;i&gt;R&lt;/i&gt; = (&lt;i&gt;J&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;&lt;sup&gt;*&lt;/sup&gt; &amp;cap; &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;&lt;sup&gt;*&lt;/sup&gt; &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;) &amp;minus; &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;&lt;sup&gt;*&lt;/sup&gt; (&amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;&lt;sup&gt;2&lt;/sup&gt; &amp;minus; &lt;i&gt;I&lt;/i&gt;) &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;&lt;sup&gt;*&lt;/sup&gt;.&lt;/p&gt;&lt;p&gt;This strengthening is often not mentioned in textbooks; it is explicitly stated in Chomsky's (1963) &amp;quot;Formal properties of grammars&amp;quot;.  Another fact mentioned by Chomsky (1963) is that &lt;i&gt;D&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; may be replaced with the set &lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; of &lt;em&gt;Dyck primes&lt;/em&gt;, which are elements of &lt;i&gt;D&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; whose first and last symbols form a matching pair of parentheses.  (Also, the homomorphism &lt;i&gt;h&lt;/i&gt; is in fact &lt;em&gt;alphabetic&lt;/em&gt; in the sense that it maps each symbol in &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; either to a symbol or to the empty string, but this is always clear from the proof.)&lt;/p&gt;&lt;p&gt;I had thought that the set &lt;i&gt;D&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt; in the statement of the theorem can just be taken to be an alternative representation of the set &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;) of parse trees of any CFG &lt;i&gt;G&lt;/i&gt; for &lt;i&gt;L&lt;/i&gt;.  This is essentially correct, but not literally true.  Chomsky expressed the qualification as restrictions on the rules of &lt;i&gt;G&lt;/i&gt; (see below).&lt;/p&gt;&lt;p&gt;Proofs of the theorem given in some textbooks (e.g., Salomaa 1972 and Berstel 1979) fail to make any connection between &lt;i&gt;D&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt; and &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;), thus bypassing a main concern for Chomsky.  The proof in Kozen's (1997) &lt;i&gt;Automata and Computability&lt;/i&gt;&amp;mdash;perhaps the clearest textbook treatment of the theorem&amp;mdash;makes a clear connection between the two sets without explicitly mentioning it.  (Another easy line of approach to the theorem, via pushdown automata (e.g., Harrison 1978) only makes an indirect connection between the two sets, through PDA computations.)&lt;/p&gt;&lt;p&gt;Here's how I came to view the connection.  Recall that a set &lt;i&gt;L&lt;/i&gt; of trees over some finite alphabet &amp;Gamma; of labels is &lt;em&gt;local&lt;/em&gt; if there are a set &lt;i&gt;J&lt;/i&gt; &amp;sube; &amp;Gamma; and a finite set &lt;i&gt;I&lt;/i&gt; &amp;sube; &amp;Gamma;&lt;sup&gt;+&lt;/sup&gt; such that any tree &lt;i&gt;T&lt;/i&gt; is in &lt;i&gt;L&lt;/i&gt; if and only if it satisfies the following conditions:&lt;ul&gt;&lt;li&gt;the label of the root is in &lt;i&gt;J&lt;/i&gt;, and&lt;li&gt;for every node, the string obtained by concatenating its label with the labels of its children is in &lt;i&gt;I&lt;/i&gt;.&lt;/ul&gt;As is well-known, the set &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;) is local for any CFG &lt;i&gt;G&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;Let &amp;tau; be the obvious translation that maps a tree to its labeled bracketing representation&amp;mdash;that is to say, if &lt;i&gt;T&lt;/i&gt; is a tree with root label &amp;sigma; and immediate subtrees &lt;i&gt;T&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &amp;hellip;, &lt;i&gt;T&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;, then &amp;tau;(&lt;i&gt;T&lt;/i&gt;) = [&lt;sub&gt;&amp;sigma;&lt;/sub&gt; &amp;tau;(&lt;i&gt;T&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;) &amp;hellip; &amp;tau;(&lt;i&gt;T&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;) ]&lt;sub&gt;&amp;sigma;&lt;/sub&gt;.  If &lt;i&gt;T&lt;/i&gt; is a tree over &amp;Gamma; with |&amp;Gamma;| = &lt;i&gt;n&lt;/i&gt;, then &amp;tau;(&lt;i&gt;T&lt;/i&gt;) is an element of &lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;, where each pair of parentheses in &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; corresponds to a symbol in &amp;Gamma;.  Let us call a set &lt;i&gt;L&lt;/i&gt; of trees over &amp;Gamma; &lt;em&gt;super-local&lt;/em&gt; if &amp;tau;(&lt;i&gt;L&lt;/i&gt;) = &lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt; for some local set &lt;i&gt;R&lt;/i&gt; &amp;sube; &amp;Delta;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt;&lt;sup&gt;*&lt;/sup&gt;.  It is clear that a set &lt;i&gt;L&lt;/i&gt; of trees is super-local if there are sets &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; &amp;sube; &amp;Gamma;, and &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;, &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;3&lt;/sub&gt; &amp;sube; &amp;Gamma;&lt;sup&gt;2&lt;/sup&gt; such that for every tree &lt;i&gt;T&lt;/i&gt;, &lt;i&gt;T&lt;/i&gt; is in &lt;i&gt;L&lt;/i&gt; if and only if it satisfies the following conditions:&lt;ul&gt;&lt;li&gt;the label of the root is in &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;,&lt;li&gt;the label of every leaf is in &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;, &lt;li&gt;if a node labeled by &lt;i&gt;Y&lt;/i&gt; is the first child of a node labeled by &lt;i&gt;X&lt;/i&gt;, then &lt;i&gt;X&lt;/i&gt;&lt;i&gt;Y&lt;/i&gt; &amp;isin; &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;,&lt;li&gt;if a node labeled by &lt;i&gt;Y&lt;/i&gt; is the last child of a node labeled by &lt;i&gt;X&lt;/i&gt;, then &lt;i&gt;Y&lt;/i&gt;&lt;i&gt;X&lt;/i&gt; &amp;isin; &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;, and&lt;li&gt;if a node labeled by &lt;i&gt;X&lt;/i&gt; and a node labeled by &lt;i&gt;Y&lt;/i&gt; are adjacent siblings (in this order), then &lt;i&gt;X&lt;/i&gt;&lt;i&gt;Y&lt;/i&gt; &amp;isin; &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;3&lt;/sub&gt;.&lt;/ul&gt;&lt;/p&gt;&lt;p&gt;Clearly, any super-local set of trees of bounded out-degree must be local, but it is easy to see that there are local sets, including sets of the form &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;), that are not super-local.  The set of &amp;quot;rule trees&amp;quot; of a CFG, where a rule, rather than a nonterminal, labels each node, need not be super-local either.&lt;/p&gt;&lt;p&gt;The strengthened form of the Chomsky-Sch&amp;uuml;tzenberger Theorem is an immediate consequence of the following easy lemma:&lt;/p&gt;&lt;p&gt;&lt;b&gt;Lemma.&lt;/b&gt;  If &lt;i&gt;L&lt;/i&gt; is a local set of trees over &amp;Gamma;, then there exist a super-local set &lt;i&gt;L&lt;/i&gt;&amp;prime; over &amp;Gamma;&amp;prime; and a relabeling &lt;i&gt;g&lt;/i&gt;: &amp;Gamma;&amp;prime; &amp;rarr; &amp;Gamma; such that &lt;i&gt;g&lt;/i&gt; maps &lt;i&gt;L&lt;/i&gt;&amp;prime; onto &lt;i&gt;L&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;The idea is to add to the label of each node information about the labels of all its siblings.  This construction can be seen to underly Kozen's (1997) proof of the Chomsky-Sch&amp;uuml;tzenberger Theorem.  While a &amp;quot;rule tree&amp;quot; of a CFG labels each node by the rule expanding it, the tree used by Kozen puts information about the rule on the children of the node expanded by the rule.  It is in fact sufficient for each child to be labeled by the right-hand side of the rule expanding its parent (plus its position among its siblings).&lt;/p&gt;&lt;p&gt;&lt;i&gt;Proof.&lt;/i&gt;  Let &lt;i&gt;J&lt;/i&gt; &amp;sube; &amp;Gamma;, &lt;i&gt;I&lt;/i&gt; &amp;sube; &amp;Gamma;&lt;sup&gt;+&lt;/sup&gt; be the finite sets witnessing the locality of &lt;i&gt;L&lt;/i&gt;.  Let&lt;/p&gt;&lt;p&gt;&amp;Gamma;&amp;prime; = { [&lt;i&gt;X&lt;/i&gt;]&lt;sub&gt;1&lt;/sub&gt; | &lt;i&gt;X&lt;/i&gt; &amp;isin; &lt;i&gt;J&lt;/i&gt; } &amp;cup; { [&amp;alpha;]&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; | &lt;i&gt;X&lt;/i&gt; &amp;isin; &amp;Gamma;, &lt;i&gt;X&lt;/i&gt;&amp;alpha; &amp;isin; &lt;i&gt;I&lt;/i&gt;, 1 &amp;le; &lt;i&gt;i&lt;/i&gt; &amp;le; |&amp;alpha;| },&lt;/p&gt;&lt;p&gt;and set&lt;/p&gt;&lt;p&gt;&lt;i&gt;J&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; = { [&lt;i&gt;X&lt;/i&gt;]&lt;sub&gt;1&lt;/sub&gt; | &lt;i&gt;X&lt;/i&gt; &amp;isin; &lt;i&gt;J&lt;/i&gt; },&lt;br /&gt;&lt;i&gt;J&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; = { [&lt;i&gt;X&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;l&lt;/i&gt;&lt;/sub&gt;]&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; | &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; &amp;isin; &lt;i&gt;I&lt;/i&gt; },&lt;br /&gt;&lt;i&gt;I&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; = { [&lt;i&gt;X&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;l&lt;/i&gt;&lt;/sub&gt;]&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; [&lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;m&lt;/i&gt;&lt;/sub&gt;]&lt;sub&gt;1&lt;/sub&gt; | &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; &lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;m&lt;/i&gt;&lt;/sub&gt; &amp;isin; &lt;i&gt;I&lt;/i&gt;, &lt;i&gt;m&lt;/i&gt; &amp;ge; 1 },&lt;br /&gt;&lt;i&gt;I&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; = { [&lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;m&lt;/i&gt;&lt;/sub&gt;]&lt;sub&gt;&lt;i&gt;m&lt;/i&gt;&lt;/sub&gt; [&lt;i&gt;X&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;l&lt;/i&gt;&lt;/sub&gt;]&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; | &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; &lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;m&lt;/i&gt;&lt;/sub&gt; &amp;isin; &lt;i&gt;I&lt;/i&gt;, &lt;i&gt;m&lt;/i&gt; &amp;ge; 1 },&lt;br /&gt;&lt;i&gt;I&lt;/i&gt;&lt;sub&gt;3&lt;/sub&gt; = { [&lt;i&gt;X&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;l&lt;/i&gt;&lt;/sub&gt;]&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; [&lt;i&gt;X&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;l&lt;/i&gt;&lt;/sub&gt;]&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;+1&lt;/sub&gt; | 1 &amp;le; &lt;i&gt;i&lt;/i&gt; &lt; &lt;i&gt;l&lt;/i&gt;}.&lt;/p&gt;&lt;p&gt;Let &lt;i&gt;L&lt;/i&gt;&amp;prime; be the super-local set determined by &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;i&gt;J&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;, &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;, &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;3&lt;/sub&gt;, and let&lt;/p&gt;&lt;p&gt;&lt;i&gt;g&lt;/i&gt;([&lt;i&gt;X&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;l&lt;/i&gt;&lt;/sub&gt;]&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt;) = &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt;.&lt;/p&gt;&lt;p&gt;Now it is clear that &lt;i&gt;g&lt;/i&gt; gives a one-one correspondence between the trees in &lt;i&gt;L&lt;/i&gt;&amp;prime; and the trees in &lt;i&gt;L&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;Note that since the conditions given by &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;, &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;3&lt;/sub&gt; in the above proof are not independent, the definition of either &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; or &lt;i&gt;I&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; (but not both) may be changed to drop the part that says &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt;&lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; &lt;i&gt;Y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;m&lt;/i&gt;&lt;/sub&gt; &amp;isin; &lt;i&gt;I&lt;/i&gt;, without thereby affecting the resulting super-local set &lt;i&gt;L&lt;/i&gt;&amp;prime;.  If we wish to have &amp;tau;(&lt;i&gt;L&lt;/i&gt;&amp;prime;) = &lt;i&gt;D&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt;, rather than &amp;tau;(&lt;i&gt;L&lt;/i&gt;&amp;prime;) = &lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt;, that's possible too by changing the label of the root of every tree to a special symbol that only appears at the root.&lt;/p&gt;&lt;p&gt;In the above proof, each node label in a tree from &lt;i&gt;L&lt;/i&gt; is changed to the sequence of original labels of all its siblings, including itself, plus its position among its siblings.  Clearly, there are more economical ways of adding information to each node label to create a super-local set.  For instance, we can use labels of the form &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; &amp;hellip; &lt;i&gt;X&lt;/i&gt;&lt;sub&gt;&lt;i&gt;m&lt;/i&gt;&lt;/sub&gt; consisting of the node's original label followed by the original labels of all its &lt;em&gt;right&lt;/em&gt; siblings.&lt;/p&gt;&lt;p&gt;Let us call a tree language &lt;i&gt;super-regular&lt;/i&gt; if it can be expressed in the form &amp;tau;&lt;sup&gt;-1&lt;/sup&gt;(&lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;&lt;i&gt;m&lt;/i&gt;&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt;) with &lt;i&gt;R&lt;/i&gt; &lt;i&gt;regular&lt;/i&gt;.  Every super-regular tree language is regular, since it can be recognized by a &amp;quot;left-to-right&amp;quot; one-visit tree-walking automaton (cf. Okhotin, Salomaa, and Domaratzki 2002).  The converse is of course not true, and the super-regular tree languages don't even contain all the local tree languages.  Here is an example of a Chomsky normal form CFG &lt;i&gt;G&lt;/i&gt; such that &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;) is not super-regular.  This shows that the set &lt;i&gt;D&lt;/i&gt;&lt;sub&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt; in the Chomsky-Sch&amp;uuml;tzenberger Theorem, even in its weak form, cannot in general be taken to be &amp;tau;(&lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;)), unless the grammar &lt;i&gt;G&lt;/i&gt; satisfies some special conditions.&lt;/p&gt;&lt;p&gt;&lt;i&gt;S&lt;/i&gt; &amp;rarr; &lt;i&gt;S&lt;/i&gt; &lt;i&gt;A&lt;/i&gt;&lt;br /&gt;&lt;i&gt;S&lt;/i&gt; &amp;rarr; &lt;i&gt;B&lt;/i&gt; &lt;i&gt;S&lt;/i&gt;&lt;br /&gt;&lt;i&gt;S&lt;/i&gt; &amp;rarr; &lt;i&gt;a&lt;/i&gt;&lt;br /&gt;&lt;i&gt;A&lt;/i&gt; &amp;rarr; &lt;i&gt;a&lt;/i&gt;&lt;br /&gt;&lt;i&gt;B&lt;/i&gt; &amp;rarr; &lt;i&gt;a&lt;/i&gt;&lt;/p&gt;&lt;p&gt;That the set of parse trees of this grammar is not super-regular can be seen as follows.  Consider strings of the form&lt;/p&gt;&lt;p&gt;(*) [&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt; &lt;i&gt;x&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; [&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt; &lt;i&gt;x&lt;/i&gt;&lt;sub&gt;&lt;i&gt;k&lt;/i&gt;&lt;/sub&gt; [&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt; [&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt; &lt;i&gt;y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;k&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt; &amp;hellip; &lt;i&gt;y&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt;, with &lt;i&gt;x&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; &amp;isin; { [&lt;sub&gt;&lt;i&gt;A&lt;/i&gt;&lt;/sub&gt; [&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;A&lt;/i&gt;&lt;/sub&gt;, &amp;epsilon; } and &lt;i&gt;y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; &amp;isin; { [&lt;sub&gt;&lt;i&gt;B&lt;/i&gt;&lt;/sub&gt; [&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;B&lt;/i&gt;&lt;/sub&gt;, &amp;epsilon; } (&lt;i&gt;i&lt;/i&gt; = 1, &amp;hellip; &lt;i&gt;k&lt;/i&gt;).&lt;/p&gt;&lt;p&gt;Any string of the form (*) is in &amp;tau;(&lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;)) if and only if for all &lt;i&gt;i&lt;/i&gt; = 1, &amp;hellip; &lt;i&gt;k&lt;/i&gt;, either&lt;/p&gt;&lt;p&gt;&lt;i&gt;x&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; = [&lt;sub&gt;&lt;i&gt;A&lt;/i&gt;&lt;/sub&gt; [&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;A&lt;/i&gt;&lt;/sub&gt; and &lt;i&gt;y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; = &amp;epsilon;&lt;/p&gt;&lt;p&gt;or&lt;/p&gt;&lt;p&gt;&lt;i&gt;x&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; = &amp;epsilon; and &lt;i&gt;y&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; = [&lt;sub&gt;&lt;i&gt;B&lt;/i&gt;&lt;/sub&gt; [&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;B&lt;/i&gt;&lt;/sub&gt;.&lt;/p&gt;&lt;p&gt;This means that the 2&lt;sup&gt;&lt;i&gt;k&lt;/i&gt;&lt;/sup&gt; strings of the form&lt;/p&gt;&lt;p&gt;(**) [&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt; &lt;i&gt;x&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;hellip; [&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt; &lt;i&gt;x&lt;/i&gt;&lt;sub&gt;&lt;i&gt;k&lt;/i&gt;&lt;/sub&gt;, with &lt;i&gt;x&lt;/i&gt;&lt;sub&gt;&lt;i&gt;i&lt;/i&gt;&lt;/sub&gt; &amp;isin; { [&lt;sub&gt;&lt;i&gt;A&lt;/i&gt;&lt;/sub&gt; [&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; ]&lt;sub&gt;&lt;i&gt;A&lt;/i&gt;&lt;/sub&gt;, &amp;epsilon; } (&lt;i&gt;i&lt;/i&gt; = 1, &amp;hellip; &lt;i&gt;k&lt;/i&gt;)&lt;/p&gt;&lt;p&gt;are such that no two of them stand in the Myhill-Nerode right-congruence relation &amp;equiv;&lt;sub&gt;&amp;tau;(&lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;))&lt;/sub&gt; associated with &amp;tau;(&lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;)).&lt;/p&gt;&lt;p&gt;Now let &lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;4&lt;/sub&gt; be the set of Dyck primes over { [&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt;,]&lt;sub&gt;&lt;i&gt;S&lt;/i&gt;&lt;/sub&gt;,[&lt;sub&gt;&lt;i&gt;A&lt;/i&gt;&lt;/sub&gt;,]&lt;sub&gt;&lt;i&gt;A&lt;/i&gt;&lt;/sub&gt;,[&lt;sub&gt;&lt;i&gt;B&lt;/i&gt;&lt;/sub&gt;,]&lt;sub&gt;&lt;i&gt;B&lt;/i&gt;&lt;/sub&gt;,[&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt;,]&lt;sub&gt;&lt;i&gt;a&lt;/i&gt;&lt;/sub&gt; }, and &lt;i&gt;R&lt;/i&gt; be any regular set of strings.  Clearly, all strings of the form (**) stand in the relation &amp;equiv;&lt;sub&gt;&lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;4&lt;/sub&gt;&lt;/sub&gt; to each other.  Since &lt;i&gt;R&lt;/i&gt; is regular, &amp;equiv;&lt;sub&gt;&lt;i&gt;R&lt;/i&gt;&lt;/sub&gt; has only finitely many equivalence classes.  So if we choose large enough &lt;i&gt;k&lt;/i&gt;, there are distinct strings &lt;i&gt;w&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;i&gt;w&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; of the form (**) that stand in the relation &amp;equiv;&lt;sub&gt;&lt;i&gt;R&lt;/i&gt;&lt;/sub&gt;.  Since for any string languages &lt;i&gt;L&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; and &lt;i&gt;L&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;, &amp;equiv;&lt;sub&gt;&lt;i&gt;L&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt; &amp;cap; &lt;i&gt;L&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;&lt;/sub&gt; is a coarser equivalence relation than &amp;equiv;&lt;sub&gt;&lt;i&gt;L&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; &amp;cap; &amp;equiv;&lt;sub&gt;&lt;i&gt;L&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt;&lt;/sub&gt;, the strings &lt;i&gt;w&lt;/i&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;i&gt;w&lt;/i&gt;&lt;sub&gt;2&lt;/sub&gt; must stand in the relation &amp;equiv;&lt;sub&gt;&lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;4&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt;&lt;/sub&gt;.  Therefore, we cannot have &lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;4&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt; = &amp;tau;(&lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;)) for any regular set &lt;i&gt;R&lt;/i&gt;.  Since &amp;tau;(&lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;)) = &lt;i&gt;D&lt;/i&gt;&amp;prime;&lt;sub&gt;4&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt; is implied by &amp;tau;(&lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;)) = &lt;i&gt;D&lt;/i&gt;&lt;sub&gt;4&lt;/sub&gt; &amp;cap; &lt;i&gt;R&lt;/i&gt;, we cannot have the latter, either, for any regular &lt;i&gt;R&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Update January 18, 2012&lt;/strong&gt;: A similar proof appears in &lt;a href="http://arxiv.org/abs/cs/0606062"&gt;Libkin 2006&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;When is &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;) super-regular?  Chomsky's (1963) proposed sufficient condition was that &lt;i&gt;G&lt;/i&gt; be a &lt;em&gt;modified normal grammar&lt;/em&gt; in the sense that &lt;i&gt;G&lt;/i&gt; is in Chomsky normal form and contains no pair of rules&lt;/p&gt;&lt;p&gt;&lt;i&gt;A&lt;/i&gt; &amp;rarr; &lt;i&gt;B&lt;/i&gt; &lt;i&gt;C&lt;/i&gt;&lt;br /&gt;&lt;i&gt;D&lt;/i&gt; &amp;rarr; &lt;i&gt;C&lt;/i&gt; &lt;i&gt;E&lt;/i&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;for any nonterminals &lt;i&gt;A&lt;/i&gt;, &lt;i&gt;B&lt;/i&gt;, &lt;i&gt;C&lt;/i&gt;, &lt;i&gt;D&lt;/i&gt;, &lt;i&gt;E&lt;/i&gt;.  However, Chomsky's proof that (in our words) &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;) is super-regular for any modified normal grammar &lt;i&gt;G&lt;/i&gt; does not work.  Adding a further condition that says that if &lt;/p&gt;&lt;p&gt;&lt;i&gt;A&lt;/i&gt; &amp;rarr; &lt;i&gt;B&lt;/i&gt; &lt;i&gt;C&lt;/i&gt;&lt;br /&gt;&lt;i&gt;A&lt;/i&gt; &amp;rarr; &lt;i&gt;D&lt;/i&gt; &lt;i&gt;E&lt;/i&gt;&lt;br /&gt;&lt;i&gt;F&lt;/i&gt; &amp;rarr; &lt;i&gt;B&lt;/i&gt; &lt;i&gt;E&lt;/i&gt;&lt;/p&gt;&lt;p&gt;are rules of the grammar, then so is&lt;/p&gt;&lt;p&gt;&lt;i&gt;A&lt;/i&gt; &amp;rarr; &lt;i&gt;B&lt;/i&gt; &lt;i&gt;E&lt;/i&gt;&lt;/p&gt;&lt;p&gt;guarantees that &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;) is super-local.  I have so far been unable to tell whether there is any modified normal grammar &lt;i&gt;G&lt;/i&gt; for which &lt;i&gt;PT&lt;/i&gt;(&lt;i&gt;G&lt;/i&gt;) is not super-regular.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1980588588005373416-3598227773129698999?l=makotokanazawa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://makotokanazawa.blogspot.com/feeds/3598227773129698999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makotokanazawa.blogspot.com/2010/05/labeled-bracketings-and-chomsky.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default/3598227773129698999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default/3598227773129698999'/><link rel='alternate' type='text/html' href='http://makotokanazawa.blogspot.com/2010/05/labeled-bracketings-and-chomsky.html' title='Labeled Bracketings and the Chomsky-Schützenberger Theorem'/><author><name>Makoto Kanazawa</name><uri>http://www.blogger.com/profile/08107328482880816417</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1980588588005373416.post-1435303803760129809</id><published>2010-03-26T13:17:00.012+09:00</published><updated>2010-03-26T13:54:12.016+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='teaching'/><category scheme='http://www.blogger.com/atom/ns#' term='textbooks'/><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><category scheme='http://www.blogger.com/atom/ns#' term='book reviews'/><title type='text'>Mathematical Logic and Computability</title><content type='html'>I'll be teaching logic to graduate students in philosophy this coming semester.  The textbook I'll use is H. Jerome Keisler et al.'s (1996) &lt;a href="http://www.amazon.com/Mathematical-Computability-International-Applied-Mathematics/dp/0079129315/ref=sr_1_6?ie=UTF8&amp;amp;s=books&amp;amp;qid=1269577091&amp;amp;sr=8-6"&gt;&lt;i&gt;Mathematical Logic and Computability&lt;/i&gt;&lt;/a&gt;.  Despite the fact that it has many typos, I like this book.  It uses tableaus for proofs and register machines for computation.  It contains a detailed treatment of Gödel's Incompleteness Theorems.  The book's level is definitely more adequate for my purposes than Boolos and Jeffrey's &lt;i&gt;Computability and Logic&lt;/i&gt;.  I'll see how much of the book I can cover in two semesters.&lt;br /&gt;&lt;br /&gt;The book is out of print, but I found a PDF version at the following URL:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cs.mum.edu/courses/corazza/LogicAndComputability.pdf"&gt;http://www.cs.mum.edu/courses/corazza/LogicAndComputability.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This version is different from the older version that shows up in &lt;a href="http://scholar.google.com/scholar?hl=en&amp;amp;q=author%3AKeisler+intitle%3A%22mathematical+logic+and+computability%22"&gt;Google Scholar&lt;/a&gt;.  It's not exactly the same as the printed book, but it's very close.  (The title page of the PDF version lists Paul Corazza, H. Jerome Keisler, Kenneth Kunen, Terrence Millar, Arnold Miller, and Joel Robbin as the authors.)&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://projecteuclid.org/DPubS?service=UI&amp;amp;version=1.0&amp;amp;verb=Display&amp;amp;handle=euclid.rml/1081878072"&gt;review by Leon Harkleroad&lt;/a&gt; states that the definition of a recursively enumerable set in an exercise to Chapter 5 is incorrect.  I see nothing wrong with the definition, which reads:&lt;br /&gt;&lt;br /&gt;A subset &lt;i&gt;A&lt;/i&gt; ⊂ &lt;b&gt;N&lt;/b&gt; is &lt;b&gt;recursively enumerable&lt;/b&gt; (or r.e.) if &lt;i&gt;A&lt;/i&gt; = ∅ or &lt;i&gt;A&lt;/i&gt; is the range of a total computable function&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_owcQ8NsU6Xs/S6w81CDU7qI/AAAAAAAAB5s/tWPJAtbk0Ow/s1600/GNUMWIN.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="267" src="http://3.bp.blogspot.com/_owcQ8NsU6Xs/S6w81CDU7qI/AAAAAAAAB5s/tWPJAtbk0Ow/s320/GNUMWIN.png" width="320" /&gt;&lt;/a&gt;The book comes with a software package designed for DOS and Windows.  In the words of the authors, "The programs are copyrighted by the authors of this book and are part of the public domain."  I can't find the software anywhere on the web, but fortunately I still keep the diskette that came with my copy of the book.  I was able to run it on my Mac using &lt;a href="http://www.codeweavers.com/products/cxmac/"&gt;CrossOver Mac&lt;/a&gt;.  With &lt;a href="http://winebottler.kronenberg.org/"&gt;WineBottler&lt;/a&gt; I had less success.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1980588588005373416-1435303803760129809?l=makotokanazawa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://makotokanazawa.blogspot.com/feeds/1435303803760129809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makotokanazawa.blogspot.com/2010/03/mathematical-logic-and-computability.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default/1435303803760129809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default/1435303803760129809'/><link rel='alternate' type='text/html' href='http://makotokanazawa.blogspot.com/2010/03/mathematical-logic-and-computability.html' title='Mathematical Logic and Computability'/><author><name>Makoto Kanazawa</name><uri>http://www.blogger.com/profile/08107328482880816417</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_owcQ8NsU6Xs/S6w81CDU7qI/AAAAAAAAB5s/tWPJAtbk0Ow/s72-c/GNUMWIN.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1980588588005373416.post-2381675295370790362</id><published>2010-03-02T11:10:00.010+09:00</published><updated>2010-03-02T12:07:55.401+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='conference'/><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>Kit Fine's situation semantics</title><content type='html'>Kit Fine gave an invited talk at the &lt;a href="http://abelard.flet.keio.ac.jp/ontology/index.php?InterOntology10"&gt;Third Interdisciplinary Ontology Conference&lt;/a&gt; on Sunday, titled "A State-Based Approach to the Frame Problem".  He gives a kind of situation semantics to the classical propositional language, and then extends it to a hybrid modal language for reasoning about change.&lt;br /&gt;&lt;br /&gt;A model for the propositional language is an ordered triple (S,≤,[ ]), where (S,≤) is a partially ordered set of &lt;span style="font-style:italic;"&gt;states&lt;/span&gt; (his term for partial situations), subject to certain conditions, and [ ] is a valuation function assigning each propositional variable a pair ([p]&lt;sup&gt;+&lt;/sup&gt;,[p]&lt;sup&gt;-&lt;/sup&gt;) of sets of verifying and falsifying states, subject to certain natural conditions.  The recursive clauses for ∧ and ∨ are interesting:&lt;br /&gt;&lt;br /&gt;s verifies B ∧ C if for some t and u, t verifies B, u verifies C, and s = t+u (the l.u.b of {t,u}).&lt;br /&gt;s falsifies B ∧ C if s falsifies B or s falsifies C or for some t and u, t falsifies B, u falsifies C, and s = t+u.&lt;br /&gt;&lt;br /&gt;s verifies B ∨ C if s verifies B or s verifies C or for some t and u, t verifies B, u verifies C, and s = t+u.&lt;br /&gt;s falsifies B ∨ C if for some t and u, t falsifies B, u falsifies C, and s = t+u.&lt;br /&gt;&lt;br /&gt;Let (S,≤) be the upper semi-lattice generated by three states s&lt;sub&gt;1&lt;/sub&gt;, s&lt;sub&gt;2&lt;/sub&gt;, s&lt;sub&gt;3&lt;/sub&gt;.  Then (S,≤) is a state space according to Fine's definition.  Let p&lt;sub&gt;1&lt;/sub&gt;, p&lt;sub&gt;2&lt;/sub&gt;, p&lt;sub&gt;3&lt;/sub&gt; be propositional variables, and for each i = 1,2,3, let&lt;br /&gt;&lt;br /&gt;[p&lt;sub&gt;i&lt;/sub&gt;]&lt;sup&gt;+&lt;/sup&gt; = { s&lt;sub&gt;i&lt;/sub&gt; }, [p&lt;sub&gt;i&lt;/sub&gt;]&lt;sup&gt;-&lt;/sup&gt; = ∅.&lt;br /&gt;&lt;br /&gt;Then (S,≤,[ ]) is a model.  The formula (p&lt;sub&gt;1&lt;/sub&gt; ∧ p&lt;sub&gt;2&lt;/sub&gt;) ∨ p&lt;sub&gt;3&lt;/sub&gt; is verified by the states s&lt;sub&gt;1&lt;/sub&gt;+s&lt;sub&gt;2&lt;/sub&gt;, s&lt;sub&gt;3&lt;/sub&gt;, and s&lt;sub&gt;1&lt;/sub&gt;+s&lt;sub&gt;2&lt;/sub&gt;+s&lt;sub&gt;3&lt;/sub&gt;, but not by any other states.  This means that the recursive clauses do not preserve the following condition on the sets of verifying and falsifying states of a formula:&lt;br /&gt;&lt;br /&gt;s verifies A, u verifies A, and s ≤ t ≤ u imply t verifies A.&lt;br /&gt;s falsifies A, u falsifies A, and s ≤ t ≤ u imply t falsifies A.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1980588588005373416-2381675295370790362?l=makotokanazawa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://makotokanazawa.blogspot.com/feeds/2381675295370790362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makotokanazawa.blogspot.com/2010/03/kit-fines-situation-semantics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default/2381675295370790362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1980588588005373416/posts/default/2381675295370790362'/><link rel='alternate' type='text/html' href='http://makotokanazawa.blogspot.com/2010/03/kit-fines-situation-semantics.html' title='Kit Fine&apos;s situation semantics'/><author><name>Makoto Kanazawa</name><uri>http://www.blogger.com/profile/08107328482880816417</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
