<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">mais</journal-id><journal-title-group><journal-title xml:lang="ru">Моделирование и анализ информационных систем</journal-title><trans-title-group xml:lang="en"><trans-title>Modeling and Analysis of Information Systems</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1818-1015</issn><issn pub-type="epub">2313-5417</issn><publisher><publisher-name>Yaroslavl State University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.18255/1818-1015-2017-4-415-433</article-id><article-id custom-type="elpub" pub-id-type="custom">mais-532</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Оригинальные статьи</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>Articles</subject></subj-group></article-categories><title-group><article-title>О задаче минимизации последовательных программ</article-title><trans-title-group xml:lang="en"><trans-title>On the Minimization Problem for Sequential Programs</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-3794-9565</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Захаров</surname><given-names>Владимир Анатольевич</given-names></name><name name-style="western" xml:lang="en"><surname>Zakharov</surname><given-names>Vladimir A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>д-р физ.-мат. наук, ст. науч. сотр., факультет компьютерных наук</p></bio><bio xml:lang="en"><p>PhD, senior researcher, Faculty of Computer Science</p></bio><email xlink:type="simple">zakh@cs.msu.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Жайлауова</surname><given-names>Шынар Рустамбековна</given-names></name><name name-style="western" xml:lang="en"><surname>Zhailauova</surname><given-names>Shynar R.</given-names></name></name-alternatives><bio xml:lang="ru"><p>магистр, факультет ВМК</p></bio><bio xml:lang="en"><p>graduate student, Faculty of Computational Mathematics and Cybernetics</p></bio><email xlink:type="simple">gulgaisha93@mail.ru</email><xref ref-type="aff" rid="aff-2"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Национальный исследовательский университет "Высшая школа экономики"</institution><country>Россия</country></aff><aff xml:lang="en"><institution>National Reserach University Higher School of Economics</institution><country>Russian Federation</country></aff></aff-alternatives><aff-alternatives id="aff-2"><aff xml:lang="ru"><institution>Московский государственный университет им. М.В. Ломоносова</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Lomonosov Moscow State University</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2017</year></pub-date><pub-date pub-type="epub"><day>31</day><month>08</month><year>2017</year></pub-date><volume>24</volume><issue>4</issue><fpage>415</fpage><lpage>433</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Захаров В.А., Жайлауова Ш.Р., 2017</copyright-statement><copyright-year>2017</copyright-year><copyright-holder xml:lang="ru">Захаров В.А., Жайлауова Ш.Р.</copyright-holder><copyright-holder xml:lang="en">Zakharov V.A., Zhailauova S.R.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.mais-journal.ru/jour/article/view/532">https://www.mais-journal.ru/jour/article/view/532</self-uri><abstract><p>Стандартные схемы программ — это одна из наиболее простых моделей последовательных императивных программ, предназначенная для решения задач оптимизации и верификации программ. Мы рассматриваем разрешимое отношение логико-термальной эквивалентности стандартных схем программ и задачу минимизации их размера при условии сохранения отношения логико-термальной эквивалентности. Нами доказано, что эта задача является алгоритмически разрешимой. Далее показано, что стандартные схемы программ с отношением логико-термальной эквивалентности и конечные детерминированные автоматы-преобразователи, работающие над полугруппами подстановок, взаимно транслируются друг в друга. Отсюда следует, что также разрешимы задачи проверки эквивалентности и минимизации для преобразователей указанного вида. Кроме того, на основе обнаруженной взаимосвязи выделен подкласс стандартных схем программ, минимизация которых осуществима за полиномиальное время при помощи ранее известных методов минимизации автоматов-преобразователей, работающих над полугруппами. В заключении приведен пример, свидетельствующий о том, что в общем случае задача минимизации автоматов- преобразователей над полугруппой подстановок может иметь несколько неизоморфных решений. </p></abstract><trans-abstract xml:lang="en"><p>First-order program schemata is one of the simplest models of sequential imperative programs intended for solving verification and optimization problems. We consider the decidable relation of logical-thermal equivalence of these schemata and the problem of their size minimization while preserving logical-thermal equivalence. We prove that this problem is decidable. Further we show that the first-order program schemata supplied with logical-thermal equivalence and finite state deterministic transducers operating over substitutions are mutually translated into each other. This relationship implies that the equivalence checking problem and the minimization problem for these transducers are also decidable. In addition, on the basis of the discovered relationship, we have found a subclass of firstorder program schemata such that their minimization can be performed in polynomial time by means of known techniques for minimization of finite state transducers operating over semigroups. Finally, we demonstrate that in general case the minimization problem for finite state transducers over semigroups may have several non-isomorphic solutions.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>последовательная программа</kwd><kwd>автомат-преобразователь</kwd><kwd>минимизация</kwd><kwd>подстановка</kwd><kwd>полугруппа</kwd><kwd>эквивалентность</kwd></kwd-group><kwd-group xml:lang="en"><kwd>sequential program</kwd><kwd>transducer</kwd><kwd>minimization</kwd><kwd>substitution</kwd><kwd>semigroup</kwd><kwd>equivalence</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Глушков В. М., Летичевский А. А., “Теория дискретных преобразователей”, Избранные вопросы алгебры и логики, Новосибирск, 1973, 5–39</mixed-citation><mixed-citation xml:lang="en">Glushkov V. M., Letichevskij A. A., “Teoriya diskretnyh preobrazovatelej”, Izbrannye voprosy algebry i logiki, Novosibirsk, 1973, 5–39, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Ершов А. П., “Сведение задачи экономии памяти при составлении программ к задаче раскраски вершин графа”, Доклады АН СССР, 142:4 (1962), 785–787</mixed-citation><mixed-citation xml:lang="en">Ershov A. P., “Svedenie zadachi ekonomii pamyati pri sostavlenii programm k zadache raskraski vershin grafa”, Doklady AN SSSR, 142:4 (1962), 785–787, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Ершов А. П., “Современное состояние теории схем программ”, Проблемы кибернетики, 27, 1973, 87–110</mixed-citation><mixed-citation xml:lang="en">Ershov A. P., “Sovremennoe sostoyanie teorii skhem program”, Problemy kibernetiki, 27 (1973), 87–110, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Захаров В. А., Новикова Т. А., “Полиномиальный по времени алгоритм проверки логико-термальной эквивалентности программ ”, Труды Института системного программирования РАН, 22 (2012), 435–455</mixed-citation><mixed-citation xml:lang="en">Zakharov V. A., Novikova T. A., “Polynomial time algorithm for checking strong equivalence of program”, Proceedings of the Institute for System Programming, 22 (2012), 435–455, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Захаров В. А., Подымов В. В., “Применение алгоритмов проверки эквивалентности для оптимизации программ”, Труды Института системного программирования РАН, 27:4 (2015), 145–174</mixed-citation><mixed-citation xml:lang="en">Zakharov V. A., Podymov V. V., “On the application of equivalence checking algorithms for program minimization”, Proceedings of the Institute for System Programming, 27:4 (2015), 145–174, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Захаров В. А., Темербекова Г. Г., “О минимизации конечных автоматов-преобразователей над полугруппами ”, Моделирование и анализ информационных систем, 23:6 (2016), 741–753</mixed-citation><mixed-citation xml:lang="en">Zakharov V. A., Temerbekova G. G., “On the Minimization of Finite State Transducers over Semigroups”, Modeling and Analysis of Information Systems, 23:6 (2016), 741–753, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Захаров В. А., Проблема эквивалентности программ: модели, алгоритмы, сложность, М., 2016, 304 с.</mixed-citation><mixed-citation xml:lang="en">Zakharov V. A., Problema ekvivalentnosti programm: modeli, algoritmy, slozhnost, Moskva, 2016, 304 pp., (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Иткин В. Э., “Логико-термальная эквивалентность схем программ”, Кибернетика, 1972, № 1, 5–27</mixed-citation><mixed-citation xml:lang="en">Itkin V. E., “Logiko-termalnaya ekvivalentnost skhem program”, Cybernetics, 1972, № 1, 5–27, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Котов В. Е., Сабельфельд В. К., Теория схем программ, Наука, М., 1991, 248 с.</mixed-citation><mixed-citation xml:lang="en">Kotov V. E., Sabel’fel’d V. K., Teoriya skhem program, Nauka, Moskva, 1991, 248 pp., (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Криницкий Н. А., Равносильные преобразования алгоритмов и программирование, М., 1970, 304 с.</mixed-citation><mixed-citation xml:lang="en">Krinitskiy N. A., Ravnosilnye preobrazovaniya algoritmov i programmirovanie, Moskva, 1970, 304 pp., (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Лавров С. С., “Об экономии памяти в замкнутых операторных схемах”, Журнал вычислительной математики и математической физики, 1:4 (1961), 687–701</mixed-citation><mixed-citation xml:lang="en">Lavrov S. S., “Store economy in closed operator schemes”, U.S.S.R. Comput. Math. Math. Phys., 1:3 (1962), 810–828</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">Ляпунов А. А., “О логических схемах программ”, Проблемы кибернетики, 1, 1958, 46– 74</mixed-citation><mixed-citation xml:lang="en">Lyapunov A. A., “O logicheskikh skhemakh program”, Problemy kibernetiki, 1, 1958, 46–74, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">Подловченко Р. И., “Модели последовательных программ, применяемые для изучения функциональной эквивалентности программ”, Кибернетика, 1979, № 1, 20–28</mixed-citation><mixed-citation xml:lang="en">Podlovchenko R. I., “Models of sequential programs used to study functional equivalence of programs”, Cybern Syst Anal, 15:1 (1979), 22–31.</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">Янов Ю. И., “О логических схемах алгоритмов”, Проблемы кибернетики, 1, 1958, 75– 127</mixed-citation><mixed-citation xml:lang="en">Yanov Yu. I., “O logicheskikh skhemakh algoritmov”, Problemy kibernetiki, 1, 1958, 75–127, (in Russian)</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">Eder E., “Properties of substitutions and unifications”, Journal of Symbolic Computations, 1:1 (1985), 31–46.</mixed-citation><mixed-citation xml:lang="en">Eder E., “Properties of substitutions and unifications”, Journal of Symbolic Computations, 1:1 (1985), 31–46</mixed-citation></citation-alternatives></ref><ref id="cit16"><label>16</label><citation-alternatives><mixed-citation xml:lang="ru">Ershov A. P., “Alpha — an automatic programming system of high efficiency”, Journal of the Association for Computing Machinary, 13:1 (1966), 17–24.</mixed-citation><mixed-citation xml:lang="en">Ershov A. P., “Alpha — an automatic programming system of high efficiency”, Journal of the Association for Computing Machinary, 13:1 (1966), 17–24.</mixed-citation></citation-alternatives></ref><ref id="cit17"><label>17</label><citation-alternatives><mixed-citation xml:lang="ru">Friedman E. P., “Equivalence problems for deterministic languages and monadic recursion schemes”, Journal of Computer System Science, 14:3 (1977), 362–399.</mixed-citation><mixed-citation xml:lang="en">Friedman E. P., “Equivalence problems for deterministic languages and monadic recursion schemes”, Journal of Computer System Science, 14:3 (1977), 362–399.</mixed-citation></citation-alternatives></ref><ref id="cit18"><label>18</label><citation-alternatives><mixed-citation xml:lang="ru">Harju T., Karhumaki J., “The equivalence of multi-tape finite automata”, Theoretical Computer Science, 78:2 (1991), 347–355.</mixed-citation><mixed-citation xml:lang="en">Harju T., Karhumaki J., “The equivalence of multi-tape finite automata”, Theoretical Computer Science, 78:2 (1991), 347–355.</mixed-citation></citation-alternatives></ref><ref id="cit19"><label>19</label><citation-alternatives><mixed-citation xml:lang="ru">Luckham D. C., Park D. M., Paterson M. S., “On formalized computer programs”, Journal of Computer and System Science, 4:3 (1970), 220–249.</mixed-citation><mixed-citation xml:lang="en">Luckham D. C., Park D. M., Paterson M. S., “On formalized computer programs”, Journal of Computer and System Science, 4:3 (1970), 220–249.</mixed-citation></citation-alternatives></ref><ref id="cit20"><label>20</label><citation-alternatives><mixed-citation xml:lang="ru">Mohri M., “Minimization algorithms for sequential transducers”, Theoretical Computer Science, 234 (2000), 177–201.</mixed-citation><mixed-citation xml:lang="en">Mohri M., “Minimization algorithms for sequential transducers”, Theoretical Computer Science, 234 (2000), 177–201.</mixed-citation></citation-alternatives></ref><ref id="cit21"><label>21</label><citation-alternatives><mixed-citation xml:lang="ru">Muchnick S., Advanced Compiler Design and Implementation, 1997, 1–856.</mixed-citation><mixed-citation xml:lang="en">Muchnick S., Advanced Compiler Design and Implementation, 1997, 1–856.</mixed-citation></citation-alternatives></ref><ref id="cit22"><label>22</label><citation-alternatives><mixed-citation xml:lang="ru">Rutledge J. D., “Program schemata as automata”, Proc. of the 11-th Annual Symposium on Switching and Automata Theory (SWAT 1970), 1970, 7–24.</mixed-citation><mixed-citation xml:lang="en">Rutledge J. D., “Program schemata as automata”, Proc. of the 11-th Annual Symposium on Switching and Automata Theory (SWAT 1970), 1970, 7–24.</mixed-citation></citation-alternatives></ref><ref id="cit23"><label>23</label><citation-alternatives><mixed-citation xml:lang="ru">Sabelfeld V. K., “The logic-termal equivalence is polynomial-time decidable”, Information Processing Letters, 10:2 (1980), 57–62.</mixed-citation><mixed-citation xml:lang="en">Sabelfeld V. K., “The logic-termal equivalence is polynomial-time decidable”, Information Processing Letters, 10:2 (1980), 57–62.</mixed-citation></citation-alternatives></ref><ref id="cit24"><label>24</label><citation-alternatives><mixed-citation xml:lang="ru">Senizergues G., “The equivalence problem for deterministic pushdown automata is decidable”, Proc. of the 24-th International Colloquium on Automata, Languages, and Programming (ICALP-1997). Lecture Notes in Computer Science, 1256 (1997), 671–681.</mixed-citation><mixed-citation xml:lang="en">Senizergues G., “The equivalence problem for deterministic pushdown automata is decidable”, Proc. of the 24-th International Colloquium on Automata, Languages, and Programming (ICALP-1997). Lecture Notes in Computer Science, 1256 (1997), 671–681.</mixed-citation></citation-alternatives></ref><ref id="cit25"><label>25</label><citation-alternatives><mixed-citation xml:lang="ru">Shofrutt C., “Minimizing subsequential transducers: a survey”, Theoretical Computer Science, 292 (2003), 131–143.</mixed-citation><mixed-citation xml:lang="en">Shofrutt C., “Minimizing subsequential transducers: a survey”, Theoretical Computer Science, 292 (2003), 131–143.</mixed-citation></citation-alternatives></ref><ref id="cit26"><label>26</label><citation-alternatives><mixed-citation xml:lang="ru">Watson B.W., “A taxonomy of finite automata minimization algorithm”, Computing Science Report. Eindhoven University of Technology, 93/44 (2005), 1–32.</mixed-citation><mixed-citation xml:lang="en">Watson B.W., “A taxonomy of finite automata minimization algorithm”, Computing Science Report. Eindhoven University of Technology, 93/44 (2005), 1–32.</mixed-citation></citation-alternatives></ref><ref id="cit27"><label>27</label><citation-alternatives><mixed-citation xml:lang="ru">Zakharov V. A., “On the decidability of the equivalence problem for orthogonal sequential programs”, Grammars, 2:3 (1999), 271–281.</mixed-citation><mixed-citation xml:lang="en">Zakharov V. A., “On the decidability of the equivalence problem for orthogonal sequential programs”, Grammars, 2:3 (1999), 271–281.</mixed-citation></citation-alternatives></ref><ref id="cit28"><label>28</label><citation-alternatives><mixed-citation xml:lang="ru">Zakharov V. A., “Equivalence checking problem for finite state transducers over semigroups”, Proc. of the 6-th International Conference on Algebraic Informatics (CAI- 2015). Lecture Notes in Computer Science, 9270 (2015), 208–221</mixed-citation><mixed-citation xml:lang="en">Zakharov V. A., “Equivalence checking problem for finite state transducers over semigroups”, Proc. of the 6-th International Conference on Algebraic Informatics (CAI- 2015). Lecture Notes in Computer Science, 9270 (2015), 208–221.</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
