deducteam / coqine Goto Github PK
View Code? Open in Web Editor NEWA Coq plugin to translate Coq proofs into Dedukti terms.
License: GNU Lesser General Public License v2.1
A Coq plugin to translate Coq proofs into Dedukti terms.
License: GNU Lesser General Public License v2.1
When trying to export Hurkens.v, I get:
Exporting Coq.Logic.Hurkens
Debug: Vernac Interpreter Executing command
File "/home/egallego/external/CoqInE/test/Test.v", line 57, characters 0-19:
Error: Anomaly "in Univ.repr: Universe Var(1) undefined."
Please report at http://coq.inria.fr/bugs/.
frame @ file "toplevel/coqtop.ml", line 489, characters 15-50
frame @ file "list.ml", line 117, characters 24-34
frame @ file "toplevel/vernac.ml", line 224, characters 30-94
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "lib/flags.ml", line 99, characters 19-40
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "lib/flags.ml", line 17, characters 14-17
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "toplevel/vernac.ml", line 103, characters 31-46
frame @ file "stm/stm.ml", line 2646, characters 11-49
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "stm/stm.ml", line 2635, characters 4-55
frame @ file "stm/stm.ml", line 2525, characters 4-100
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "stm/stm.ml", line 934, characters 6-10
frame @ file "stm/stm.ml", line 2398, characters 16-43
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "stm/stm.ml", line 1087, characters 12-91
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "vernac/vernacentries.ml", line 2344, characters 4-36
raise @ unknown
frame @ file "vernac/vernacentries.ml", line 2311, characters 8-666
frame @ file "lib/flags.ml", line 99, characters 19-40
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "lib/flags.ml", line 17, characters 14-17
frame @ file "vernac/vernacentries.ml", line 2158, characters 30-66
raise @ file "clib/exninfo.ml", line 65, characters 2-15
frame @ file "vernac/vernacinterp.ml", line 80, characters 4-18
frame @ file "src/commands.ml4", line 24, characters 4-20
frame @ file "list.ml", line 106, characters 12-15
frame @ file "src/libraries.ml", line 23, characters 6-68
frame @ file "list.ml", line 106, characters 12-15
frame @ file "list.ml", line 106, characters 12-15
frame @ file "src/modules.ml", line 43, characters 20-89
frame @ file "kernel/typeops.ml", line 442, characters 19-28
frame @ file "kernel/typeops.ml", line 435, characters 10-28
frame @ file "kernel/typeops.ml", line 366, characters 16-31
frame @ file "kernel/typeops.ml", line 366, characters 16-31
frame @ file "kernel/typeops.ml", line 366, characters 16-31
frame @ file "kernel/typeops.ml", line 366, characters 16-31
frame @ file "kernel/typeops.ml", line 366, characters 16-31
frame @ file "kernel/typeops.ml", line 350, characters 20-42
frame @ file "array.ml", line 101, characters 21-40
frame @ file "kernel/typeops.ml", line 358, characters 12-25
frame @ file "kernel/typeops.ml", line 125, characters 11-35
frame @ file "kernel/environ.ml", line 190, characters 2-65
frame @ file "set.ml", line 352, characters 25-28
frame @ file "kernel/uGraph.ml", line 633, characters 13-21
frame @ file "kernel/uGraph.ml", line 136, characters 22-115
raise @ file "lib/loc.ml", line 89, characters 16-23
Makefile:33: recipe for target 'generate' failed
make: *** [generate] Error 129
make: se sale del directorio '/home/egallego/external/CoqInE/test'
As witnessed by the CI, build is broken on master since d5419d5
coqine outputs things even when coqc is called with the option -quiet.
14:10 ~/src/CoqInE (coq8.12) make
make: *** Aucune règle pour fabriquer la cible « .merlin », nécessaire pour « all ». Arrêt.
example not handled: injective
Suppose I have a Coq file B.v that depends on a Coq file A.v, I call coqine on A.v and, then, later, I call coqine on B.v. Then, coqine regenerate the Dedukti file for A again. This makes the translation of whole libraries very time consuming.
Currently, Coqine's opam file requires a fixed version of Coq (8.8.2). The current stable version of Coq is 8.11.1. Are there plans to update the dependency?
coq_makefile -f Make -o CoqMakefile
camlp5 macro files not supported anymore, please port src/commands.ml4 to coqpp
Usage summary:
coq_makefile .... [file.v] ... [file.ml[i4]?] ... [file.ml{lib,pack}]
... [any] ... [-extra[-phony] result dependencies command]
... [-I dir] ... [-R physicalpath logicalpath]
... [-Q physicalpath logicalpath] ... [VARIABLE = value]
... [-arg opt] ... [-opt|-byte] [-no-install] [-f file] [-o file]
[-h] [--help]
Full list of options:
[file.v]: Coq file to be compiled
[file.ml[i4]?]: Objective Caml file to be compiled
[file.ml{lib,pack}]: ocamlbuild-style file that describes a Objective Caml
library/module
[any] : subdirectory that should be "made" and has a Makefile itself
to do so. Very fragile and discouraged.
[-extra result dependencies command]: add target "result" with command
"command" and dependencies "dependencies". If "result" is not
generic (do not contains a %), "result" is built by _make all_ and
deleted by _make clean_.
[-extra-phony result dependencies command]: add a PHONY target "result"
with command "command" and dependencies "dependencies". Note that
_-extra-phony foo bar ""_ is a regular way to add the target "bar" as
as a dependencies of an already defined target "foo".
[-I dir]: look for Objective Caml dependencies in "dir"
[-R physicalpath logicalpath]: look for Coq dependencies recursively
starting from "physicalpath". The logical path associated to the
physical path is "logicalpath".
[-Q physicalpath logicalpath]: look for Coq dependencies starting from
"physicalpath". The logical path associated to the physical path
is "logicalpath".
[VARIABLE = value]: Add the variable definition "VARIABLE=value"
[-byte]: compile with byte-code version of coq
[-opt]: compile with native-code version of coq
[-arg opt]: send option "opt" to coqc
[-install opt]: where opt is "user" to force install into user directory,
"none" to build a makefile with no install target or
"global" to force install in $COQLIB directory
[-f file]: take the contents of file as arguments
[-o file]: output should go in file file (recommended)
Output file outside the current directory is forbidden.
[-h]: print this usage summary
[--help]: equivalent to [-h]
make: *** [CoqMakefile] Error 1
See #6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.