Lectures onType Theory
Chapter 194
Chapter 194OptionalScaffold

Proof and Program Transfer Modulo Equivalence

Prerequisites. Direct starred prerequisites: none. No later core chapter depends on this route.

Remark 194.1

Draft status. This chapter is a scaffold.

Opening obstruction

An efficient representation may be equivalent to one that is easier to reason about, yet raw rewriting, parametricity alone and univalence alone do not provide coherent automated transport of programs and dependent proofs.

Development contract

Use a Trocq-style heterogeneous transfer calculus with the relation Rn(xs,v):=(xs=toList(v)) between lists of length n and vectors. Prove its abstraction theorem, transfer append and its length theorem, calculate the generated transports, and identify exactly which relation enrichments use univalence before auditing the kernel proof terms.

Search the book

Type to search the local edition.