{"id":789,"date":"2015-12-14T17:17:23","date_gmt":"2015-12-14T16:17:23","guid":{"rendered":"http:\/\/www.mimuw.edu.pl\/~bojan\/?page_id=789"},"modified":"2015-12-15T12:03:27","modified_gmt":"2015-12-15T11:03:27","slug":"6-transducers","status":"publish","type":"page","link":"https:\/\/www.mimuw.edu.pl\/~bojan\/20152016-2\/jezyki-automaty-i-obliczenia-2\/6-transducers","title":{"rendered":"6. Transducers"},"content":{"rendered":"<p>In this part of the lecture, we talk about automata which define functions<\/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-81f62e155e17c19de15110b771b68917_l3.png\" height=\"16\" width=\"81\" 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;&#71;&#97;&#109;&#109;&#97;&#94;&#42;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>Such automata are called transducers. Examples of functions that we wish to model include:<\/p>\n<ol>\n<li>\u00a0replace every <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-b9876851baf92019e82e43590932dc73_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"7\" width=\"8\" style=\"vertical-align: 0px;\"\/> by <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-d164b13e13a51517b6039136e0a957b5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"7\" style=\"vertical-align: 0px;\"\/><\/li>\n<li>duplicate every <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-b9876851baf92019e82e43590932dc73_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"7\" width=\"8\" style=\"vertical-align: 0px;\"\/><\/li>\n<li>duplicate every letter at an even-numbered position<\/li>\n<li>swap the first and last letter<\/li>\n<li>identity if the last letter is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-content\/ql-cache\/quicklatex.com-b9876851baf92019e82e43590932dc73_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"7\" width=\"8\" style=\"vertical-align: 0px;\"\/>, otherwise erase the entire word<\/li>\n<li>duplicate the entire word<\/li>\n<li>reverse the entire word<\/li>\n<\/ol>\n<p>The simplest possible model, which has already been discussed in previous lectures, is a deterministic finite automaton over the input alphabet, where every transition is labelled by letter of the output alphabet (this is enough to cover example 1), or a possibly empty word over the output alphabet (this is enough to cover examples 2 and 3).<\/p>\n<p>The remaining examples require additional features. We describe two groups of transducers in the rest of the lecture.<\/p>\n<p>In <a href=\"http:\/\/www.mimuw.edu.pl\/~bojan\/20152016-2\/jezyki-automaty-i-obliczenia-2\/6-transducers\/left-to-right-transducers\">this lecture<\/a>, we describe nondeterministic finite automata with output, as well as two other models that have the same expressive power. These models are sufficient to cover examples 4 and 5.<\/p>\n<p>To cover functions like duplication or reverse, much more power is needed. One solution is to use\u00a0<a href=\"http:\/\/www.mimuw.edu.pl\/~bojan\/20152016-2\/jezyki-automaty-i-obliczenia-2\/6-transducers\/two-way-transducers\">two-way transducers<\/a>. Another solution is to uses <a href=\"http:\/\/www.mimuw.edu.pl\/~bojan\/20152016-2\/jezyki-automaty-i-obliczenia-2\/6-transducers\/register-transducers\">one-way automata with registers<\/a>. Finally, we show that these solutions are equivalent.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this part of the lecture, we talk about automata which define functions &nbsp; &nbsp; Such automata are called transducers. Examples of functions that we wish to model include: \u00a0replace every by duplicate every duplicate every letter at an even-numbered position swap the first and last letter identity if the last letter is , otherwise [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":535,"menu_order":6,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-789","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/789"}],"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=789"}],"version-history":[{"count":21,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/789\/revisions"}],"predecessor-version":[{"id":859,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/789\/revisions\/859"}],"up":[{"embeddable":true,"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/pages\/535"}],"wp:attachment":[{"href":"https:\/\/www.mimuw.edu.pl\/~bojan\/wp-json\/wp\/v2\/media?parent=789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}