Appalachian State University
Browse

Towards Formalizing Parametricity For Nested Types In Agda

Download (750.77 kB)
thesis
posted on 2025-08-08, 14:35 authored by Daniel Jeffries
Recent work by Johann, Ghiorzi, and Jeffries presents a Hindley-Milner-style calculus whose type system includes a primitive type formation rule for constructing nested types directly as fixpoints. The term calculus for this type system supports primitive pattern matching, functorial map functions, and fold combinators for nested types. A parametric model of the calculus is given in terms of category theory, using fixpoints of higher-order functors to interpret nested types. In this thesis, we formalize the syntax of the calculus and partially formalize its model in the proof assistant and functional programming language Agda. To prove a proposition in Agda, the user first gives a formal definition of the proposition as a type T. Then the user defines a function of type T, and Agda's type-checker checks whether the user-defined function has the correct type. Since the model is defined in terms of category theory, we use the agda-categories library to formalize the categorical constructs used in the model. We introduce the syntax and semantics of the calculus as they are being formalized.

History

Related Materials

AI-Assisted

  • No

Year Created

2021

College or School

  • College of Arts and Sciences

Language

English

Access Rights

  • Open

Program of Study

Computer Science

Advisor

Patricia Johann

Dissertation or Thesis Type

  • Graduate Thesis

Usage metrics

    Dissertations & Theses

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC