coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Kinan Dak Albab <babman AT bu.edu>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Formal proofs of Google's code jams
- Date: Mon, 23 Dec 2019 15:16:55 -0500
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=babman AT bu.edu; spf=Pass smtp.mailfrom=babman AT bu.edu; spf=None smtp.helo=postmaster AT relay68.bu.edu
- Ironport-phdr: 9a23:kxDwzhwlPRP2a3/XCy+O+j09IxM/srCxBDY+r6Qd1OMUIJqq85mqBkHD//Il1AaPAdyArage06GP6f+ocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmTSwbalsIBmosQndudQajZVgJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lK1UoByjqBJ/zYDaY5ybOuRica7GZ9wWWXBMU9xNWyBdAI6xaZYEAeobPeZfqonwv14ArRq4BQa2AuPk1zFGiWX13aYnz+khFRrJ0xY7ENkTt3nbt8/6O7wXUe+vyqnF1i7Mb+5M1Tjj9YfIbwksrPeRVrx+dsrRzFMgFwLDjliItYPlOC6a2foDs2ic9epvSfygi3U9pw5tpTivw98giobIhoIJylDE6D52zJwpKt2/TU53edClEJpMtyGaOIt2RcQiQ25suCkk0LEJpZm7fC0SxJQj2RHQdeCHfJSP4h3+SumdOyt3hHVgeL+5mh288lCgx/XhWsWq01tGtDdJn93Ou3wXyRDf9MuKRuF/80qv3zuEyhrd5fteIU8ukKrWM54hzaA0lpoUqUnDBDH5mEHsg66Wd0gp+fKk5P/6Yrn8uJCTKpJ0hhn/MqQohMO/Hfw1PhUQU2WY4+iwybnu8E/jTLlUkPE7kbPVvZLUKMgDo662GQ5V0oIt6xalCDem1cwVkmIdI11efRKIlY7pNkrVL/DlF/uwnUmjkCpzy/DcIrLhGonNLmTEkLr5Ybl97FdcxBMvwtBb+pJbEaoMIOnzW0/0rNzXFAU1Mw2yw+b9CdVyzJkSWWyVAvzRDKSHuliRo+krPuOkZYkPuT+7JeJ2yeTpiCoamFkUe+GF1JhfQXSyF/4ud0+Qa3/lhP8LDCEHshdoH7+is0GLTTMGPyX6ZKk7/DxuUNv7X7eGfZikhfm65An+HpBSYTkYWEqBFX75KdXCUepKZS6PcJc4zm40EIO5Qopk7imA8Rfgwuo1JPeS9yEF58q6hYpFotbLnBR3zgRaSsGU0mWDVWZxzjECWnk70L0t+EE=
Hello,
This sounds like a very nice idea to me. I think having a centralized directory (such as awesome lists on github) with pointers to individual exercises and their proofs is the best way to go about this.
Also, for individual exercises that either have some interesting twist in terms of reasoning or have some value from a Coq perspective pedagogically, it may be appropriate to write some medium articles about them. This can help inform the software engineering and competitive programming communities about Coq.
codeforces (https://codeforces.com/) and leetcode (https://leetcode.com/problemset/all/) have diverse exercises too, some involving natural numbers, and others involving graphs and trees and other data structures. These are popular websites for people training for programming interviews or programming contests. Coq proofs for such exercises will be a lot fun.
I would be willing to contribute to something like this in my free time
Best,
Kinan
On Mon, Dec 23, 2019 at 2:06 PM Guillaume Claret <guillaume AT claret.me> wrote:
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
- [Coq-Club] Formal proofs of Google's code jams, Vincent Semeria, 12/16/2019
- Re: [Coq-Club] Formal proofs of Google's code jams, Guillaume Claret, 12/23/2019
- Re: [Coq-Club] Formal proofs of Google's code jams, Kinan Dak Albab, 12/23/2019
- Re: [Coq-Club] Formal proofs of Google's code jams, Guillaume Claret, 12/23/2019
Archive powered by MHonArc 2.6.18.