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: Timothy Carstens <intoverflow AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Fwd: "Lean is like Coq but better"
  • Date: Fri, 3 Jan 2020 09:16:23 -0700
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=intoverflow AT gmail.com; spf=Pass smtp.mailfrom=intoverflow AT gmail.com; spf=None smtp.helo=postmaster AT mail-yb1-f177.google.com
  • Ironport-phdr: 9a23:qkYHChDKYlrfZTdh43csUyQJP3N1i/DPJgcQr6AfoPdwSPv+ocbcNUDSrc9gkEXOFd2Cra4d0KyM7/urCTFIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfL1/IA+ooQjeuMQajohvJ6YswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKMSMy/mPKhcxqlK9UvB2vqRxwzIDJbo+bN/R+caHDc90dXmdBQt9RVyldDoO8c4cCDewMNvtYoYnnoFsOqAOzCxetBOPqzT9Imn/23K0n2Ok/Cw7GxhcgH84Qv3TSt9X+KaAfUeGzzKnUyjXDce1Z2S3z6IjMdRAgr+qBXb11ccXLyEkvExnJgUmXqYzgJj6Y0PkGvWuD7+d4S+6jl2oqpxtyrzWv3MsglJTFi4YPxlzZ9yh0wp45KN6iREN0YNOoCpldui+AO4drX88uX2dlszsgxLIco560Zi0KxYwnxxHBb/yHdJCF4hf5W+aQJTd0nXJkd6miixqr/0is1+/xW8uu3FZFqSpFldbMtnQT2BDJ9seHTf598l+g2TaJyQ/T9vlJLV4omaffMZIswb49moANvUjeGiL6glj6ga2Ue0k8/+in8eXnYrHopp+GMI90jxnzMqUomsyjBuQ4LBYBX3KV+eS4073i81b0QLpPjvIsk6nZtIrWKtgcpq68GwNVyJos6w6jDze619QVhWUILFVceB6ek4fpP0zOL+vjAPekg1WslS9ryOrcMr3gBJXNNHnDn637cbZz8U4PgDY0mNtY/tdfDqwLCPP1QE748tLCXTEjNAnh/+fiD8l9x8s1UHiUHqKfK+uGsFmU4fwiOeeIY5A9tzP0Kvxj7Pnr2yxq0WQBdLWkiMNEIEuzGe5rdh3APSjcx+wZGGJPhTIQCfTwgQTbAzFWbne2Gak742NjUdP0PcL4XomoxYe58mK+F5xSaHpBDwnVQ3jtfoSAHfwLbXDLe5Izonk/TbGkDrQZ+1SuuQv9keQ1K+PV/mgJv8um2oEquKvckhY98TEyBMOYgTmA

More broadly, categorical semantics benefits from things like W-types, which
are difficult to construct without an appeal to Adamek’s construction, which
requires (in set theory as well as dependent type theory) quotients.

Sent from my iPhone

> On Jan 3, 2020, at 8:55 AM, Thorsten Altenkirch
> <Thorsten.Altenkirch AT nottingham.ac.uk>
> wrote:
>
> Quotient reasoning isn’t used enough in program verification because we
> are used to think in terms of syntax missing many tricks which are based on
> a more semantic perspective and which lead to nicer structures. An example
> is the treatment of non-termination which is often addressed by some fuel
> based approach. We have shown that non-termination is a monad given by the
> free omega-cpo over a given set (in the sense of HoTT) using a quotient
> inductive type. More needs to be done but there is the potential to
> actually use the ideas from domain theory in practical program verification.
>
> Sent from my iPhone
>
>>> On 3 Jan 2020, at 13:34, Adam Chlipala
>>> <adamc AT csail.mit.edu>
>>> wrote:
>>>
>>> On 1/3/20 7:37 AM, Thorsten Altenkirch wrote:
>>> Both Coq and Lean fail in properly supporting structures with a
>>> non-trivial equality. Lean doesn’t really offer an answer to setoid hell
>>> but just adds quotients as an axiomatic principle with no computational
>>> explanation. This is despite us knowing since a while (I wrote a paper on
>>> this in ’99) how to turn setoid hell into setoid heaven by working within
>>> the setoid model: that is if you want to talk about setoids all the time
>>> just accept that every type comes with its own eqaulity and build your
>>> type theory around this.
>> I think one factor that might lead to surprisingly different perspectives
>> from different people in this discussion is that, as far as I can tell,
>> quotient reasoning is much more common in pure math than in program
>> verification. Yes, it comes up often enough that everyone working on
>> program verification has used it in a few projects, but it hardly seems to
>> rise to the level of an essential foundation for all work (which raises
>> questions of whether it is worth complicating the core type theory to
>> support, expanding the trusted base). I don't think too many
>> program-verification projects are avoiding quotient reasoning because it
>> is awkward rather than just not especially applicable.
>
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please contact the sender and delete the email and
> attachment.
>
> Any views or opinions expressed by the author of this email do not
> necessarily reflect the views of the University of Nottingham. Email
> communications with the University of Nottingham may be monitored
> where permitted by law.
>
>
>
>



Archive powered by MHonArc 2.6.18.

Top of Page