{"id":{"repo_id":"portland-state","oai_identifier":"oai:pdxscholar.library.pdx.edu:open_access_etds-6344"},"canonical_url":"https://search.ndltd.org/etd/portland-state/oai:pdxscholar.library.pdx.edu:open_access_etds-6344","repository":{"repo_id":"portland-state","name":"Portland State University","base_url":"https://pdxscholar.library.pdx.edu/do/oai/"},"display":{"title":"Correct-by-Construction Typechecking with Scope Graphs","abstract":"Dependently-typed languages are well-known for the ability to enforce program invariants through type signatures, and previous work establishes the effectiveness of this style of program verification in the implementation of type-safe interpreters for a wide class of languages with a variety of interesting scoping semantics, offering an account of dynamic semantics. This thesis covers the complementary topic of static semantics, in the form of a pattern for constructing verified typechecking procedures in a dependently-typed setting. Implementations are given for simply-typed lambda calculus and a small procedural language as well as a module system with unrestricted cyclic module dependency semantics that are traditionally hard to formalize, parameterized over the choice of base language. A library of finite graphs and decision procedures for path search queries is presented and used in the construction of the example language implementations to resolve variable references. The resulting development is suitable as a static analysis phase (\"middle end\") in a hypothetical end-to-end verified interpreter developed in a dependently-typed setting.","abstract_html":"Dependently-typed languages are well-known for the ability to enforce program invariants through type signatures, and previous work establishes the effectiveness of this style of program verification in the implementation of type-safe interpreters for a wide class of languages with a variety of interesting scoping semantics, offering an account of dynamic semantics. This thesis covers the complementary topic of static semantics, in the form of a pattern for constructing verified typechecking procedures in a dependently-typed setting. Implementations are given for simply-typed lambda calculus and a small procedural language as well as a module system with unrestricted cyclic module dependency semantics that are traditionally hard to formalize, parameterized over the choice of base language. A library of finite graphs and decision procedures for path search queries is presented and used in the construction of the example language implementations to resolve variable references. The resulting development is suitable as a static analysis phase (&quot;middle end&quot;) in a hypothetical end-to-end verified interpreter developed in a dependently-typed setting.","abstract_has_math":false,"creators":["Casamento, Katherine Imhoff"],"institution":null,"degree_name":"Master of Science (M.S.) in Computer Science","degree_level":"Thesis","degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":["Andrew Tolmach"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-27T05:21:12Z","subjects":["Type theory","Programming languages (Electronic computers)","Computer Sciences"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://pdxscholar.library.pdx.edu/open_access_etds/5272","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://pdxscholar.library.pdx.edu/open_access_etds/5272","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"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%3Aportland-state%3Aoai%3Apdxscholar.library.pdx.edu%3Aopen_access_etds-6344","prefix":"oai_dc"},"source_record":{"url":"https://pdxscholar.library.pdx.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Apdxscholar.library.pdx.edu%3Aopen_access_etds-6344","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Andrew Tolmach"]},{"key":"dc:creator","label":"Author","values":["Casamento, Katherine Imhoff"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2019-09-10T07:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2019-09-10T07:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (M.S.) in Computer Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Type theory","Programming languages (Electronic computers)","Computer Sciences"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://pdxscholar.library.pdx.edu/open_access_etds/5272"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Dependently-typed languages are well-known for the ability to enforce program invariants through type signatures, and previous work establishes the effectiveness of this style of program verification in the implementation of type-safe interpreters for a wide class of languages with a variety of interesting scoping semantics, offering an account of dynamic semantics. This thesis covers the complementary topic of static semantics, in the form of a pattern for constructing verified typechecking procedures in a dependently-typed setting. Implementations are given for simply-typed lambda calculus and a small procedural language as well as a module system with unrestricted cyclic module dependency semantics that are traditionally hard to formalize, parameterized over the choice of base language. A library of finite graphs and decision procedures for path search queries is presented and used in the construction of the example language implementations to resolve variable references. The resulting development is suitable as a static analysis phase (\"middle end\") in a hypothetical end-to-end verified interpreter developed in a dependently-typed setting."]},{"key":"dc:description.note","label":"Dc Description Note","values":["<p>The code artifact described in the thesis is included as a supplemental zip file below.</p>"]},{"key":"dc:title","label":"Title","values":["Correct-by-Construction Typechecking with Scope Graphs"]}]}],"canonical_facts":{"dc:contributor":["Andrew Tolmach"],"dc:creator":["Casamento, Katherine Imhoff"],"dc:date.available":["2019-09-10T07:00:00Z"],"dc:date.created":["2019-09-10T07:00:00Z"],"dc:description.abstract":["Dependently-typed languages are well-known for the ability to enforce program invariants through type signatures, and previous work establishes the effectiveness of this style of program verification in the implementation of type-safe interpreters for a wide class of languages with a variety of interesting scoping semantics, offering an account of dynamic semantics. This thesis covers the complementary topic of static semantics, in the form of a pattern for constructing verified typechecking procedures in a dependently-typed setting. Implementations are given for simply-typed lambda calculus and a small procedural language as well as a module system with unrestricted cyclic module dependency semantics that are traditionally hard to formalize, parameterized over the choice of base language. A library of finite graphs and decision procedures for path search queries is presented and used in the construction of the example language implementations to resolve variable references. The resulting development is suitable as a static analysis phase (\"middle end\") in a hypothetical end-to-end verified interpreter developed in a dependently-typed setting."],"dc:description.note":["<p>The code artifact described in the thesis is included as a supplemental zip file below.</p>"],"dc:identifier":["https://pdxscholar.library.pdx.edu/open_access_etds/5272"],"dc:subject":["Type theory","Programming languages (Electronic computers)","Computer Sciences"],"dc:title":["Correct-by-Construction Typechecking with Scope Graphs"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Thesis"],"thesis:degree_name":["Master of Science (M.S.) in Computer Science"]},"updated_at":"2026-11-27T05:21:12Z"}