Skip to main content

Showing 1–7 of 7 results for author: Hu, J Z S

Searching in archive cs. Search in all archives.
.
  1. arXiv:2404.17065  [pdf, ps, other

    cs.LO cs.PL

    DeLaM: A Dependent Layered Modal Type Theory for Meta-programming

    Authors: Jason Z. S. Hu, Brigitte Pientka

    Abstract: We scale layered modal type theory to dependent types, introducing DeLaM, dependent layered modal type theory. This type theory is novel in that we have one uniform type theory in which we can not only compose and execute code, but also intensionally analyze the code of types and terms. The latter in particular allows us to write tactics as meta-programs and use regular libraries when writing tact… ▽ More

    Submitted 25 April, 2024; originally announced April 2024.

  2. arXiv:2305.06548  [pdf, ps, other

    cs.LO cs.PL

    Layered Modal Type Theories

    Authors: Jason Z. S. Hu, Brigitte Pientka

    Abstract: We introduce layers to modal type theories, which subsequently enables type theories for pattern matching on code in meta-programming and clean and straightforward semantics.

    Submitted 28 February, 2024; v1 submitted 10 May, 2023; originally announced May 2023.

  3. A Categorical Normalization Proof for the Modal Lambda-Calculus

    Authors: Jason Z. S. Hu, Brigitte Pientka

    Abstract: We investigate a simply typed modal $λ$-calculus, $λ^{\to\square}$, due to Pfenning, Wong and Davies, where we define a well-typed term with respect to a context stack that captures the possible world semantics in a syntactic way. It provides logical foundation for multi-staged meta-programming. Our main contribution in this paper is a normalization by evaluation (NbE) algorithm for… ▽ More

    Submitted 20 February, 2023; v1 submitted 22 November, 2022; originally announced November 2022.

    ACM Class: D.3.1; F.4.1

    Journal ref: Electronic Notes in Theoretical Informatics and Computer Science, Volume 1 - Proceedings of MFPS XXXVIII (February 22, 2023) entics:10360

  4. arXiv:2206.07823  [pdf, ps, other

    cs.LO cs.PL

    An Investigation of Kripke-style Modal Type Theories

    Authors: Jason Z. S. Hu, Brigitte Pientka

    Abstract: This technical report investigates Kripke-style modal type theories, both simply typed and dependently typed. We examine basic meta-theories of the type theories, develop their substitution calculi, and give normalization by evaluation algorithms.

    Submitted 10 May, 2023; v1 submitted 15 June, 2022; originally announced June 2022.

  5. arXiv:2206.02831  [pdf, ps, other

    cs.LO cs.PL

    A Category Theoretic View of Contextual Types: from Simple Types to Dependent Types

    Authors: Jason Z. S. Hu, Brigitte Pientka, Ulrich Schöpp

    Abstract: We describe the categorical semantics for a simply typed variant and a simplified dependently typed variant of Cocon, a contextual modal type theory where the box modality mediates between the weak function space that is used to represent higher-order abstract syntax (HOAS) trees and the strong function space that describes (recursive) computations about them. What makes Cocon different from stand… ▽ More

    Submitted 7 June, 2022; v1 submitted 6 June, 2022; originally announced June 2022.

    ACM Class: F.4.1

  6. arXiv:2103.02024  [pdf, other

    cs.LO math.CT

    Internal Category with Families in Presheaves

    Authors: Jason Z. S. Hu

    Abstract: In this note, we review a construction of category with families (CwF) in a presheaf category. When the base category of a presheaf category is a CwF, we internalize this CwF structure in the CwF of the presheaf category. This note assumes working knowledge on category theory.

    Submitted 2 March, 2021; originally announced March 2021.

  7. Formalizing of Category Theory in Agda

    Authors: Jason Z. S. Hu, Jacques Carette

    Abstract: The generality and pervasiness of category theory in modern mathematics makes it a frequent and useful target of formalization. It is however quite challenging to formalize, for a variety of reasons. Agda currently (i.e. in 2020) does not have a standard, working formalization of category theory. We document our work on solving this dilemma. The formalization revealed a number of potential design… ▽ More

    Submitted 6 January, 2021; v1 submitted 14 May, 2020; originally announced May 2020.