Trocq: Proof Transfer for Free, With or Without Univalence

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cohen, Cyril, Crance, Enzo, Mahboubi, Assia
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909112886886400
author Cohen, Cyril
Crance, Enzo
Mahboubi, Assia
author_facet Cohen, Cyril
Crance, Enzo
Mahboubi, Assia
contents Libraries of formalized mathematics use a possibly broad range of different representations for a same mathematical concept. Yet light to major manual input from users remains most often required for obtaining the corresponding variants of theorems, when such obvious replacements are typically left implicit on paper. This article presents Trocq, a new proof transfer framework for dependent type theory. Trocq is based on a novel formulation of type equivalence, used to generalize the univalent parametricity translation. This framework takes care of avoiding dependency on the axiom of univalence when possible, and may be used with more relations than just equivalences. We have implemented a corresponding plugin for the Coq proof assistant, in the CoqElpi meta-language. We use this plugin on a gallery of representative examples of proof transfer issues in interactive theorem proving, and illustrate how Trocq covers the spectrum of several existing tools, used in program verification as well as in formalized mathematics in the broad sense.
format Preprint
id arxiv_https___arxiv_org_abs_2310_14022
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Trocq: Proof Transfer for Free, With or Without Univalence
Cohen, Cyril
Crance, Enzo
Mahboubi, Assia
Logic in Computer Science
F.4.1; F.3.3
Libraries of formalized mathematics use a possibly broad range of different representations for a same mathematical concept. Yet light to major manual input from users remains most often required for obtaining the corresponding variants of theorems, when such obvious replacements are typically left implicit on paper. This article presents Trocq, a new proof transfer framework for dependent type theory. Trocq is based on a novel formulation of type equivalence, used to generalize the univalent parametricity translation. This framework takes care of avoiding dependency on the axiom of univalence when possible, and may be used with more relations than just equivalences. We have implemented a corresponding plugin for the Coq proof assistant, in the CoqElpi meta-language. We use this plugin on a gallery of representative examples of proof transfer issues in interactive theorem proving, and illustrate how Trocq covers the spectrum of several existing tools, used in program verification as well as in formalized mathematics in the broad sense.
title Trocq: Proof Transfer for Free, With or Without Univalence
topic Logic in Computer Science
F.4.1; F.3.3
url https://arxiv.org/abs/2310.14022