{"id":{"repo_id":"strathclyde","oai_identifier":"oai:strathclyde:dr26xx847"},"canonical_url":"https://search.ndltd.org/etd/strathclyde/oai:strathclyde:dr26xx847","repository":{"repo_id":"strathclyde","name":"University of Strathclyde","base_url":"https://stax.strath.ac.uk/catalog/oai"},"display":{"title":"Syntaxes with binding, their programs, and proofs","abstract":"Almost every programming language’s syntax includes a notion of binder and corresponding bound occurrences, along with the accompanying notions of ?-equivalence, capture-avoiding substitution, typing contexts, runtime environments, and so on.In the past, implementing and reasoning about programming languages required careful handling to maintain the correct behaviour of bound variables. Modern programming languages include features that enable constraints like scope safety to be expressed in types. Nevertheless, the programmer is still forced to write the same boilerplate over again for each new implementation of a scope safe operation (e.g., renaming, substitution, desugaring, printing, etc.), and then again for correctness proofs.In a case study focusing on the simply typed lambda calculus, we analyse these well scoped traversals and observe that they all share the same structure. This enables us to formulate them as instances of a more general program whose properties can be established generically. Alas, the programmer is still forced to duplicate this effort for every new language they implement.This leads us to defining an expressive universe of syntaxes with binding and to demonstrate how to implement scope safe traversals once and for all by generic programming and how to derive properties of these traversals by generic proving. Our universe description, generic traversals and proofs, and our examples have all been formalised in Agda.","abstract_html":"Almost every programming language’s syntax includes a notion of binder and corresponding bound occurrences, along with the accompanying notions of ?-equivalence, capture-avoiding substitution, typing contexts, runtime environments, and so on.In the past, implementing and reasoning about programming languages required careful handling to maintain the correct behaviour of bound variables. Modern programming languages include features that enable constraints like scope safety to be expressed in types. Nevertheless, the programmer is still forced to write the same boilerplate over again for each new implementation of a scope safe operation (e.g., renaming, substitution, desugaring, printing, etc.), and then again for correctness proofs.In a case study focusing on the simply typed lambda calculus, we analyse these well scoped traversals and observe that they all share the same structure. This enables us to formulate them as instances of a more general program whose properties can be established generically. Alas, the programmer is still forced to duplicate this effort for every new language they implement.This leads us to defining an expressive universe of syntaxes with binding and to demonstrate how to implement scope safe traversals once and for all by generic programming and how to derive properties of these traversals by generic proving. Our universe description, generic traversals and proofs, and our examples have all been formalised in Agda.","abstract_has_math":false,"creators":["Allais, Guillaume Xavier"],"institution":"University of Strathclyde","degree_name":"phd","degree_level":"doctoral-pg","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["McBride, Conor"],"committee_chairs":[],"committee_members":[],"year":2022,"date_issued":"2022","date_published":"2022","updated_at":"2026-11-19T14:56:44Z","subjects":[],"languages":[],"rights":[],"rights_urls":["https://stax.strath.ac.uk/thesis_copyright_statement/"],"identifier_entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.48730/6bwr-1d44"],"render_values":[{"text":"10.48730/6bwr-1d44","href":"https://doi.org/10.48730/6bwr-1d44","code":true}]},{"key":"dc:identifier","label":"Identifier","values":["T16605"],"render_values":[{"text":"T16605","href":null,"code":true}]}],"person_identifier_entries":[{"key":"dc:creator.authoridentifier","label":"Author Identifier","values":["201151564"],"render_values":[{"text":"201151564","href":null,"code":true}]}]},"links":{"outbound_url":"https://stax.strath.ac.uk/concern/theses/dr26xx847","outbound_label":"Repository record","outbound_source":"dc:identifier.uri","record_url":"https://stax.strath.ac.uk/concern/theses/dr26xx847","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://stax.strath.ac.uk/catalog/oai?verb=GetRecord&metadataPrefix=uketd_dc&identifier=oai%3Astrathclyde%3Adr26xx847","prefix":"uketd_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["McBride, Conor"]},{"key":"dc:creator","label":"Author","values":["Allais, Guillaume Xavier"]},{"key":"dc:creator.authoridentifier","label":"Author Identifier","values":["201151564"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.issued","label":"Date","values":["2022"]},{"key":"dc:publisher.department","label":"Dc Publisher Department","values":["Department of Computer and Information Sciences"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Strathclyde"]},{"key":"dc:relation.uri","label":"Dc Relation URI","values":["https://stax.strath.ac.uk/downloads/2v23vt868"]},{"key":"dc:type.qualificationlevel","label":"Dc Type Qualificationlevel","values":["doctoral-pg"]},{"key":"dc:type.qualificationname","label":"Dc Type Qualificationname","values":["phd"]},{"key":"dc:type.uri","label":"Dc Type URI","values":["http://purl.org/coar/resource_type/c_db06"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights.uri","label":"Rights URI","values":["https://stax.strath.ac.uk/thesis_copyright_statement/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["T16605"]},{"key":"dc:identifier.doi","label":"DOI","values":["10.48730/6bwr-1d44"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://stax.strath.ac.uk/concern/theses/dr26xx847"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Almost every programming language’s syntax includes a notion of binder and corresponding bound occurrences, along with the accompanying notions of ?-equivalence, capture-avoiding substitution, typing contexts, runtime environments, and so on.In the past, implementing and reasoning about programming languages required careful handling to maintain the correct behaviour of bound variables. Modern programming languages include features that enable constraints like scope safety to be expressed in types. Nevertheless, the programmer is still forced to write the same boilerplate over again for each new implementation of a scope safe operation (e.g., renaming, substitution, desugaring, printing, etc.), and then again for correctness proofs.In a case study focusing on the simply typed lambda calculus, we analyse these well scoped traversals and observe that they all share the same structure. This enables us to formulate them as instances of a more general program whose properties can be established generically. Alas, the programmer is still forced to duplicate this effort for every new language they implement.This leads us to defining an expressive universe of syntaxes with binding and to demonstrate how to implement scope safe traversals once and for all by generic programming and how to derive properties of these traversals by generic proving. Our universe description, generic traversals and proofs, and our examples have all been formalised in Agda."]},{"key":"dc:description.abstract","label":"Abstract","values":["Almost every programming language’s syntax includes a notion of binder and corresponding bound occurrences, along with the accompanying notions of ?-equivalence, capture-avoiding substitution, typing contexts, runtime environments, and so on.In the past, implementing and reasoning about programming languages required careful handling to maintain the correct behaviour of bound variables. Modern programming languages include features that enable constraints like scope safety to be expressed in types. Nevertheless, the programmer is still forced to write the same boilerplate over again for each new implementation of a scope safe operation (e.g., renaming, substitution, desugaring, printing, etc.), and then again for correctness proofs.In a case study focusing on the simply typed lambda calculus, we analyse these well scoped traversals and observe that they all share the same structure. This enables us to formulate them as instances of a more general program whose properties can be established generically. Alas, the programmer is still forced to duplicate this effort for every new language they implement.This leads us to defining an expressive universe of syntaxes with binding and to demonstrate how to implement scope safe traversals once and for all by generic programming and how to derive properties of these traversals by generic proving. Our universe description, generic traversals and proofs, and our examples have all been formalised in Agda."]},{"key":"dc:title","label":"Title","values":["Syntaxes with binding, their programs, and proofs"]}]}],"canonical_facts":{"dc:contributor.advisor":["McBride, Conor"],"dc:creator":["Allais, Guillaume Xavier"],"dc:creator.authoridentifier":["201151564"],"dc:date.issued":["2022"],"dc:description":["Almost every programming language’s syntax includes a notion of binder and corresponding bound occurrences, along with the accompanying notions of ?-equivalence, capture-avoiding substitution, typing contexts, runtime environments, and so on.In the past, implementing and reasoning about programming languages required careful handling to maintain the correct behaviour of bound variables. Modern programming languages include features that enable constraints like scope safety to be expressed in types. Nevertheless, the programmer is still forced to write the same boilerplate over again for each new implementation of a scope safe operation (e.g., renaming, substitution, desugaring, printing, etc.), and then again for correctness proofs.In a case study focusing on the simply typed lambda calculus, we analyse these well scoped traversals and observe that they all share the same structure. This enables us to formulate them as instances of a more general program whose properties can be established generically. Alas, the programmer is still forced to duplicate this effort for every new language they implement.This leads us to defining an expressive universe of syntaxes with binding and to demonstrate how to implement scope safe traversals once and for all by generic programming and how to derive properties of these traversals by generic proving. Our universe description, generic traversals and proofs, and our examples have all been formalised in Agda."],"dc:description.abstract":["Almost every programming language’s syntax includes a notion of binder and corresponding bound occurrences, along with the accompanying notions of ?-equivalence, capture-avoiding substitution, typing contexts, runtime environments, and so on.In the past, implementing and reasoning about programming languages required careful handling to maintain the correct behaviour of bound variables. Modern programming languages include features that enable constraints like scope safety to be expressed in types. Nevertheless, the programmer is still forced to write the same boilerplate over again for each new implementation of a scope safe operation (e.g., renaming, substitution, desugaring, printing, etc.), and then again for correctness proofs.In a case study focusing on the simply typed lambda calculus, we analyse these well scoped traversals and observe that they all share the same structure. This enables us to formulate them as instances of a more general program whose properties can be established generically. Alas, the programmer is still forced to duplicate this effort for every new language they implement.This leads us to defining an expressive universe of syntaxes with binding and to demonstrate how to implement scope safe traversals once and for all by generic programming and how to derive properties of these traversals by generic proving. Our universe description, generic traversals and proofs, and our examples have all been formalised in Agda."],"dc:identifier":["T16605"],"dc:identifier.doi":["10.48730/6bwr-1d44"],"dc:identifier.uri":["https://stax.strath.ac.uk/concern/theses/dr26xx847"],"dc:publisher.department":["Department of Computer and Information Sciences"],"dc:publisher.institution":["University of Strathclyde"],"dc:relation.uri":["https://stax.strath.ac.uk/downloads/2v23vt868"],"dc:rights.uri":["https://stax.strath.ac.uk/thesis_copyright_statement/"],"dc:title":["Syntaxes with binding, their programs, and proofs"],"dc:type.qualificationlevel":["doctoral-pg"],"dc:type.qualificationname":["phd"],"dc:type.uri":["http://purl.org/coar/resource_type/c_db06"]},"updated_at":"2026-11-19T14:56:44Z"}