coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Stefan Monnier <monnier AT iro.umontreal.ca>
- To: András Kovács <kovacsandras AT inf.elte.hu>
- Cc: Jason Gross <jasongross9 AT gmail.com>, coq-club AT inria.fr, agda-list <agda AT lists.chalmers.se>, Coq Discourse <coq+miscellaneous AT discoursemail.com>, lean-user <lean-user AT googlegroups.com>, cl-isabelle-users AT lists.cam.ac.uk
- Subject: Re: [Coq-Club] [Agda] Prior work on proof assistant performance / optimization
- Date: Tue, 12 May 2020 10:30:33 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=monnier AT iro.umontreal.ca; spf=Pass smtp.mailfrom=monnier AT iro.umontreal.ca; spf=None smtp.helo=postmaster AT mailscanner.iro.umontreal.ca
- Ironport-phdr: 9a23:luvHEBDJfIu/FFOXkacUUyQJP3N1i/DPJgcQr6AfoPdwSPX+r8bcNUDSrc9gkEXOFd2Cra4d1qyH6eu/AiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagYb5+NhG7oRveusQUj4ZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLzhSwZKzA27n3Yis1ojKJavh2hoQB/w5XJa42RLfZyY7/Rcc8fSWdHQ81fVTFOApmkYoUPEeQPIOVWr4fzqVQMoxSxChWjCfjzyjNUnHL6wbE23v49HQzAwQcuH8gOsHPRrNjtKakSTf66zKfSwjXFcvhY3jD96I7OchAgv/6MR697fM3UyUkoEQPFiFSQppL/Pz6O1+QNqW+b4/B9VeKqjG4nrR1xoiKxycg2jonFnJ4axUrd+Ch/3Y06KsG2RlRhbt64DJtfqTuaN41uT84+QWxltiY0x6AbtZOmYCUH1ZAqywPfZvCacYWF/w/uWPqRLztlgH9oebyxiwiz/EWu1ODwS8m53EtIoydGnNfBsG0G2RLU6siCUPR9/0Gh1C6A1wDS9uFEIV00mrHBJ5E9xb4wk5weulnAEC/ugEj6kaGbels+9uS29+jqba/qqoGcOoNuigzyLrwiltKiDek5KAQCQmiW9Oum2LDt50H1XqlGguMwn6LEqp7VP94bqbS8AwJN0oYs9RK/DzC+3dQdh3YHLVZFeAmbgIfzPVHOJu73De2lj1StijdrwOrKPqDkApXKKHjDjK3hcqhn5E5Y0gY80cpQ64pVCrEHPv3zRlf8uMHWAxMnKQC43frrBdpn2o8AWW+DGK+UPL/KvV+N/O0vIu2MZIEPuDb6Lvgo//vujXg/mV8bfKmmw4EXZWu5HvR8JEWVe2fsgtIGEWcMogo+VvLlh0eGUTJJe3m9Rbow5isnB4K+EYfDWoetjaSd0ye8B51af3xJClSREXjzbIiEQPcNaCeKIsB7iDAEVL6hS5Ug1R60rgP6xaBnfaLo/Xgxs575XcNCxOrNHBopvWh3CNqU2HqESW1ul3ggRjk4mq17vUE7ykrVgoZihPkNLsBe6fpPGiI9M5jdwvYyX9X1XATAc82hSUyhBMijBjctVN84x5kFahAuSJ2Zkhnf0n/yUPcunLuRCclxq/qEhimjF4NG03/DkZIZoRwjS8pLO3ehg/cvpQnJAMjUlkKfi7ynfKBa1yefrT7fn1rLh1lRVUtLaYuARWoWPxuErM7+oF7HSLmyE7kuNk1KwJzac/YYWpjSlVxDAczbFpHebma2wD/iAB+JwqiHZYzsdn9b3T/aTlUBlAYP53uPMU41D3X5rg==
> You may be interested in my github repos: smalltt
> <https://github.com/AndrasKovacs/smalltt>, normalization-bench
> <https://github.com/AndrasKovacs/normalization-bench>. I haven't yet
> updated the smalltt repo, but there's a simplified implementation
> <https://gist.github.com/AndrasKovacs/a0e0938113b193d6b9c1c0620d853784> of
> its evaluator, which seems to have roughly the same performance but which
> is much simpler to implement.
Very interesting, thank you.
> It is also extremely important to stick to the spirit of Coquand's semantic
> checking algorithm as much as possible. In summary: core syntax should
> support *no* expensive computation: no substitution, shifting, renaming, or
> other ad-hoc term massaging. Core syntax should be viewed as immutable
> machine code, which supports evaluation into various semantic domains, from
> which sometimes we can read syntax back; this also leaves it open to swap
> out the representation of core syntax to efficient alternatives such as
> bytecode or machine code.
[ Hmm... I kind of vaguely understand what that entails, but can't quite
see how that would work in practice. I guess I'll have to dig deeper
into your above Git repositories. ]
> Only after we get the above two basic points right, can we start to think
> about more specific and esoteric optimizations. I am skeptical of proposed
> solutions which do not include these. Hash consing has been brought up many
> times, but it is very unsatisfying compared to non-deterministic NbE,
> because of its large constant costs, implementation complexity, and the
> failure to handle sharing loss from beta-redexes in any meaningful way
> (which is the most important source of sharing loss!).
Could you elaborate on this "sharing loss from beta-redexes"?
Stefan
- [Coq-Club] Prior work on proof assistant performance / optimization, Jason Gross, 05/08/2020
- Re: [Coq-Club] Prior work on proof assistant performance / optimization, Stefan Monnier, 05/08/2020
- Re: [Coq-Club] [Agda] Prior work on proof assistant performance / optimization, András Kovács, 05/08/2020
- Re: [Coq-Club] [Agda] Prior work on proof assistant performance / optimization, Stefan Monnier, 05/12/2020
- Re: [Coq-Club] [Agda] Prior work on proof assistant performance / optimization, András Kovács, 05/12/2020
- Re: [Coq-Club] [Agda] Prior work on proof assistant performance / optimization, Wolfram Kahl, 05/12/2020
- Re: [Coq-Club] [Agda] Prior work on proof assistant performance / optimization, András Kovács, 05/12/2020
- Re: [Coq-Club] [Agda] Prior work on proof assistant performance / optimization, Jason Gross, 05/14/2020
- Re: [Coq-Club] [Agda] Prior work on proof assistant performance / optimization, Stefan Monnier, 05/12/2020
- Re: [Coq-Club] [isabelle] Prior work on proof assistant performance / optimization, Lawrence Paulson, 05/08/2020
- Re: [Coq-Club] [isabelle] Prior work on proof assistant performance / optimization, Konrad Slind, 05/14/2020
Archive powered by MHonArc 2.6.18.