{"id":730,"date":"2015-10-27T10:06:04","date_gmt":"2015-10-27T09:06:04","guid":{"rendered":"http:\/\/www.mimuw.edu.pl\/~bojan\/?page_id=730"},"modified":"2015-10-27T10:06:04","modified_gmt":"2015-10-27T09:06:04","slug":"finite-dimension-undecidable-problems","status":"publish","type":"page","link":"https:\/\/www.mimuw.edu.pl\/~bojan\/20152016-2\/jezyki-automaty-i-obliczenia-2\/3-weighted-automata\/finite-dimension-undecidable-problems","title":{"rendered":"Finite dimension \u2013 undecidable problems"},"content":{"rendered":"<p><strong>Theorem.\u00a0<\/strong>The following problem is undecidable:<br \/>\n\u2022 input: a weighted automaton;<br \/>\n\u2022 question: is some word mapped to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-feeea53a29d15d4e9198ed4912329ce0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"8\" style=\"vertical-align: 0px;\"\/>?<\/p>\n<p>The archetypical function that can be computed by a weighted automaton is mapping a string of digits to its interpretation as a fraction stored in binary (or ternary, etc) notation. This construction is described in the following lemma.<\/p>\n<p><strong>Lemma 1. <\/strong>For every alphabet <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-aeb6fee794feaade92eebde4e9865fd9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"11\" style=\"vertical-align: 0px;\"\/>\u00a0there is a finite weighted automaton which computes an injective function to the strictly positive reals <\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-6981270fd4a63f9df7b78067878239e3_l3.png\" height=\"16\" width=\"95\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#102;&#32;&#58;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#42;&#32;&#92;&#116;&#111;&#32;&#92;&#102;&#105;&#101;&#108;&#100;&#95;&#123;&#62;&#48;&#125;&#46;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p><strong>Proof. <\/strong>Without loss of generality, assume that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-1beb7089362aa327e27592d878f57777_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#61;&#32;&#92;&#115;&#101;&#116;&#123;&#48;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#110;&#45;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"126\" style=\"vertical-align: -4px;\"\/>.\u00a0The idea is to treat an input <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-1f13c3a266d8c14abaa6e074445deba7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;&#95;&#49;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#97;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"10\" width=\"50\" style=\"vertical-align: -3px;\"\/> as a\u00a0fraction in base <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-1581bd603826320b358d867162d09127_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"7\" width=\"9\" style=\"vertical-align: 0px;\"\/>: <\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 28px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-04daf8f6b99471e7db22462a48423928_l3.png\" height=\"28\" width=\"130\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#102;&#114;&#97;&#99;&#123;&#97;&#95;&#49;&#125;&#123;&#110;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#97;&#95;&#50;&#125;&#123;&#110;&#94;&#50;&#125;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#97;&#95;&#110;&#125;&#123;&#110;&#94;&#105;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> The only problem with this solution is that trailing zeros are ignored. Therefore, the automaton adds an imaginary 1 to the end of the input. To implement this procedure by an automaton, we do the following. Its state space is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-41d8e5fdd6641c391d37a4aecd83da04_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#102;&#105;&#101;&#108;&#100;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"17\" style=\"vertical-align: 0px;\"\/>. The idea is that the first coordinate stores the value of the input seen so far, while the second stores <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-03bdee1513d206764c337b8cf33009d5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#47;&#123;&#110;&#94;&#123;&#105;&#43;&#49;&#125;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"43\" style=\"vertical-align: -4px;\"\/> where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-94b2245f3ac0472586363dd0fde68eb5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"5\" style=\"vertical-align: 0px;\"\/> is the length of the input read so far. \u00a0The initial vector is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-433eeb2a9d31efc52a58d723ff749843_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#48;&#44;&#49;&#47;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"50\" style=\"vertical-align: -4px;\"\/>. For <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-c93137d159f5917ab3023aedf59219c8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;&#32;&#92;&#105;&#110;&#32;&#92;&#83;&#105;&#103;&#109;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"38\" style=\"vertical-align: -1px;\"\/>, the state update function is the linear function <\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 28px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-59b3878881e65ffb0827d9f56edc630c_l3.png\" height=\"28\" width=\"158\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#100;&#101;&#108;&#116;&#97;&#95;&#97;&#32;&#40;&#120;&#44;&#121;&#41;&#32;&#61;&#32;&#40;&#120;&#43;&#32;&#97;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#121;&#32;&#44;&#32;&#92;&#102;&#114;&#97;&#99;&#32;&#121;&#32;&#110;&#41;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> The output function is <\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-ef0d501b072fce2a96939dbbca2c3165_l3.png\" height=\"16\" width=\"96\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#40;&#120;&#44;&#121;&#41;&#32;&#92;&#109;&#97;&#112;&#115;&#116;&#111;&#32;&#120;&#43;&#121;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> which corresponds to adding the imaginary 1 at the end of the output. <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-b06cee67d5b1a769f0a344ace98d5692_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#66;&#111;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"11\" style=\"vertical-align: 0px;\"\/><\/p>\n<p>For a Turing machine <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-361fcbd59862666c6a4178483821b904_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"17\" style=\"vertical-align: 0px;\"\/>, define <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-f598689e93b919b359058a4c8c875098_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;&#95;&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"24\" style=\"vertical-align: -2px;\"\/> to be the work alphabet of the machine plus pairs of the form (letter of the work alphabet, state of the machine). A configuration of the machine is represented as a word over this alphabet, where exactly one letter is of the pair type, and describes the position of the head. For example, the word <\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-c9fef94c9ec9b14d7022344f8a60c536_l3.png\" height=\"16\" width=\"57\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#97;&#32;&#98;&#32;&#40;&#97;&#44;&#113;&#41;&#32;&#98;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> represents a configuration where the tape content is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-b9e36277fe346990696588cc2f395634_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;&#98;&#97;&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"30\" style=\"vertical-align: 0px;\"\/> and the head is over the third cell with state <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-7b295853314f2d5a3c49b7e96e28be64_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#113;\" title=\"Rendered by QuickLaTeX.com\" height=\"10\" width=\"7\" style=\"vertical-align: -3px;\"\/>.<\/p>\n<p>Below, by transducer we mean a deterministic finite automaton where each transition is labelled by possibly empty output word. This is a slightly more general model than the one in the<a href=\"http:\/\/www.mimuw.edu.pl\/~bojan\/20152016-2\/jezyki-automaty-i-obliczenia-2\/mcnaughtons-theorem\"> lecture on determinisation.<\/a><\/p>\n<p><strong>Lemma 2.\u00a0<\/strong>Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-361fcbd59862666c6a4178483821b904_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"17\" style=\"vertical-align: 0px;\"\/> be a Turing machine. There exists a transducer <\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 17px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-8ae56bb25689f10b984f939b4ae13772_l3.png\" height=\"17\" width=\"132\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#115;&#32;&#58;&#32;&#40;&#92;&#83;&#105;&#103;&#109;&#97;&#95;&#77;&#41;&#94;&#42;&#32;&#92;&#116;&#111;&#32;&#40;&#92;&#83;&#105;&#103;&#109;&#97;&#95;&#77;&#41;&#94;&#42;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> such that if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-f9800766135a5d5e1ecb294ffa77f154_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#99;\" title=\"Rendered by QuickLaTeX.com\" height=\"7\" width=\"7\" style=\"vertical-align: 0px;\"\/> represents a configuration of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-361fcbd59862666c6a4178483821b904_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"17\" style=\"vertical-align: 0px;\"\/>, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-704690f5a7a60b8bc7a66f466fd8fef0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#40;&#92;&#114;&#104;&#111;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"26\" style=\"vertical-align: -4px;\"\/> represents its successor configuration.<\/p>\n<p><strong>Proof.\u00a0<\/strong>The automaton has a one letter buffer in case the head will want to move to the left. <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-b06cee67d5b1a769f0a344ace98d5692_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#66;&#111;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"11\" style=\"vertical-align: 0px;\"\/><\/p>\n<p>The following lemma shows some closure properties of functions recognised by weighted automata.<\/p>\n<p><strong>Lemma 3. <\/strong>Suppose that functions\u00a0<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-44f32f4f3f5d00c582be8c08073f2464_l3.png\" height=\"16\" width=\"88\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#102;&#44;&#103;&#32;&#58;&#32;&#92;&#71;&#97;&#109;&#109;&#97;&#94;&#42;&#32;&#92;&#116;&#111;&#32;&#92;&#102;&#105;&#101;&#108;&#100;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> are\u00a0recognised by finite weighted automata, and let <\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 15px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-e8dd36525695188d9df112449f02263b_l3.png\" height=\"15\" width=\"158\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#115;&#32;&#58;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#42;&#32;&#92;&#116;&#111;&#32;&#92;&#71;&#97;&#109;&#109;&#97;&#94;&#42;&#32;&#92;&#113;&#113;&#117;&#97;&#100;&#32;&#76;&#32;&#92;&#115;&#117;&#98;&#115;&#101;&#116;&#101;&#113;&#32;&#92;&#71;&#97;&#109;&#109;&#97;&#94;&#42;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> be a transducer and regular language, respectively. Then the following functions are also recognised by finite weighted automata:<br \/>\n\u2022 the sum\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-554b600215493bbe7605d37726ba1ddf_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#43;&#103;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"36\" style=\"vertical-align: -3px;\"\/>;<br \/>\n\u2022 the scalar multiple <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-a8e0b52ab16f5a1b6abc17a6d970628b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"17\" style=\"vertical-align: -3px;\"\/> for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-5d1c730322eb91b715e03af71e7421ff_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;&#32;&#92;&#105;&#110;&#32;&#92;&#102;&#105;&#101;&#108;&#100;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"38\" style=\"vertical-align: -1px;\"\/>;<br \/>\n\u2022 the composition\u00a0 <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-abd34b67d5989f60c888751841692c17_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#32;&#92;&#99;&#105;&#114;&#99;&#32;&#115;&#32;&#58;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#94;&#42;&#32;&#92;&#116;&#111;&#32;&#92;&#71;&#97;&#109;&#109;&#97;&#94;&#42;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"103\" style=\"vertical-align: -3px;\"\/>;<br \/>\n\u2022 the function which is defined as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-f93f283f23c84021475a1b4449b05867_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"9\" style=\"vertical-align: -3px;\"\/> on <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-c2289d1b720dbeb200c7be3944b43068_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"10\" style=\"vertical-align: 0px;\"\/> and as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-f3f120665f850c6a82881aea7d8128c9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#103;\" title=\"Rendered by QuickLaTeX.com\" height=\"10\" width=\"8\" style=\"vertical-align: -3px;\"\/> outside <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-c2289d1b720dbeb200c7be3944b43068_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"10\" style=\"vertical-align: 0px;\"\/>.<\/p>\n<p><strong>Proof. <\/strong>The sum and scalar multiple are immediate. For composition with a transducer, suppose that the state space of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-f93f283f23c84021475a1b4449b05867_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"9\" style=\"vertical-align: -3px;\"\/> is\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-1a26f947d142a8a62b62447d6287eab2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#102;&#105;&#101;&#108;&#100;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"18\" style=\"vertical-align: 0px;\"\/> and the transducer <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-c6d1d6f0a1a5b87babbeeb59a5dfe99f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"7\" width=\"7\" style=\"vertical-align: 0px;\"\/> has states <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-bed8547872890507f19a89d0b85aac65_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#81;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"12\" style=\"vertical-align: -3px;\"\/>. Then the weighted automaton for the composition <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-47a50f212c72fdfe7841aa9a80394db7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#32;&#92;&#99;&#105;&#114;&#99;&#32;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"31\" style=\"vertical-align: -3px;\"\/> has state space <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-e72f65b96ab560b90df6db6049f59f53_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#102;&#105;&#101;&#108;&#100;&#94;&#123;&#110;&#32;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#81;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"36\" style=\"vertical-align: 0px;\"\/>. After reading an input where the transducer would end up in state <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-7b295853314f2d5a3c49b7e96e28be64_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#113;\" title=\"Rendered by QuickLaTeX.com\" height=\"10\" width=\"7\" style=\"vertical-align: -3px;\"\/>, the number stored in coordinate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-52653c5df2cf1787a6eaed4d3dde3e44_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#105;&#44;&#113;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"30\" style=\"vertical-align: -4px;\"\/> is the same as number stored in coordinate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-94b2245f3ac0472586363dd0fde68eb5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"5\" style=\"vertical-align: 0px;\"\/> by the original weighted automaton, and it is zero otherwise. The &#8220;if then else&#8221; construction in the last item of the lemma can be seen as a special case of the transducer, by using a transducer which appends to the word a bit which says if the input belonged to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-c2289d1b720dbeb200c7be3944b43068_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#76;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"10\" style=\"vertical-align: 0px;\"\/>. \u00a0<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-b06cee67d5b1a769f0a344ace98d5692_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#66;&#111;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"11\" style=\"vertical-align: 0px;\"\/><\/p>\n<p>Suppose that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-361fcbd59862666c6a4178483821b904_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"17\" style=\"vertical-align: 0px;\"\/> is a Turing machine. We will construct a weighted automaton with input alphabet <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-7aa9709b98e3d7c1a5d078c81b19b8a0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#83;&#105;&#103;&#109;&#97;&#95;&#77;&#32;&#92;&#99;&#117;&#112;&#32;&#92;&#115;&#101;&#116;&#32;&#92;&#35;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"70\" style=\"vertical-align: -4px;\"\/> \u00a0such that the Turing machine has an accepting computation if and only if the automaton maps some\u00a0nonempty word to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-feeea53a29d15d4e9198ed4912329ce0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"8\" style=\"vertical-align: 0px;\"\/>. The automaton works as follows. Apply Lemma 1 to get an injective function<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 17px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-9c981c6a71dd7649ba85bc979255174c_l3.png\" height=\"17\" width=\"162\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#32;&#102;&#32;&#58;&#32;&#40;&#92;&#83;&#105;&#103;&#109;&#97;&#95;&#77;&#32;&#92;&#99;&#117;&#112;&#32;&#92;&#115;&#101;&#116;&#32;&#123;&#92;&#35;&#125;&#41;&#94;&#42;&#32;&#92;&#116;&#111;&#32;&#92;&#102;&#105;&#101;&#108;&#100;&#95;&#123;&#62;&#48;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> and apply Lemma 2 to the machine <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-361fcbd59862666c6a4178483821b904_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"17\" style=\"vertical-align: 0px;\"\/> yielding a transducer <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-c6d1d6f0a1a5b87babbeeb59a5dfe99f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"7\" width=\"7\" style=\"vertical-align: 0px;\"\/> which computes the successor configurations of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-361fcbd59862666c6a4178483821b904_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"17\" style=\"vertical-align: 0px;\"\/>. Consider now the function <\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 17px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-c62d59bdbf0eda4a5ce3e1f098da5d88_l3.png\" height=\"17\" width=\"146\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#103;&#32;&#58;&#32;&#40;&#92;&#83;&#105;&#103;&#109;&#97;&#95;&#77;&#32;&#92;&#99;&#117;&#112;&#32;&#92;&#115;&#101;&#116;&#123;&#92;&#35;&#125;&#41;&#94;&#42;&#32;&#92;&#116;&#111;&#32;&#92;&#102;&#105;&#101;&#108;&#100;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> defined as:<br \/>\n\u2022 if the input is of the form<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 17px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-ea529eab47d10ca3760312eea8c87278_l3.png\" height=\"17\" width=\"244\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#99;&#95;&#49;&#32;&#92;&#35;&#32;&#99;&#95;&#50;&#32;&#92;&#35;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#92;&#35;&#32;&#99;&#95;&#110;&#32;&#92;&#113;&#113;&#117;&#97;&#100;&#32;&#92;&#109;&#98;&#111;&#120;&#123;&#119;&#105;&#116;&#104;&#32;&#125;&#32;&#99;&#95;&#105;&#32;&#92;&#105;&#110;&#32;&#40;&#92;&#83;&#105;&#103;&#109;&#97;&#95;&#77;&#41;&#94;&#42;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p> where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-770201896fb9ca7428c89a912d32706b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#99;&#95;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"10\" width=\"13\" style=\"vertical-align: -3px;\"\/> is the initial configuration over the empty input and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-cf4e12fd15f163080c240f48bf48b1a1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#99;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"14\" style=\"vertical-align: -2px;\"\/> is an accepting state, then the output is<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-f777e243de40b0f69cb731aef7767df6_l3.png\" height=\"16\" width=\"270\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#102;&#40;&#99;&#95;&#50;&#32;&#92;&#35;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#92;&#35;&#32;&#99;&#95;&#110;&#41;&#32;&#45;&#32;&#102;&#40;&#115;&#40;&#99;&#95;&#49;&#41;&#92;&#35;&#32;&#92;&#99;&#100;&#111;&#116;&#115;&#32;&#92;&#35;&#32;&#115;&#40;&#99;&#95;&#123;&#110;&#45;&#49;&#125;&#41;&#41;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\u2022 otherwise, the output is \u00a0<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-2807c0cf30a938b52105c42c9e2dd2db_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: -1px;\"\/>.<br \/>\nThe definition of \u00a0the function is defined in terms of the four closure operations given in Lemma 3, and therefore it is recognised by a finite weighted automaton. The only way for the function to output 0 is to get on input an accepting computation of the Turing machine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Theorem.\u00a0The following problem is undecidable: \u2022 input: a weighted automaton; \u2022 question: is some word mapped to ? The archetypical function that can be computed by a weighted automaton is mapping a string of digits to its interpretation as a fraction stored in binary (or ternary, etc) notation. This construction is described in the following [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":634,"menu_order":3,"comment_status":"open","ping_status":"open","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-730","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/730"}],"collection":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/comments?post=730"}],"version-history":[{"count":34,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/730\/revisions"}],"predecessor-version":[{"id":764,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/730\/revisions\/764"}],"up":[{"embeddable":true,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/634"}],"wp:attachment":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/media?parent=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}