GithubHelp home page GithubHelp logo

How to build? about zfc-prover-in-coq HOT 3 OPEN

samuelgruetter avatar samuelgruetter commented on August 27, 2024
How to build?

from zfc-prover-in-coq.

Comments (3)

rikosellic avatar rikosellic commented on August 27, 2024

Thank you for your notification! This project was originally developed in Coq 8.13 and problems do exist when building with new Coq versions. I've fixed these problems, now all files can be built correctly with Coq 8.15. You may simply run:
coq_makefile -f _CoqProject -o CoqMakefile and then
make -f CoqMakefile to build it.

I haven't tested it on 8.16 yet, hope there will be new issues.

from zfc-prover-in-coq.

samuelgruetter avatar samuelgruetter commented on August 27, 2024

Thanks, it now works for me with 8.15!

However, when I first ran coq_makefile -f _CoqProject -o CoqMakefile CoqMakefile, I got the following error:

Unknown option 
Usage summary:

I then changed the line endings of _CoqProject from CRLF (DOS/Windows style) to LF (Linux) style, and then it worked.

Also, I found it remarkable that these files take so long to compile. For instance, Peano_plus.v took over 50min on my machine. Do you know what makes it so slow? That might be an interesting topic for your next CoqPL talk, even (or, actually, especially) if you fail to make to faster.

from zfc-prover-in-coq.

rikosellic avatar rikosellic commented on August 27, 2024

I think the problem lies in the not-so-efficient Tauto tactic, but I'm also curious about why it takes that long. It's not our priority to improve its efficiency though, as it is a teaching tool of ZFC rather than a foundational ZFC-based theorem prover. Formalizing Peano arithmetic nearly reaches its boundary, as you can see those predicates like is_plus in Peano_plus.v and the long compiling time. Introducing conventional concepts like addition or functions will inevitably result in the modification of the underlying logic of this tool, this may be another work.

I'm not clear about what happens when a Coq file is compiled. Personally, I'd love to figure it out in my spare time.

from zfc-prover-in-coq.

Related Issues (1)

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.