TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Distributed data structures with Coq

97 点作者 cmeiklejohn将近 12 年前

4 条评论

edwintorok将近 12 年前
Here are some interesting projects that use Coq proofs, I&#x27;ll leave it up to you to judge how real world they are.<p>Generate OCaml code from Coq: <a href="https:&#x2F;&#x2F;github.com&#x2F;msgpack&#x2F;msgpack-ocaml&#x2F;tree&#x2F;master&#x2F;proof" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;msgpack&#x2F;msgpack-ocaml&#x2F;tree&#x2F;master&#x2F;proof</a><p>Proof algorithms written in OCaml using Coq: <a href="http:&#x2F;&#x2F;www.chargueraud.org&#x2F;softs&#x2F;cfml&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.chargueraud.org&#x2F;softs&#x2F;cfml&#x2F;</a><p>Write program specification and use multiple provers (including Coq): <a href="http:&#x2F;&#x2F;why3.lri.fr&#x2F;" rel="nofollow">http:&#x2F;&#x2F;why3.lri.fr&#x2F;</a><p>Write certified programs, and verify proofs using Coq: <a href="http:&#x2F;&#x2F;focalize.inria.fr&#x2F;" rel="nofollow">http:&#x2F;&#x2F;focalize.inria.fr&#x2F;</a><p>Language semantics &#x2F; type system proofs of languages: <a href="http:&#x2F;&#x2F;www.cl.cam.ac.uk&#x2F;~so294&#x2F;ocaml&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cl.cam.ac.uk&#x2F;~so294&#x2F;ocaml&#x2F;</a> (for a subset of OCaml)<p><a href="http:&#x2F;&#x2F;gallium.inria.fr&#x2F;~protzenk&#x2F;mezzo-lang&#x2F;" rel="nofollow">http:&#x2F;&#x2F;gallium.inria.fr&#x2F;~protzenk&#x2F;mezzo-lang&#x2F;</a><p>Books on Coq: <a href="http:&#x2F;&#x2F;adam.chlipala.net&#x2F;cpdt&#x2F;" rel="nofollow">http:&#x2F;&#x2F;adam.chlipala.net&#x2F;cpdt&#x2F;</a> <a href="http:&#x2F;&#x2F;www.cis.upenn.edu&#x2F;~bcpierce&#x2F;sf&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cis.upenn.edu&#x2F;~bcpierce&#x2F;sf&#x2F;</a>
评论 #5871149 未加载
goldfeld将近 12 年前
Been eyeing Coq for a while, and this is fascinating and motivating for me to take it up (well, after Rust, Clojure and Racket, that is.) Can anyone point me toward projects or tutorials where Coq&#x27;s proofs are used to build great practical real-world systems? My thinking is i&#x27;d love to delve into induction and logics while building something useful.<p>I just wish HN were more about this and less about &quot;iOS7&quot;. Sometimes the amount of Apple zealots around here frightens me, who would support a company like that, and the NSA stuff sharing space with their stuff is quite a fit.
评论 #5869619 未加载
评论 #5869566 未加载
评论 #5869707 未加载
评论 #5869879 未加载
评论 #5870986 未加载
评论 #5876417 未加载
评论 #5870314 未加载
mjb将近 12 年前
I&#x27;ve experimented quite a lot with Coq, and am still struggling to get value from it in a distributed systems context. TLA+ (<a href="http:&#x2F;&#x2F;research.microsoft.com&#x2F;en-us&#x2F;um&#x2F;people&#x2F;lamport&#x2F;tla&#x2F;tla.html" rel="nofollow">http:&#x2F;&#x2F;research.microsoft.com&#x2F;en-us&#x2F;um&#x2F;people&#x2F;lamport&#x2F;tla&#x2F;tl...</a>), on the other hand, was useful to me from the first day that I tried to use it. It&#x27;s model seems better suited to demonstrating properties of distributed systems, and often the exhaustive testing approach of TLC provides much of the same value that Coq&#x27;s proofs do.<p>Coq and TLA+ obviously solve different problems, so comparing them directly isn&#x27;t possible. For a first step into formal methods for distributed systems engineers, however, I&#x27;d recommend TLA+ based on my experiences.
draugadrotten将近 12 年前
I am sorry, but &quot;Coq&quot; is competing right up there with &quot;Megapussi&quot; potato chips and &quot;Wack off&quot; insect repellant for the worst named product.<p>What on earth were you thinking naming it &quot;Coq&quot;?<p><a href="http:&#x2F;&#x2F;www.oddee.com&#x2F;item_96682.aspx" rel="nofollow">http:&#x2F;&#x2F;www.oddee.com&#x2F;item_96682.aspx</a>
评论 #5870038 未加载
评论 #5870243 未加载
评论 #5870182 未加载
评论 #5870873 未加载
评论 #5870301 未加载
评论 #5870053 未加载