Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Formal proofs of Google's code jams

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Formal proofs of Google's code jams


Chronological Thread 
  • From: Guillaume Claret <guillaume AT claret.me>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Formal proofs of Google's code jams
  • Date: Mon, 23 Dec 2019 20:05:10 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=guillaume AT claret.me; spf=Neutral smtp.mailfrom=guillaume AT claret.me; spf=None smtp.helo=postmaster AT relay12.mail.gandi.net
  • Ironport-phdr: 9a23:kA5EaBHn5zn0WjBDDWYKZJ1GYnF86YWxBRYc798ds5kLTJ7zpsmwAkXT6L1XgUPTWs2DsrQY0rGQ6fq4EjVZvN6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vIhi6txvdutcKjYdtN6o91xvEqWZUdupLwm9lOUidlAvm6Meq+55j/SVQu/Y/+MNFTK73Yac2Q6FGATo/K2w669HluhfFTQuU+3sTSX4WnQZSAwjE9x71QJH8uTbnu+Vn2SmaOcr2Ta0oWTmn8qxmRgPkhDsBOjUk9mzcl85+g79BoB+5uhJx3YDUboGWOvRwcKzSctEVSnZOUMtKSyxMAZmxY5cTA+cPP+tVqZT2qVsUrRu5AAmhHOLhyiJJhn/y2a01yfkhEQTY0wc9Ad8OtG7brM/rO6cOTOu4y6bIzSjCb/NS3Tfy8pXIchU/rvyXQb1wddDeyVMxGAPZlFmQrJLqMiqT2+8QvWab6O9gWviui24hswxxrTmvxtssionUnY0Z0EzL9SJ8wIotK9y4SVJ7Yd6rEJtXsCGaOI92Td04T250vyY6z7sLsoO4cigS0Jkr2QPTZv6df4WK/h7vTvudLDV7iX5/Zr6yiQi+/VCjx+DyTMW4zUtGoyRfntXRtX0A1wbf58iBR/Bg5EmuwyyP2BrW6uxcIUA7i67bK5k5z74qiJUTtV7MHy/rlEnolqOWc18r+ums6+j9bbXpvJmcOJJ1ig3kNKQhhNC/Dfw5MggIQWeb5fyx2KP+8UD7WrlHjOE6nrPEvJ3YJskXvLC1DgFL3oo77hawFTam0NAWnXkdK1JFfQqKj4f0O1HPJPD4Ce2wg0mpkDh13P3JIrnhDY/XLnfdjLftZ7N95FBExAop0d9f/45UCq0GIP/rRkDxs8XYAgYlPAyw3uboE85w1pgeWGKKGq+WKrnesV6O5uI1IumDfpUZuDjnK6tt2/m7hngg3FQZYKOB3J0NaXn+EO41DV+eZC/Dn9YFFW4Xuwd2Z+jjklCeGWpcene2W6sh4zwTA4avF4rfAIWg1u/SlBynF4FbMzgVQmuHFm3lIt3dB6U8LRmKK8okqQQqEKC7QtZ4hxqqvRX31/xiI7iMo3xKhdfYzNFwotbru1Q3/D1wAd6a1jjUHWpwl3kFW3kz0fIl+BEv+hK4yaF9xsdgO5lT6vdOCFtoL5PYxv0jUZb3UwPFONiATlqnBNOrHWNpQw==

Hello,

Very good idea indeed to help to make Coq known to the developers. To me, a GitHub repository with either links to some proofs or the proofs themselves would be good. Maybe one in the style of the Awsome lists https://github.com/sindresorhus/awesome

Regards,
Guillaume Claret

Le 16/12/2019 à 23:06, Vincent Semeria a écrit :
Dear Coq clubbers,

In this programming competition
https://codingcompetitions.withgoogle.com/codejam
Google challenges the participants to solve computing problems as fast as possible, in any programming language. Both the time to program the solutions and their execution time count in the competition's ranking.

Usually the problems are stated in terms of natural numbers and the execution time limits prevent brute force algorithms. So you often have to come up with twisted formulas with many edge cases, and hope that your results will match those of Google.

I have seen many videos on the web and posts on Stack Overflow giving usual pen-and-paper mathematical proofs of the algorithms, but so far I haven't found a Coq database with the corresponding formal proofs. Does it exist somewhere, maybe for another programming competition ?

If not, I think it would be nice to do it. First it's fun : it fully explains why the black magic formulas do solve the problems. Second, it would give some visibility to Coq among the competitors of the code jams, who are good developers. A collaborative database would be best, where anyone can push a proof when they finish it. Do you know a natural place to put this database ?

Regards,
Vincent



Archive powered by MHonArc 2.6.18.

Top of Page