{"id":{"repo_id":"star-france","oai_identifier":"2021LILUB030"},"canonical_url":"https://search.ndltd.org/etd/star-france/2021LILUB030","repository":{"repo_id":"star-france","name":"STAR","base_url":"https://staroai.theses.fr/OAIHandler"},"display":{"title":"Vérification de transformations de données arborescentes : les transducteurs d'arbres appliqués à un problème de vérification sur des scripts shell","abstract":"This thesis aims at studying models for representing transformations of trees,elaborating algorithms for verification on such models and applying these toolsto the transformations performed by scripts on file hierarchies. We especiallyfocus on using techniques and models from the tree transducers literature, asopposed to formalisms based on logical formulas.In the Debian GNU/Linux distribution in particular, Shell scripts are a crucialpart of the installation, update and removal of software packages. The Shellscripting language provides access to Unix commands performing changes onfile systems in addition to other tools.We model Unix file systems as feature trees and we represent theactions of Unix commands on a file system using a model we call tree patterntransducers. This model uses tree patterns to represent modifications onfeature trees, and it uses a system of constraints to represent the domainsof tree transformations. We translate Unix commands into this model. We thenprovide an algorithm for computing the composition of tree pattern transducers.Our final goal is to use this representation of commands to detectconfigurations of the file system in which a given Shell script can fail.Instead of computing the transducers corresponding to Unix commands andcomposing them, we opt to only compute the inverse image (we view commands asfunctions from trees to trees) of the set of all feature trees through Unixcommands successively. We examine the pros and cons of this algorithm andwe implement it. To represent inverse images we use a variation of the system ofconstraints designed to model the domains of tree pattern transducers. Theimplementation is then tested on a corpus of Debian package scripts. To betterinform the discussion around this algorithm's complexity, we give a proof thatthe problem we are solving is NP-hard, even on very restricted sets of scripts.In a more theoretical direction, we use techniques from the field of functionnalprogramming to shed new light on known models of transducers. We contribute anew class of transducers we call High-Order Deterministic tree Transducers(HODT) which generalizes some known models of tree transducers. HODT aredefined similarly to Top-down tree transducers (DTOP), but the output of rulesare simply-typed lambda-terms. We show how putting constraints on theseterms yields different known classes of transducers: restriction to terms oforder 0 yields the class of DTOP, while restriction to terms of order at most1 yields the class of Macro Tree Transducers (MTT). We give a procedure forcomputing the composition of two HODT. We show that the order of the compositionis the sum of the orders of the composed transducers, which gives an interestingexplanation of why DTOP are closed under composition (as HODT of order 0)but not MTT (HODT of order 1).In particular we study the restriction of HODT to linear terms, to which we addan inspection by a regular bottom-up automaton. We show that this modelrepresents the same tree-to-tree functions as other known classes oftransducers, notably Transductionsdefined by Monadic Second-Order logic (MSOT). We then prove a similar result forthe restriction to almost linear terms and an extension of MSOT called MonadicSecond-Order logic tree Transductions with Sharing of subtrees (MSOTS).We then give a specialized procedure for composition of linear HODT whichpreserves linearity. This procedure relies onlinear logic and coherence spaces. Because the time complexity of this proceduredepends a lot on the order of transducers, we give a procedure that allows us toreduce the order of linear and almost linear transducers.As a last part, we prove that the word language MIX defined as the commutativeclosure of the Dyck language does not belong to the class of EDT0L languages northe class of non-branching Multiple Context-Free Languages.","abstract_html":"This thesis aims at studying models for representing transformations of trees,elaborating algorithms for verification on such models and applying these toolsto the transformations performed by scripts on file hierarchies. We especiallyfocus on using techniques and models from the tree transducers literature, asopposed to formalisms based on logical formulas.In the Debian GNU/Linux distribution in particular, Shell scripts are a crucialpart of the installation, update and removal of software packages. The Shellscripting language provides access to Unix commands performing changes onfile systems in addition to other tools.We model Unix file systems as feature trees and we represent theactions of Unix commands on a file system using a model we call tree patterntransducers. This model uses tree patterns to represent modifications onfeature trees, and it uses a system of constraints to represent the domainsof tree transformations. We translate Unix commands into this model. We thenprovide an algorithm for computing the composition of tree pattern transducers.Our final goal is to use this representation of commands to detectconfigurations of the file system in which a given Shell script can fail.Instead of computing the transducers corresponding to Unix commands andcomposing them, we opt to only compute the inverse image (we view commands asfunctions from trees to trees) of the set of all feature trees through Unixcommands successively. We examine the pros and cons of this algorithm andwe implement it. To represent inverse images we use a variation of the system ofconstraints designed to model the domains of tree pattern transducers. Theimplementation is then tested on a corpus of Debian package scripts. To betterinform the discussion around this algorithm&#x27;s complexity, we give a proof thatthe problem we are solving is NP-hard, even on very restricted sets of scripts.In a more theoretical direction, we use techniques from the field of functionnalprogramming to shed new light on known models of transducers. We contribute anew class of transducers we call High-Order Deterministic tree Transducers(HODT) which generalizes some known models of tree transducers. HODT aredefined similarly to Top-down tree transducers (DTOP), but the output of rulesare simply-typed lambda-terms. We show how putting constraints on theseterms yields different known classes of transducers: restriction to terms oforder 0 yields the class of DTOP, while restriction to terms of order at most1 yields the class of Macro Tree Transducers (MTT). We give a procedure forcomputing the composition of two HODT. We show that the order of the compositionis the sum of the orders of the composed transducers, which gives an interestingexplanation of why DTOP are closed under composition (as HODT of order 0)but not MTT (HODT of order 1).In particular we study the restriction of HODT to linear terms, to which we addan inspection by a regular bottom-up automaton. We show that this modelrepresents the same tree-to-tree functions as other known classes oftransducers, notably Transductionsdefined by Monadic Second-Order logic (MSOT). We then prove a similar result forthe restriction to almost linear terms and an extension of MSOT called MonadicSecond-Order logic tree Transductions with Sharing of subtrees (MSOTS).We then give a specialized procedure for composition of linear HODT whichpreserves linearity. This procedure relies onlinear logic and coherence spaces. Because the time complexity of this proceduredepends a lot on the order of transducers, we give a procedure that allows us toreduce the order of linear and almost linear transducers.As a last part, we prove that the word language MIX defined as the commutativeclosure of the Dyck language does not belong to the class of EDT0L languages northe class of non-branching Multiple Context-Free Languages.","abstract_has_math":false,"creators":["Gallot, Paul D."],"institution":"Université de Lille (2018-2021)","degree_name":"Docteur es","degree_level":"Doctorat","degree_discipline":"Informatique et applications","degree_department":null,"school":null,"contributors":["Université de Lille (2018-2021)"],"advisors":["Salvati, Sylvain","Lemay, Aurélien"],"committee_chairs":["Tison, Sophie"],"committee_members":["Baillot, Patrick","Maneth, Sebastian"],"year":2021,"date_issued":"2021-12-16","date_published":"2021-12-16","updated_at":"2026-11-27T10:07:29Z","subjects":["Scripts","Transducteurs de motifs d’arbres","Arbres","Trees","Transducers"],"languages":["en"],"rights":["Open Access"],"rights_urls":["http://purl.org/eprint/accessRights/OpenAccess"],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://theses.fr/2021LILUB030","https://theses.hal.science/tel-03773108","https://theses.fr/2021LILUB030/abes"],"render_values":[{"text":"https://theses.fr/2021LILUB030","href":"https://theses.fr/2021LILUB030","code":true},{"text":"https://theses.hal.science/tel-03773108","href":"https://theses.hal.science/tel-03773108","code":true},{"text":"https://theses.fr/2021LILUB030/abes","href":"https://theses.fr/2021LILUB030/abes","code":true}]},{"key":"dc:identifier","label":"Identifier","values":["http://www.theses.fr/2021LILUB030/document"],"render_values":[{"text":"http://www.theses.fr/2021LILUB030/document","href":"http://www.theses.fr/2021LILUB030/document","code":true}]},{"key":"dc:contributor.researchpartner.identifier","label":"Dc Contributor Researchpartner Identifier","values":["410272","https://www.idref.fr/18388695X"],"render_values":[{"text":"410272","href":null,"code":true},{"text":"https://www.idref.fr/18388695X","href":"https://www.idref.fr/18388695X","code":true}]},{"key":"thesis:doctoral_school_identifier","label":"Thesis Doctoral School Identifier","values":["https://www.idref.fr/258621362"],"render_values":[{"text":"https://www.idref.fr/258621362","href":"https://www.idref.fr/258621362","code":true}]},{"key":"thesis:institution_identifier","label":"Thesis Institution Identifier","values":["https://www.idref.fr/223446556"],"render_values":[{"text":"https://www.idref.fr/223446556","href":"https://www.idref.fr/223446556","code":true}]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["2021LILUB030"],"render_values":[{"text":"2021LILUB030","href":null,"code":true}]}],"person_identifier_entries":[{"key":"person:identifier.idref","label":"Person Identifier Idref","values":["https://www.idref.fr/263230902","https://www.idref.fr/090492420","https://www.idref.fr/080475205","https://www.idref.fr/132778343","https://www.idref.fr/19709340X","https://www.idref.fr/069891281","https://www.idref.fr/122252020"],"render_values":[{"text":"https://www.idref.fr/263230902","href":"https://www.idref.fr/263230902","code":true},{"text":"https://www.idref.fr/090492420","href":"https://www.idref.fr/090492420","code":true},{"text":"https://www.idref.fr/080475205","href":"https://www.idref.fr/080475205","code":true},{"text":"https://www.idref.fr/132778343","href":"https://www.idref.fr/132778343","code":true},{"text":"https://www.idref.fr/19709340X","href":"https://www.idref.fr/19709340X","code":true},{"text":"https://www.idref.fr/069891281","href":"https://www.idref.fr/069891281","code":true},{"text":"https://www.idref.fr/122252020","href":"https://www.idref.fr/122252020","code":true}]}]},"links":{"outbound_url":"https://doi.org/10.70675/1a3b7bc3zc9b4z4af4z873fz5d3d5401aea8","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.70675/1a3b7bc3zc9b4z4af4z873fz5d3d5401aea8","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":"open","embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Astar-france%3A2021LILUB030","prefix":"oai_dc"},"source_record":{"url":"https://staroai.theses.fr/OAIHandler?verb=GetRecord&metadataPrefix=tef&identifier=2021LILUB030","prefix":"tef"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Université de Lille (2018-2021)","Salvati, Sylvain","Lemay, Aurélien"]},{"key":"dc:contributor.advisor","label":"Advisor","values":["Salvati, Sylvain","Lemay, Aurélien"]},{"key":"dc:contributor.committeechair","label":"Committee Chair","values":["Tison, Sophie"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Baillot, Patrick","Maneth, Sebastian"]},{"key":"dc:contributor.examiner","label":"Dc Contributor Examiner","values":["Reynier, Pierre-Alain","Schmitz, Sylvain"]},{"key":"dc:contributor.researchpartner","label":"Dc Contributor Researchpartner","values":["Centre de Recherche en Informatique, Signal et Automatique de Lille"]},{"key":"dc:contributor.researchpartner.identifier","label":"Dc Contributor Researchpartner Identifier","values":["410272","https://www.idref.fr/18388695X"]},{"key":"dc:creator","label":"Author","values":["Gallot, Paul D."]},{"key":"person:birthdate","label":"Person Birthdate","values":["1993-11-12"]},{"key":"person:identifier.idref","label":"Person Identifier Idref","values":["https://www.idref.fr/263230902","https://www.idref.fr/090492420","https://www.idref.fr/080475205","https://www.idref.fr/132778343","https://www.idref.fr/19709340X","https://www.idref.fr/069891281","https://www.idref.fr/122252020"]},{"key":"person:name.birth","label":"Person Name Birth","values":["Gallot"]},{"key":"person:nationality","label":"Person Nationality","values":["FR"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2021-12-16"]},{"key":"dc:date.dateaccepted","label":"Dc Date Dateaccepted","values":["2021-12-16"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation","Text"]},{"key":"dc:type.dcmitype","label":"Dc Type Dcmitype","values":["Text"]},{"key":"thesis:by_published_works","label":"Thesis By Published Works","values":["non"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Informatique et applications"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctorat"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Docteur es"]},{"key":"thesis:doctoral_school","label":"Thesis Doctoral School","values":["École graduée Mathématiques, sciences du numérique et de leurs interactions (Lille ; 2021-....)"]},{"key":"thesis:doctoral_school_identifier","label":"Thesis Doctoral School Identifier","values":["https://www.idref.fr/258621362"]},{"key":"thesis:institution_identifier","label":"Thesis Institution Identifier","values":["https://www.idref.fr/223446556"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Université de Lille (2018-2021)"]},{"key":"thesis:jury_release_opinion","label":"Thesis Jury Release Opinion","values":["oui"]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["2021LILUB030"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Scripts","Transducteurs de motifs d’arbres","Arbres","Trees","Transducers"]},{"key":"dc:subject.rameau","label":"Dc Subject Rameau","values":["Arbres (théorie des graphes) -- Informatique","Théorie des machines séquentielles","Lambda-calcul","Programmation fonctionnelle (informatique)","Fichiers (informatique) -- Organisation","Systèmes de Lindenmayer"]},{"key":"dc:subject.uri","label":"Dc Subject URI","values":["https://www.idref.fr/031535801","https://www.idref.fr/027440850","https://www.idref.fr/027576345","https://www.idref.fr/030510821","https://www.idref.fr/027392104","https://www.idref.fr/031498981"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["en"]},{"key":"dc:language.rfc3066","label":"Language (RFC 3066)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["Open Access","http://purl.org/eprint/accessRights/OpenAccess"]},{"key":"dc:rights.permissions","label":"Dc Rights Permissions","values":["display, duplicate, print"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://www.theses.fr/2021LILUB030/document"]},{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.70675/1a3b7bc3zc9b4z4af4z873fz5d3d5401aea8"]},{"key":"dc:identifier.fulltext","label":"Full Text Identifier","values":["LILU/THESE_183073/document/0/0/These_GALLOT_Paul_D.pdf"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://theses.fr/2021LILUB030","https://theses.hal.science/tel-03773108","https://theses.fr/2021LILUB030/abes"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["This thesis aims at studying models for representing transformations of trees,elaborating algorithms for verification on such models and applying these toolsto the transformations performed by scripts on file hierarchies. We especiallyfocus on using techniques and models from the tree transducers literature, asopposed to formalisms based on logical formulas.In the Debian GNU/Linux distribution in particular, Shell scripts are a crucialpart of the installation, update and removal of software packages. The Shellscripting language provides access to Unix commands performing changes onfile systems in addition to other tools.We model Unix file systems as feature trees and we represent theactions of Unix commands on a file system using a model we call tree patterntransducers. This model uses tree patterns to represent modifications onfeature trees, and it uses a system of constraints to represent the domainsof tree transformations. We translate Unix commands into this model. We thenprovide an algorithm for computing the composition of tree pattern transducers.Our final goal is to use this representation of commands to detectconfigurations of the file system in which a given Shell script can fail.Instead of computing the transducers corresponding to Unix commands andcomposing them, we opt to only compute the inverse image (we view commands asfunctions from trees to trees) of the set of all feature trees through Unixcommands successively. We examine the pros and cons of this algorithm andwe implement it. To represent inverse images we use a variation of the system ofconstraints designed to model the domains of tree pattern transducers. Theimplementation is then tested on a corpus of Debian package scripts. To betterinform the discussion around this algorithm's complexity, we give a proof thatthe problem we are solving is NP-hard, even on very restricted sets of scripts.In a more theoretical direction, we use techniques from the field of functionnalprogramming to shed new light on known models of transducers. We contribute anew class of transducers we call High-Order Deterministic tree Transducers(HODT) which generalizes some known models of tree transducers. HODT aredefined similarly to Top-down tree transducers (DTOP), but the output of rulesare simply-typed lambda-terms. We show how putting constraints on theseterms yields different known classes of transducers: restriction to terms oforder 0 yields the class of DTOP, while restriction to terms of order at most1 yields the class of Macro Tree Transducers (MTT). We give a procedure forcomputing the composition of two HODT. We show that the order of the compositionis the sum of the orders of the composed transducers, which gives an interestingexplanation of why DTOP are closed under composition (as HODT of order 0)but not MTT (HODT of order 1).In particular we study the restriction of HODT to linear terms, to which we addan inspection by a regular bottom-up automaton. We show that this modelrepresents the same tree-to-tree functions as other known classes oftransducers, notably Transductionsdefined by Monadic Second-Order logic (MSOT). We then prove a similar result forthe restriction to almost linear terms and an extension of MSOT called MonadicSecond-Order logic tree Transductions with Sharing of subtrees (MSOTS).We then give a specialized procedure for composition of linear HODT whichpreserves linearity. This procedure relies onlinear logic and coherence spaces. Because the time complexity of this proceduredepends a lot on the order of transducers, we give a procedure that allows us toreduce the order of linear and almost linear transducers.As a last part, we prove that the word language MIX defined as the commutativeclosure of the Dyck language does not belong to the class of EDT0L languages northe class of non-branching Multiple Context-Free Languages."]},{"key":"dc:description.abstract","label":"Abstract","values":["This thesis aims at studying models for representing transformations of trees,elaborating algorithms for verification on such models and applying these toolsto the transformations performed by scripts on file hierarchies. We especiallyfocus on using techniques and models from the tree transducers literature, asopposed to formalisms based on logical formulas.In the Debian GNU/Linux distribution in particular, Shell scripts are a crucialpart of the installation, update and removal of software packages. The Shellscripting language provides access to Unix commands performing changes onfile systems in addition to other tools.We model Unix file systems as feature trees and we represent theactions of Unix commands on a file system using a model we call tree patterntransducers. This model uses tree patterns to represent modifications onfeature trees, and it uses a system of constraints to represent the domainsof tree transformations. We translate Unix commands into this model. We thenprovide an algorithm for computing the composition of tree pattern transducers.Our final goal is to use this representation of commands to detectconfigurations of the file system in which a given Shell script can fail.Instead of computing the transducers corresponding to Unix commands andcomposing them, we opt to only compute the inverse image (we view commands asfunctions from trees to trees) of the set of all feature trees through Unixcommands successively. We examine the pros and cons of this algorithm andwe implement it. To represent inverse images we use a variation of the system ofconstraints designed to model the domains of tree pattern transducers. Theimplementation is then tested on a corpus of Debian package scripts. To betterinform the discussion around this algorithm's complexity, we give a proof thatthe problem we are solving is NP-hard, even on very restricted sets of scripts.In a more theoretical direction, we use techniques from the field of functionnalprogramming to shed new light on known models of transducers. We contribute anew class of transducers we call High-Order Deterministic tree Transducers(HODT) which generalizes some known models of tree transducers. HODT aredefined similarly to Top-down tree transducers (DTOP), but the output of rulesare simply-typed lambda-terms. We show how putting constraints on theseterms yields different known classes of transducers: restriction to terms oforder 0 yields the class of DTOP, while restriction to terms of order at most1 yields the class of Macro Tree Transducers (MTT). We give a procedure forcomputing the composition of two HODT. We show that the order of the compositionis the sum of the orders of the composed transducers, which gives an interestingexplanation of why DTOP are closed under composition (as HODT of order 0)but not MTT (HODT of order 1).In particular we study the restriction of HODT to linear terms, to which we addan inspection by a regular bottom-up automaton. We show that this modelrepresents the same tree-to-tree functions as other known classes oftransducers, notably Transductionsdefined by Monadic Second-Order logic (MSOT). We then prove a similar result forthe restriction to almost linear terms and an extension of MSOT called MonadicSecond-Order logic tree Transductions with Sharing of subtrees (MSOTS).We then give a specialized procedure for composition of linear HODT whichpreserves linearity. This procedure relies onlinear logic and coherence spaces. Because the time complexity of this proceduredepends a lot on the order of transducers, we give a procedure that allows us toreduce the order of linear and almost linear transducers.As a last part, we prove that the word language MIX defined as the commutativeclosure of the Dyck language does not belong to the class of EDT0L languages northe class of non-branching Multiple Context-Free Languages."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["1445118"]},{"key":"dc:format.filetype","label":"Dc Format Filetype","values":["PDF"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["PDF"]},{"key":"dc:title","label":"Title","values":["Vérification de transformations de données arborescentes : les transducteurs d'arbres appliqués à un problème de vérification sur des scripts shell","Safety of transformations of data trees : tree transducer theory applied to a verification problem on shell scripts"]},{"key":"dc:title.alternative","label":"Alternative Title","values":["Safety of transformations of data trees : tree transducer theory applied to a verification problem on shell scripts"]},{"key":"tef:authorizedname","label":"Tef Authorizedname","values":["Salvati, Sylvain","Ecole doctorale Mathématiques, sciences du numérique et de leurs interactions (Lille)","Lemay, Aurélien","Centre de recherche en informatique, signal et automatique de Lille (CRIStAL)","Tison, Sophie","Baillot, Patrick","Maneth, Sebastian","Reynier, Pierre-Alain","Schmitz, Sylvain"]},{"key":"tef:internalref","label":"Tef Internalref","values":["MADS_DIRECTEUR_DE_THESE_1","MADS_PRESIDENT_DU_JURY","MADS_MEMBRE_DU_JURY_1","MADS_RAPPORTEUR_1","MADS_ECOLE_DOCTORALE_1","MADS_PARTENAIRE_DE_RECHERCHE_1","MADS_DIRECTEUR_DE_THESE_2","MADS_MEMBRE_DU_JURY_2","MADS_RAPPORTEUR_2"]},{"key":"tef:oaisetspec","label":"Tef Oaisetspec","values":["ddc:004"]},{"key":"tef:record.agent","label":"Tef Record Agent","values":["ABES"]},{"key":"tef:record.agentnote","label":"Tef Record Agentnote","values":["Note"]},{"key":"tef:record.created","label":"Tef Record Created","values":["2022-05-13T08:52:23"]},{"key":"tef:record.modified","label":"Tef Record Modified","values":["2025-09-17T14:20:01Z"]},{"key":"tef:record.status","label":"Tef Record Status","values":["valide"]}]}],"canonical_facts":{"dc:contributor":["Université de Lille (2018-2021)","Salvati, Sylvain","Lemay, Aurélien"],"dc:contributor.advisor":["Salvati, Sylvain","Lemay, Aurélien"],"dc:contributor.committeechair":["Tison, Sophie"],"dc:contributor.committeemember":["Baillot, Patrick","Maneth, Sebastian"],"dc:contributor.examiner":["Reynier, Pierre-Alain","Schmitz, Sylvain"],"dc:contributor.researchpartner":["Centre de Recherche en Informatique, Signal et Automatique de Lille"],"dc:contributor.researchpartner.identifier":["410272","https://www.idref.fr/18388695X"],"dc:creator":["Gallot, Paul D."],"dc:date":["2021-12-16"],"dc:date.dateaccepted":["2021-12-16"],"dc:description":["This thesis aims at studying models for representing transformations of trees,elaborating algorithms for verification on such models and applying these toolsto the transformations performed by scripts on file hierarchies. We especiallyfocus on using techniques and models from the tree transducers literature, asopposed to formalisms based on logical formulas.In the Debian GNU/Linux distribution in particular, Shell scripts are a crucialpart of the installation, update and removal of software packages. The Shellscripting language provides access to Unix commands performing changes onfile systems in addition to other tools.We model Unix file systems as feature trees and we represent theactions of Unix commands on a file system using a model we call tree patterntransducers. This model uses tree patterns to represent modifications onfeature trees, and it uses a system of constraints to represent the domainsof tree transformations. We translate Unix commands into this model. We thenprovide an algorithm for computing the composition of tree pattern transducers.Our final goal is to use this representation of commands to detectconfigurations of the file system in which a given Shell script can fail.Instead of computing the transducers corresponding to Unix commands andcomposing them, we opt to only compute the inverse image (we view commands asfunctions from trees to trees) of the set of all feature trees through Unixcommands successively. We examine the pros and cons of this algorithm andwe implement it. To represent inverse images we use a variation of the system ofconstraints designed to model the domains of tree pattern transducers. Theimplementation is then tested on a corpus of Debian package scripts. To betterinform the discussion around this algorithm's complexity, we give a proof thatthe problem we are solving is NP-hard, even on very restricted sets of scripts.In a more theoretical direction, we use techniques from the field of functionnalprogramming to shed new light on known models of transducers. We contribute anew class of transducers we call High-Order Deterministic tree Transducers(HODT) which generalizes some known models of tree transducers. HODT aredefined similarly to Top-down tree transducers (DTOP), but the output of rulesare simply-typed lambda-terms. We show how putting constraints on theseterms yields different known classes of transducers: restriction to terms oforder 0 yields the class of DTOP, while restriction to terms of order at most1 yields the class of Macro Tree Transducers (MTT). We give a procedure forcomputing the composition of two HODT. We show that the order of the compositionis the sum of the orders of the composed transducers, which gives an interestingexplanation of why DTOP are closed under composition (as HODT of order 0)but not MTT (HODT of order 1).In particular we study the restriction of HODT to linear terms, to which we addan inspection by a regular bottom-up automaton. We show that this modelrepresents the same tree-to-tree functions as other known classes oftransducers, notably Transductionsdefined by Monadic Second-Order logic (MSOT). We then prove a similar result forthe restriction to almost linear terms and an extension of MSOT called MonadicSecond-Order logic tree Transductions with Sharing of subtrees (MSOTS).We then give a specialized procedure for composition of linear HODT whichpreserves linearity. This procedure relies onlinear logic and coherence spaces. Because the time complexity of this proceduredepends a lot on the order of transducers, we give a procedure that allows us toreduce the order of linear and almost linear transducers.As a last part, we prove that the word language MIX defined as the commutativeclosure of the Dyck language does not belong to the class of EDT0L languages northe class of non-branching Multiple Context-Free Languages."],"dc:description.abstract":["This thesis aims at studying models for representing transformations of trees,elaborating algorithms for verification on such models and applying these toolsto the transformations performed by scripts on file hierarchies. We especiallyfocus on using techniques and models from the tree transducers literature, asopposed to formalisms based on logical formulas.In the Debian GNU/Linux distribution in particular, Shell scripts are a crucialpart of the installation, update and removal of software packages. The Shellscripting language provides access to Unix commands performing changes onfile systems in addition to other tools.We model Unix file systems as feature trees and we represent theactions of Unix commands on a file system using a model we call tree patterntransducers. This model uses tree patterns to represent modifications onfeature trees, and it uses a system of constraints to represent the domainsof tree transformations. We translate Unix commands into this model. We thenprovide an algorithm for computing the composition of tree pattern transducers.Our final goal is to use this representation of commands to detectconfigurations of the file system in which a given Shell script can fail.Instead of computing the transducers corresponding to Unix commands andcomposing them, we opt to only compute the inverse image (we view commands asfunctions from trees to trees) of the set of all feature trees through Unixcommands successively. We examine the pros and cons of this algorithm andwe implement it. To represent inverse images we use a variation of the system ofconstraints designed to model the domains of tree pattern transducers. Theimplementation is then tested on a corpus of Debian package scripts. To betterinform the discussion around this algorithm's complexity, we give a proof thatthe problem we are solving is NP-hard, even on very restricted sets of scripts.In a more theoretical direction, we use techniques from the field of functionnalprogramming to shed new light on known models of transducers. We contribute anew class of transducers we call High-Order Deterministic tree Transducers(HODT) which generalizes some known models of tree transducers. HODT aredefined similarly to Top-down tree transducers (DTOP), but the output of rulesare simply-typed lambda-terms. We show how putting constraints on theseterms yields different known classes of transducers: restriction to terms oforder 0 yields the class of DTOP, while restriction to terms of order at most1 yields the class of Macro Tree Transducers (MTT). We give a procedure forcomputing the composition of two HODT. We show that the order of the compositionis the sum of the orders of the composed transducers, which gives an interestingexplanation of why DTOP are closed under composition (as HODT of order 0)but not MTT (HODT of order 1).In particular we study the restriction of HODT to linear terms, to which we addan inspection by a regular bottom-up automaton. We show that this modelrepresents the same tree-to-tree functions as other known classes oftransducers, notably Transductionsdefined by Monadic Second-Order logic (MSOT). We then prove a similar result forthe restriction to almost linear terms and an extension of MSOT called MonadicSecond-Order logic tree Transductions with Sharing of subtrees (MSOTS).We then give a specialized procedure for composition of linear HODT whichpreserves linearity. This procedure relies onlinear logic and coherence spaces. Because the time complexity of this proceduredepends a lot on the order of transducers, we give a procedure that allows us toreduce the order of linear and almost linear transducers.As a last part, we prove that the word language MIX defined as the commutativeclosure of the Dyck language does not belong to the class of EDT0L languages northe class of non-branching Multiple Context-Free Languages."],"dc:format.extent":["1445118"],"dc:format.filetype":["PDF"],"dc:format.medium":["PDF"],"dc:identifier":["http://www.theses.fr/2021LILUB030/document"],"dc:identifier.doi":["https://doi.org/10.70675/1a3b7bc3zc9b4z4af4z873fz5d3d5401aea8"],"dc:identifier.fulltext":["LILU/THESE_183073/document/0/0/These_GALLOT_Paul_D.pdf"],"dc:identifier.uri":["https://theses.fr/2021LILUB030","https://theses.hal.science/tel-03773108","https://theses.fr/2021LILUB030/abes"],"dc:language":["en"],"dc:language.rfc3066":["en"],"dc:rights":["Open Access","http://purl.org/eprint/accessRights/OpenAccess"],"dc:rights.permissions":["display, duplicate, print"],"dc:subject":["Scripts","Transducteurs de motifs d’arbres","Arbres","Trees","Transducers"],"dc:subject.rameau":["Arbres (théorie des graphes) -- Informatique","Théorie des machines séquentielles","Lambda-calcul","Programmation fonctionnelle (informatique)","Fichiers (informatique) -- Organisation","Systèmes de Lindenmayer"],"dc:subject.uri":["https://www.idref.fr/031535801","https://www.idref.fr/027440850","https://www.idref.fr/027576345","https://www.idref.fr/030510821","https://www.idref.fr/027392104","https://www.idref.fr/031498981"],"dc:title":["Vérification de transformations de données arborescentes : les transducteurs d'arbres appliqués à un problème de vérification sur des scripts shell","Safety of transformations of data trees : tree transducer theory applied to a verification problem on shell scripts"],"dc:title.alternative":["Safety of transformations of data trees : tree transducer theory applied to a verification problem on shell scripts"],"dc:type":["Electronic Thesis or Dissertation","Text"],"dc:type.dcmitype":["Text"],"person:birthdate":["1993-11-12"],"person:identifier.idref":["https://www.idref.fr/263230902","https://www.idref.fr/090492420","https://www.idref.fr/080475205","https://www.idref.fr/132778343","https://www.idref.fr/19709340X","https://www.idref.fr/069891281","https://www.idref.fr/122252020"],"person:name.birth":["Gallot"],"person:nationality":["FR"],"tef:authorizedname":["Salvati, Sylvain","Ecole doctorale Mathématiques, sciences du numérique et de leurs interactions (Lille)","Lemay, Aurélien","Centre de recherche en informatique, signal et automatique de Lille (CRIStAL)","Tison, Sophie","Baillot, Patrick","Maneth, Sebastian","Reynier, Pierre-Alain","Schmitz, Sylvain"],"tef:internalref":["MADS_DIRECTEUR_DE_THESE_1","MADS_PRESIDENT_DU_JURY","MADS_MEMBRE_DU_JURY_1","MADS_RAPPORTEUR_1","MADS_ECOLE_DOCTORALE_1","MADS_PARTENAIRE_DE_RECHERCHE_1","MADS_DIRECTEUR_DE_THESE_2","MADS_MEMBRE_DU_JURY_2","MADS_RAPPORTEUR_2"],"tef:oaisetspec":["ddc:004"],"tef:record.agent":["ABES"],"tef:record.agentnote":["Note"],"tef:record.created":["2022-05-13T08:52:23"],"tef:record.modified":["2025-09-17T14:20:01Z"],"tef:record.status":["valide"],"thesis:by_published_works":["non"],"thesis:degree_discipline":["Informatique et applications"],"thesis:degree_level":["Doctorat"],"thesis:degree_name":["Docteur es"],"thesis:doctoral_school":["École graduée Mathématiques, sciences du numérique et de leurs interactions (Lille ; 2021-....)"],"thesis:doctoral_school_identifier":["https://www.idref.fr/258621362"],"thesis:institution_identifier":["https://www.idref.fr/223446556"],"thesis:institution_name":["Université de Lille (2018-2021)"],"thesis:jury_release_opinion":["oui"],"thesis:thesis_identifier":["2021LILUB030"]},"updated_at":"2026-11-27T10:07:29Z"}