Back to search

McGill University

Mechanizing metatheory interactively

Abstract

dc:description.abstract

Beluga is a proof environment based on the logical framework LF that providesinfrastructural support for representing formal systems and proofs about them.As a consequence, meta-theoretic proofs are precise and compact. However,programmers write proofs as total recursive programs. This can be challengingand cumbersome.We present the design and implementation of Harpoon, an interactive proofenvironment built on top of Beluga. Harpoon users develop proofs using a small,fixed set of tactics. Behind the scenes, the execution of tactics elaborates aproof script that reflects the subgoal structure of the proof. We modelincomplete proofs using contextual variables to represent holes.We give a sound translation of proof scripts into Beluga programs which allowsus to execute them. Proof scripts and programs seamlessly interact and can beused interchangeably.We have used Harpoon for examples ranging from simple type safety proofs forMiniML to normalization proofs including the recently proposed POPLMark Reloadedchallenge.Our implementation is a part of Beluga on GitHub athttps://github.com/Beluga-lang/Beluga and the reference manual isavailable at https://beluga-lang.readthedocs.io/

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Errington, Jacob
Advisor dc:contributor.advisor
  • Pientka, Brigitte (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1229041524
Dc Identifier Other
hyrax:7w62fd78j

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Errington, Jacob. Mechanizing metatheory interactively. McGill University, 2020. https://doi.org/10.82308/37201