Internalizing representation independence with univalence

نویسندگان

چکیده

In their usual form, representation independence metatheorems provide an external guarantee that two implementations of abstract interface are interchangeable when they related by operation-preserving correspondence. If our programming language is dependently-typed, however, we would like to appeal such invariance results within the itself, in order obtain correctness theorems for complex transferring them from simpler, implementations. Recent work proof assistants has shown Voevodsky's univalence principle allows between isomorphic types, but many instances involve non-isomorphic representations. this paper, develop techniques establishing internal relational dependent type theory, using higher inductive types simultaneously quotient implementation a heterogeneous correspondence them. The becomes isomorphism quotiented thereby allowing us equality univalence. We illustrate considering applications matrices, queues, and finite multisets. Our all formalized Cubical Agda, recent extension Agda which supports computationally well-behaved way.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Graphical representation of independence structures

In this thesis we describe subclasses of a class of graphs with three types of edges, called loopless mixed graphs (LMGs). The class of LMGs contains almost all known classes of graphs used in the literature of graphical Markov models. We focus in particular on the subclass of ribbonless graphs (RGs), which as special cases include undirected graphs, bidirected graphs, and directed acyclic grap...

متن کامل

Decomposing the Univalence Axiom

This paper investigates the univalence axiom in intensional Martin-Löf type theory. In particular, it looks at how univalence can be derived from simpler axioms. We first present some existing work, collected together from various published and unpublished sources; we then we present a new decomposition of the univalence axiom into simpler axioms. We argue that these axioms are easier to verify...

متن کامل

Representation Independence, State Based Ownership, and Reentrancy

A properly encapsulated data representation can be revised for refactoring or other purposes without affecting the correctness of client programs and extensions of a class. But encapsulation is difficult to achieve in object-oriented programs owing to heap based structures and reentrant callbacks. This paper shows that it is achieved by a discipline using assertions and auxiliary fields to mana...

متن کامل

State-Dependent Representation Independence (Technical Appendix)

3 Logical Relation Proofs 15 3.1 Basic Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.1 Properties of Step-Indexed Construction . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.2 Approximation Yields Valid Semantic Objects . . . . . . . . . . . . . . . . . . . . . . 17 3.1.3 World Extension and Store Satisfaction Properties . . ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2021

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3434293