GithubHelp home page GithubHelp logo

deducteam / coqine Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 2.0 1.4 MB

A Coq plugin to translate Coq proofs into Dedukti terms.

License: GNU Lesser General Public License v2.1

Makefile 8.68% OCaml 74.94% Coq 15.97% Shell 0.42%

coqine's People

Contributors

francoisthire avatar gaspi avatar mboes avatar rafoo avatar rsaillard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

xvilka sacerdot

coqine's Issues

Problem with translation of Hurkens.v file

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'

Port src/command.ml4 to coqpp

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.