Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Fwd: "Lean is like Coq but better"

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Fwd: "Lean is like Coq but better"


Chronological Thread 
  • From: "jonikelee AT gmail.com" <jonikelee AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Fwd: "Lean is like Coq but better"
  • Date: Thu, 9 Jan 2020 00:54:22 -0500
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qv1-f50.google.com
  • Ironport-phdr: 9a23:JCN0ahYvQVTJnrcdsHTUw0L/LSx+4OfEezUN459isYplN5qZr8+9bnLW6fgltlLVR4KTs6sC17ON9fq9CCdfsN6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vIhi6txvdu8kSjIdtKKs8zgbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrRyvpxJx3ZPaboKXO/pwea3Scs8VS2VaU8ZNVSFMGJ+wYpETA+YfO+tTsonzp0EJrRu7HQSgCuHvyjhOhn/33q01zeAhHh/Y0wE7ENIOtW7brNTxNKsITe+1y6zIwTveZP5R2zf9747IchEiof6SWbJ/b9TexFIgFwPAlFqQqIjlMymJ2eQKtmiW9uxtXv+hhW4grgF+uDmvxsE0h4bSm4IZ0E7L+jhkwIszONa2S1Z7bMa6HJdMsyyWLYh7T8M4T212pSo3zqcKtJ6ncCQS1pgqxgLTZ+GCfoSV5h/sSOOcLDh5iX55ZL6yggu+/Euix+D5S8a7zVRHoyRAn9TOt30CzR7e582dRfZ9/Eqs2TOC2gPO5u5eI005k7fQJYQ7zb4qjJUTtFzOHi/ol0Xyi6+bbkAk9fKp6+Tje7nmv4GcO5JthgHwMqkihtazAes/MggJUGib/fqz2Kf/8k3+RbVGlvw2kq/Hv5DGPckXuLK1DgtP3osg6xuzFSmq3MkckHUdLF9JZAqLj43zNFHPJPD4A+2/g1OpkDpzxfDGObvhApTOLnfdlLfuY6hy5lVTyAo2199f5pZUBqsdL/L0X0/9rMbYAQMhMwyo3+bnD81w2Z8ZWWKWG6OWLKfSsUKT6e80OOmNZIoVuC7nJPQ/5v7ui2U5mV4HcqWz05sXciPwIvMzKEKAJHHon90pEGEQvwN4Qva5pkeFVGsZZXG0XqEx4jw2II2jBIbHAIuqhfbJiCW8GJxVa2RLB3iDFH7pc8OPXPJaO3HaGdNojjFRDevpcIQmzxz77FanmYoiFfLd/2gjjbym1NVx4LeOxxQ79DgxFtrElm/QFyd7mWQHQzJw16d68xQklgWzlJNgivkdLuR9outTW15jZ5HZxu1+Tdv1X1CZJ4bbeBOdWtyjRAoJYJc0yt4KbVx6Hoz73B/G1iuuRbQSku7SCQ==

I am very happy to read about Kinan's example! I am a software
engineer with very little prior exposure to proof systems, yet I was
able to pick up Ltac rather easily and be somewhat successful with Coq
despite not knowing much about Coq's underlying theory. It is
comforting to know this is a more common experience.

I'd like to amend my previous comments. This is not the first time
I've had some fears about proof systems like Coq leaving software
engineers behind for the loftier ambitions of mathematicians. I also
felt that when the HoTT people first gathered here years ago. I'm
very thankful when mathematicians make contributions to proof systems,
but worry that they will use their abilities and influence to tune these
sytems more to their own liking and less to mine, and others like me.

So I think most of my own reaction is to the tone of some of the
pro-Lean comments in this thread - they sound to me as though they are
suggesting that their way is better and Coq would be foolish not to
follow their lead. "Lean is like Coq but better" ... perhaps for some,
but not all.

On Thu, 9 Jan 2020 04:33:01 -0500
Kinan Dak Albab
<babman AT bu.edu>
wrote:

> This has been an interesting discussion to read. I do not have nearly
> enough depth in fields medal level mathematics or the career and
> politics of being a mathematician to understand all the subtle
> implications of having a purely constructive vs classical reasoning
> framework on that world. However, I want to add something to a
> previous point, although the discussion seems to have drifted away
> from it.
>
> I think Ltac deserves more credit than this discussion was giving it.
> I taught a course last year where we covered using several proof
> assistants and certified programming languages (from the program
> verification perspective) to students of various backgrounds, from
> undergraduate seniors to PhD students. After about 4 weeks of Coq,
> most students were able to write small but non-trivial tactics for
> program verification, either to shorten their proofs by repeating
> some proof pattern directed by the structure of the program being
> analyzed (e.g. applying case analysis on the condition in an if
> statement), or for crunching/generating sub-goals with Hoare logic
> etc.
>
> Most of these students did not have prior background on this kind of
> formal reasoning or proof engineering, but they were able to use and
> intuitively understand props and inductive relations in Coq because
> of their computational content / interpretation. It was considerably
> more challenging for the students to do something similar in Lean.
> The theorems and programs they were able to work on were considerably
> simpler. Part of this may be because I am far more comfortable with
> Coq, so I may have given better examples or homework exercises. But
> it was clear that (at least for program verification) tactics are
> really as important as library theorems and lemmas (if not more so).
>
> I am not entirely sure that providing extensions of any specific
> system that incorporates different axioms (e.g. LEM) is the way to
> go. I agree with Talia that having different systems that cater to
> different communities is perfectly fine, provided that interfacing
> between such systems is improved. The main shortcoming of the status
> quo (from my very pragmatic program verification perspective) is the
> immaturity of programming/proof abstractions for proof engineering,
> which fail to sufficiently abstract the mathematical foundations of
> the system, and end up increasing the learning curve and required
> background for effective use of the system. It is ridiculous to
> assume that programmers who use strongly typed programming languages
> need to understand the underlying type theory and logical foundations
> well, in fact most do not. Unfortunately, this seems to be a
> requirement for those interested in mechanized proof engineering.
> Customization is likely to make this worse.
>
> -Kinan
> http://cs-people.bu.edu/babman/
>



Archive powered by MHonArc 2.6.18.

Top of Page