Has anyone thought about creating a formal proof wiki with verifier? - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-25T04:56:26Z http://mathoverflow.net/feeds/question/41214 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/41214/has-anyone-thought-about-creating-a-formal-proof-wiki-with-verifier Has anyone thought about creating a formal proof wiki with verifier? Ryan Budney 2010-10-05T22:06:26Z 2013-01-13T05:10:42Z <p>Mathematics has undergone some rather nice developments recently with the adoption of new techologies, things like on-line journals, the arXiv, this website, etc. I imagine there must be many further developments that could be quite useful.</p> <p>What I'm thinking of is a webpage where anyone can contribute formal proofs of theorems. In particular there would be many proofs of the same theorem provided the proof is different -- like a constructive proof of Brouwer's fixed point theorem, and non-constructive proof, etc. </p> <p>The idea would be to build up a large web of formal proofs, one building on another so that one could eventually do searches through this space of formal proofs to find out what the most efficient proofs are, in the sense of how many ASCII characters it would take to write-up the proof using Zermelo-Frankel set theory. One hope would be to have a big, active database of verified formal proofs. Another would be to have a webpage where you could hope to discover whether or not there are simpler proofs of theorems you know, that you may have not been be aware of.</p> <p>Being a web-page there would be certain useful efficiencies -- the webpage could "compile" your proof and check to see it's valid. Being a wiki would make it relatively easy for people to contribute and build on an existing infrastructure. And you'd be free to use pre-existing proofs (provided they've been verified as valid) in any subsequent proofs. One could readily check what axioms a proof needs -- for example to what extent a proof needs the axiom of choice, and so on. </p> <p>Is there any efforts towards such a development? Such a tool would hopefully function like the publishing arm of some sort of modern internet-era Bourbaki. </p> http://mathoverflow.net/questions/41214/has-anyone-thought-about-creating-a-formal-proof-wiki-with-verifier/41216#41216 Answer by David Zureick-Brown for Has anyone thought about creating a formal proof wiki with verifier? David Zureick-Brown 2010-10-05T22:29:44Z 2010-10-05T22:29:44Z <p>Such a thing does exist; check out <a href="http://www.vdash.org/" rel="nofollow">http://www.vdash.org/</a> and also this talk by Cameron Freer: <a href="http://www.youtube.com/watch?v=ZDI7L4Ya9Ms" rel="nofollow">http://www.youtube.com/watch?v=ZDI7L4Ya9Ms</a>. </p> http://mathoverflow.net/questions/41214/has-anyone-thought-about-creating-a-formal-proof-wiki-with-verifier/41242#41242 Answer by Tom Ridge for Has anyone thought about creating a formal proof wiki with verifier? Tom Ridge 2010-10-06T08:16:15Z 2010-10-06T08:24:02Z <p>There are lots of sites for formal proofs, but no wiki that I am aware of.</p> <p>Typical examples are:</p> <p>archive of formal proofs at <a href="http://afp.sourceforge.net/" rel="nofollow">http://afp.sourceforge.net/</a></p> <p>Mizar <a href="http://mizar.org/" rel="nofollow">http://mizar.org/</a></p> <p>Lots of proofs are contained in the distributions of various interactive theorem provers: Isabelle, Hol, hol light, Coq, acl2 etc etc</p> <p>As stated in another post, there is no agreement on foundations (formulas, axioms and rules of inference). A typical split is between classical (Hol et al.) and non-classical (Coq et al.) systems, but the differences are typically much more subtle than that. As a result all these systems are effectively unable to reuse proofs from other systems. Occasionally someone writes a translator from one system to another, but the problem here is that the translation typically does not produce a readable proof in the target system; a readable proof is necessary if the translated proof is to be maintainable. If you fix on ZFC+(maybe some other axioms), then Mizar probably has the most extensive library.</p> <p>Every few years, someone proposes a big database of formal proofs, but these projects invariably die for various reasons related to the issues above. An example is the QED project:</p> <p><a href="http://en.wikipedia.org/wiki/QED_manifesto" rel="nofollow">http://en.wikipedia.org/wiki/QED_manifesto</a></p> <p>My personal view is that constructing formal proofs, and maintaining them, is currently too difficult. Having said that, in the long run this is clearly an idea whose time will come.</p> http://mathoverflow.net/questions/41214/has-anyone-thought-about-creating-a-formal-proof-wiki-with-verifier/41324#41324 Answer by Sebastian Reichelt for Has anyone thought about creating a formal proof wiki with verifier? Sebastian Reichelt 2010-10-06T20:40:52Z 2010-10-06T20:40:52Z <p>I think the following additional links are relevant:</p> <p><a href="http://homepages.inf.ed.ac.uk/da/mathwiki/" rel="nofollow">http://homepages.inf.ed.ac.uk/da/mathwiki/</a></p> <p><a href="http://prover.cs.ru.nl/wiki.php" rel="nofollow">http://prover.cs.ru.nl/wiki.php</a></p> <p><a href="http://www.qedeq.org/" rel="nofollow">http://www.qedeq.org/</a> (sort of)</p> <p>However, like David Lehavi I'm skeptical about the benefit of wikis over regular proof assistant technology. For me, the entrance barrier has always been learning the language and tactics of a proof assistant, not installing the software or adding something to the standard library (that is, I have never gotten that far, but if it's a problem, then it's a social one).</p> <p>I agree with Tom Ridge that the time for a big collection of formal mathematics will come. But I think we should collect definitions, theorem statements, and proofs separately. That is, if a theorem is already widely known to be true, the proof should be optional, so it can be filled in later. A collection of formalized definitions and known facts would already be very useful, and most importantly, people working on different proofs can collaborate easily, whereas the formalization of definitions and theorem statements requires coordination. Of course, with current proof assistants, it's hard to be certain that definitions and statements are correct ...</p> http://mathoverflow.net/questions/41214/has-anyone-thought-about-creating-a-formal-proof-wiki-with-verifier/69696#69696 Answer by Siddhartha Gadgil for Has anyone thought about creating a formal proof wiki with verifier? Siddhartha Gadgil 2011-07-07T08:57:46Z 2011-07-07T08:57:46Z <p>Perhaps what would be useful are the first steps towards semi-automatic translation. There are excellent natural language parsers which almost correctly parse a complicated mathematical sentence, after applying some tricks, as one can find experimentally by looking at the online Stanford parser. Given this, it seems conceivable that there can be at least a supervised translation into Isabelle/Isar. As Isabelle can invoke powerful deduction engines, the detail in a human paper should be good enough.</p> http://mathoverflow.net/questions/41214/has-anyone-thought-about-creating-a-formal-proof-wiki-with-verifier/118695#118695 Answer by jessealama for Has anyone thought about creating a formal proof wiki with verifier? jessealama 2013-01-12T02:54:59Z 2013-01-12T23:56:24Z <p>As part of the <a href="http://www.fnds.cs.ru.nl/fndswiki/Research/MathWiki" rel="nofollow">MathWiki</a> project at Radboud University Nijmegen (The Netherlands), a wiki for <a href="http://mws.cs.ru.nl/mwiki/" rel="nofollow">Mizar</a> and for <a href="http://mws.cs.ru.nl/cwiki/" rel="nofollow">Coq-CoRN wiki</a> were built. Concerning Brouwer's fixed-point theorem, for example, see <a href="http://mws.cs.ru.nl/mwiki/brouwer.html#T14" rel="nofollow">the entry <code>BROUWER</code></a> in the Mizar wiki.</p> http://mathoverflow.net/questions/41214/has-anyone-thought-about-creating-a-formal-proof-wiki-with-verifier/118778#118778 Answer by Ryan Reich for Has anyone thought about creating a formal proof wiki with verifier? Ryan Reich 2013-01-13T05:10:42Z 2013-01-13T05:10:42Z <p>This is far from timely in any sense, but since the question just popped up again, I will mention that somewhere in 2006&ndash;2008 I heard <a href="http://web.maths.unsw.edu.au/~davidharvey/" rel="nofollow">David Harvey</a>, while we were both in grad school, getting very excited about creating exactly this. He did a nontrivial amount of legwork to set up the verifier, as I recall, but gave it up eventually. Perhaps he remembers what he came up with.</p>