Giter Club home page Giter Club logo

Comments (5)

clarus avatar clarus commented on July 19, 2024

Hi,

Thanks for the kind words! Maybe this is because you need to run coqide with the -R src ChickBlog as in the file Make.

Indeed there are no mentions of dependencies to download. A possibility is also to run:

opam install .

from the project folder to compile it and install the dependencies. Thanks if you can make a PR!

I have been doing this project as part of my PhD. I have stumbled upon Coq quite a long ago (2006) but have not practiced Coq continuously.

from coq-chick-blog.

lf94 avatar lf94 commented on July 19, 2024

Ah ok. I'll do that then.

If you are not using Coq, what are you using now? I see you're verifying Tezos (if I recall, a crypto-currency competitor to Ethereum?), so I'm curious what is being used for such a task. I know for Ethereum, the K framework has been used (but I'm starting to believe that Coq could've done just a fine job).

from coq-chick-blog.

clarus avatar clarus commented on July 19, 2024

Ah ok. I'll do that then.

👍

If you are not using Coq, what are you using now? I see you're verifying Tezos (if I recall, a crypto-currency competitor to Ethereum?), so I'm curious what is being used for such a task. I know for Ethereum, the K framework has been used (but I'm starting to believe that Coq could've done just a fine job).

I am currently working on https://github.com/clarus/coq-of-ocaml to translate OCaml programs to Coq. In particular we aim to translate the Tezos implementation which is written in OCaml to Coq: https://gitlab.com/nomadic-labs/coq-tezos-of-ocaml Tezos is indeed a competitor to Ethereum.

I think that what people did in Ethereum with the K framework was to verify smart-contracts. What we want to do with coq-of-ocaml is to verify the implementation of Tezos (including the interpreter of smart-contracts and the consensus protocol). There is a project to verify smart-contracts of Tezos with K too I think. We also have https://gitlab.com/nomadic-labs/mi-cho-coq which is a Coq library to verify smart-contracts in Coq.

from coq-chick-blog.

lf94 avatar lf94 commented on July 19, 2024

Yes it's to used to verify smart contracts, but in order to verify smart contracts they had to first verify the EVM, and created K-EVM.

Very cool the approach Tezos is taking though. Will both implementations live side-by-side (always transpiling to Coq for testing) or is the goal a Coq-only source code?

Thank you for your responses, I greatly appreciate it. I find it difficult to find others doing software verification with Coq in a realistic setting. I'll check out those projects you're working on!

from coq-chick-blog.

clarus avatar clarus commented on July 19, 2024

Yes it's to used to verify smart contracts, but in order to verify smart contracts they had to first verify the EVM, and created K-EVM.

It seems to me that they created an alternative implementation of the EVM with K-EVM. Thus they formalized the semantics of the EVM, probably verified some properties but did not verify the official EVM implementation.

Very cool the approach Tezos is taking though. Will both implementations live side-by-side (always transpiling to Coq for testing) or is the goal a Coq-only source code?

The goal is to keep the source code in OCaml, so that more developers can understand it. This also offer a simpler language, in the sense it is only possible to do programming rather than programming + dependent types + proofs. Also I think that Coq is less stable than OCaml.

Thank you for your responses, I greatly appreciate it. I find it difficult to find others doing software verification with Coq in a realistic setting. I'll check out those projects you're working on!

👌

from coq-chick-blog.

Related Issues (7)

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.