skip to main content
research-article
Open access

Typal Heterogeneous Equality Types

Published: 19 April 2020 Publication History

Abstract

The usual homogeneous form of equality type in Martin-Löf Type Theory contains identifications between elements of the same type. By contrast, the heterogeneous form of equality contains identifications between elements of possibly different types. This short note introduces a simple set of axioms for such types. The axioms are shown to be equivalent to the combination of systematic elimination rules for both forms of equality, albeit with typal (also known as “propositional”) computation properties, together with Streicher’s Axiom K, or equivalently, the principle of uniqueness of identity proofs.

References

[1]
Agda Wiki. [n.d.]. Retrieved from https://wiki.portal.chalmers.se/agda/pmwiki.php.
[2]
T. Altenkirch, C. McBride, and W. Swierstra. 2007. Observational equality, now! In Proceedings of the Workshop on Programming Languages Meets Program Verification (PLPV’07). ACM, New York, NY, 57--68.
[3]
R. Backhouse, P. Chisholm, G. Malcolm, and E. Saaman. 1989. Do-it-yourself type theory. Formal Aspects Comput 1 (1989), 19--84.
[4]
M. Bezem, T. Coquand, and S. Huber. 2014. A model of type theory in cubical sets. In Proceedings of the 19th International Conference on Types for Proofs and Programs (TYPES’13) (Leibniz International Proceedings in Informatics (LIPIcs)), R. Matthes and A. Schubert (Eds.), Vol. 26. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany, 107--128.
[5]
S. Boulier and T. Winterhalter. 2019. Weak Type Theory is Rather Strong. (June 2019). In Proceedings of the 25th International Conference on Types for Proofs and Programs (TYPES’19).
[6]
J. Cockx and A. Abel. 2018. Elaborating dependent (co)pattern matching. Proc. ACM Program. Lang. 2, ICFP (July 2018).
[7]
C. Cohen, T. Coquand, S. Huber, and A. Mörtberg. 2018. Cubical type theory: A constructive interpretation of the univalence axiom. In Proceedings of the 21st International Conference on Types for Proofs and Programs (TYPES’15) (Leibniz International Proceedings in Informatics (LIPIcs)), T. Uustalu (Ed.), Vol. 69. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany, 5:1–5:34.
[8]
T. Coquand. 1992. Pattern matching with dependent types. In Proceedings of the Workshop on Types for Proofs and Programs, B. Nordström, K. Petersson, and G. D. Plotkin (Eds.). 66--79.
[9]
T. Coquand. 2011. Equality and Dependent Type Theory. (Feb. 2011). A talk given for the 24th AILA meeting, Bologna. Retrieved from http://www.cse.chalmers.se/ coquand/bologna.pdf.
[10]
H. Goguen, C. McBride, and J. McKinna. 2006. Eliminating dependent pattern matching. In Algebra, Meaning, and Computation: Essays Dedicated to Joseph A. Goguen on the Occasion of His 65th Birthday, K. Futatsugi, J.-P. Jouannaud, and J. Meseguer (Eds.). Springer, Berlin, 521--540.
[11]
C. McBride. 1999. Dependently Typed Functional Programs and their Proofs. Ph.D. Dissertation. University of Edinburgh.
[12]
B. Nordström, K. Petersson, and J. M. Smith. 1990. Programming in Martin-Löf’s Type Theory. Oxford University Press.
[13]
Chr. Paulin-Mohring. 1993. Inductive definitions in the system Coq; rules and properties. In Proceedings of the Conference on Typed Lambda Calculus and Applications (Lecture Notes in Computer Science), M. Bezem and J. F. Groote (Eds.), Vol. 664. Springer-Verlag, Berlin, 328--345.
[14]
M. Shulman. 2018. Brouwer’s fixed-point theorem in real-cohesive homotopy type theory. Math. Struct. Comput. Sci. 28 (2018), 856--941.
[15]
T. Streicher. 1993. Investigations into Intensional Type Theory. Habilitation Thesis. Ludwig Maximilian University, Munich.
[16]
The Lean Theorem Prover. [n.d.]. Retrieved from https://leanprover.github.io.
[17]
The Univalent Foundations Program. 2013. Homotopy Type Theory: Univalent Foundations for Mathematics. Retrieved from http://homotopytypetheory.org/book, Institute for Advanced Study.
[18]
B. van den Berg. 2018. Path categories and propositional identity types. ACM Trans. Comput. Logic 19, 2 (June 2018), 15:1–15:32.

Index Terms

  1. Typal Heterogeneous Equality Types

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Transactions on Computational Logic
    ACM Transactions on Computational Logic  Volume 21, Issue 3
    July 2020
    407 pages
    ISSN:1529-3785
    EISSN:1557-945X
    DOI:10.1145/3384674
    • Editor:
    • Orna Kupferman
    Issue’s Table of Contents
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 19 April 2020
    Accepted: 01 January 2020
    Received: 01 July 2019
    Published in TOCL Volume 21, Issue 3

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Type theory
    2. equality types
    3. heterogeneous equality

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 408
      Total Downloads
    • Downloads (Last 12 months)124
    • Downloads (Last 6 weeks)18
    Reflects downloads up to 20 Jan 2025

    Other Metrics

    Citations

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Login options

    Full Access

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media