Re:A blog engine written and proven in Coq
by leoc on Thursday February 12, 2015 @10:02AM
(#9039009)
> require the comments to be provably correct and assume the post as premise and I think we're onto a winner
It's trivial: proof is by EFQ. ;)
Re:A blog engine written and proven in Coq
by chriswarbo on Thursday February 12, 2015 @12:25PM
(#9039956)
An interesting idea. I've written an "active code" system for my blog, based on the excellent Pandoc ( http://chriswarbo.net/essays/activecode/index.html ) so I can write code inside my posts and have it executed during rendering.
There's no requirement to do things that way, but it's certainly possible to write posts containing blocks of Coq code and blocks of shell code for compiling them, such that a failed compilation will abort the rendering. In fact, I'm doing that very thing right now! Although I'm rendering a PDF paper rather than a HTML blog post ;)
But require the comments to be provably correct and assume the post as premise and I think we're onto a winner.