All Projects → coq-community → Paramcoq

coq-community / Paramcoq

Licence: other
Coq plugin for parametricity [[email protected]]

Labels

Projects that are alternatives of or similar to Paramcoq

Micro Policies Coq
Coq formalization accompanying the paper: Micro-Policies: A Framework for Verified, Tag-Based Security Monitors
Stars: ✭ 18 (-43.75%)
Mutual labels:  coq
Dblib Linear
Formalisation of the linear lambda calculus in Coq
Stars: ✭ 10 (-68.75%)
Mutual labels:  coq
Vvclocks
Verified vector clocks, with Coq!
Stars: ✭ 14 (-56.25%)
Mutual labels:  coq
Cpp2v
Formalization of C++ for verification purposes.
Stars: ✭ 24 (-25%)
Mutual labels:  coq
Monads
Coq code accompanying several articles on semantics of functional programming languages
Stars: ✭ 9 (-71.87%)
Mutual labels:  coq
Stalin Sort
Add a stalin sort algorithm in any language you like ❣️ if you like give us a ⭐️
Stars: ✭ 868 (+2612.5%)
Mutual labels:  coq
Finset
A Coq library for extensional finite sets and comprehension
Stars: ✭ 6 (-81.25%)
Mutual labels:  coq
Profunctor Monad
Bidirectional programming in Haskell with monadic profunctors
Stars: ✭ 30 (-6.25%)
Mutual labels:  coq
Software Foundations
Solutions to the exercises from the 'Software Foundations' book by Benjamin Pierce et al.
Stars: ✭ 9 (-71.87%)
Mutual labels:  coq
Hello World
A Hello World program in Coq.
Stars: ✭ 14 (-56.25%)
Mutual labels:  coq
Coqpie
CoqPIE (an IDE for the Coq theorem prover + PEDANTIC)
Stars: ✭ 8 (-75%)
Mutual labels:  coq
Hott Species
Combinatorial species in HoTT
Stars: ✭ 9 (-71.87%)
Mutual labels:  coq
Ledgertheory
Stars: ✭ 12 (-62.5%)
Mutual labels:  coq
Autosubst
Automation for de Bruijn syntax and substitution in Coq
Stars: ✭ 22 (-31.25%)
Mutual labels:  coq
Coq Printf
Implementation of sprintf for Coq
Stars: ✭ 15 (-53.12%)
Mutual labels:  coq
Coq Guarded Computational Type Theory
Stars: ✭ 18 (-43.75%)
Mutual labels:  coq
Coqjvm
Coq executable semantics and resource verifier
Stars: ✭ 10 (-68.75%)
Mutual labels:  coq
Nuprlincoq
Implementation of Nuprl's type theory in Coq
Stars: ✭ 31 (-3.12%)
Mutual labels:  coq
Hott
Homotopy type theory
Stars: ✭ 946 (+2856.25%)
Mutual labels:  coq
Jt89
sn76489an compatible Verilog core, with emphasis on FPGA implementation and Megadrive/Master System compatibility
Stars: ✭ 14 (-56.25%)
Mutual labels:  coq

Paramcoq

CI Contributing Code of Conduct Zulip DOI

The plugin is still in an experimental state. It is not very user friendly (lack of good error messages) and still contains bugs. But is useable enough to "translate" a large chunk of standard library.

Meta

  • Author(s):

    • Chantal Keller (initial)
    • Marc Lasson (initial)
    • Abhishek Anand
    • Pierre Roux
    • Emilio Jesús Gallego Arias
    • Cyril Cohen
    • Matthieu Sozeau
  • Coq-community maintainer(s):

  • License: MIT

  • Compatible Coq versions: The master branch tracks the development version of Coq, see releases for compatibility with released versions of Coq.

  • Additional dependencies: none

  • Coq namespace: Param

  • Related publication(s):

Building and installation instructions

The easiest way to install the latest released version of Paramcoq is via OPAM:

opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-paramcoq

To instead build and install manually, do:

git clone https://github.com/coq-community/paramcoq.git
cd paramcoq
make   # or make -j <number-of-cores-on-your-machine> 
make install

Available commands

The default arity is 2.

  • Parametricity ident as name [arity n].

Declare the translation named name from the translation of the constant or inductive ident.

  • Parametricity [Recursive] ident [arity n] [qualified].

The default name for the translation of the constant or inductive ident is automatically generated (from its unqualified name). You can use the Recursive option to recursively translate all the constants and inductives which are used by ident. You can use the qualified option to use a qualified default name for the translated constants and inductives. The default name then has the form Module_o_Submodule_o_ident if ident lies in the Module.Submodule namespace.

  • Parametricity Translation term [as name] [arity n].

Define a new constant named name obtained by computing the parametricity translation of term.

  • Parametricity Module modulepath.

Recursively translate everything in a module.

  • Realizer constant or variable [as name] [arity n] := term.

Declare term to be the translation of a constant. Useful to translate terms containing section variables, or axioms.

Note that both translating a term or module may lead to proof obligations (for some fixpoints and opaque terms if you did not import ProofIrrelevence).

  • [Global | Local] Parametricity Tactic := t.

Use the tactic t to solve proof obligations generated by the Parametricity command.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].