coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: mechvel AT scico.botik.ru
- To: Jason Gross <jasongross9 AT gmail.com>
- Cc: nad AT cse.gu.se, coq-club <coq-club AT inria.fr>, agda-list <agda AT lists.chalmers.se>, Coq Discourse <coq+miscellaneous AT discoursemail.com>
- Subject: Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?
- Date: Fri, 06 Mar 2020 22:40:28 +0300
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=mechvel AT scico.botik.ru; spf=Pass smtp.mailfrom=mechvel AT scico.botik.ru; spf=None smtp.helo=postmaster AT mail.botik.ru
- Ironport-phdr: 9a23:QVDBeRW6g3ZWJXEwsrPMI5kP9t7V8LGtZVwlr6E/grcLSJyIuqrYZRyEt8tkgFKBZ4jH8fUM07OQ6P+wHzFYqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aMlzFOAF0PuX4HJLJx4Tyjrjqus6bXwIdpjOmZrU6Aw+xth6Z4ssfmoxkJbw20QCYinRNcuVSg2hvIATAsQz745K18ZVj7SlUk+kq9sVHF6/9Y6U7C6ZFX2duCHw8+MC+7UqLdgCI/HZJFzxOykMUUTiA1wnzW9LKigW/rvB0gXfIJsb3RrdyUzO+7qQtUgK60H5aZQ58y3nej4lLtIweoB+loEUikYvdYYXTPv1if6CbZ85IHTMQDPYUbDRIB8aHV6VKCuMAOehCqIyk+QkVphq1Ak+mA//uyXlSmy2v0A==
Continuing a sub-discussion about the type check performance,
I add that I have tried now the current Development Agda version (March 5, 2020).
I compare it to the last official version of 2.6.0.1
at a certain BFLib project (Binary Integer + General Fraction arithmetcic).
This library is may be 5 times smaller than DoCon-A, but it is large in comparison to
usual Agda application practice.
It is applied
> time agda $agdaLibOpt BRationalTest.agda +RTS -M<size> -RTS
(on ghc-8.8.3, Ubuntu Linux 18.04, 3 GHz personal computer)
which type-checks everything in the given memory space.
Development Agda type-checks it in the minimum of 1400 Mb memory,
it is about 1.5 times less space eager and 20% faster.
This gives a certain hope, assuming that 2.6.0.1 probably wins something relatively to
the versions of 2017.
This needs testing and effort in upgrading DoCon-A.
Regards,
------
Sergei
On 2020-03-04 20:07,
mechvel AT scico.botik.ru
wrote:
On 2020-03-04 14:22,
mechvel AT scico.botik.ru
wrote:
On 2020-03-04 02:04, Jason Gross wrote:
I'm confused by this. Are you saying that in Agda typechecking is
exponential in the number of files? Or exponential in the number of
nested abstractions? Or something else? Do you have a toy example
demonstrating this behavior?
No toy example, so far, but I think such can be provided.
I have a real-world example of the DoCon-A library for algebra:
http://www.botik.ru/pub/local/Mechveliani/docon-A/2.02/
This is a small part of the intended general purpose library for algebra
(for algebra methods, it is very small, but comparing to the Agda
practice, it is large).
It is written in install.txt
"for the -M15G key (15 Gb heap) installation takes about 50 minutes on a
3 GHz personal computer.
"
I am sorry.
I need to add the following.
This as about the Agda versions of about 2017.
It may occur that the current Agda version improves something there.
This needs testing, needs more effort in porting the library.
I use the last Agda versions, but on certain smaller projects.
- [Coq-Club] Why dependent type theory?, Jason Gross, 03/03/2020
- Re: [Coq-Club] [lean-user] Why dependent type theory?, Colin Stebbins Gordon, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, Viktor Kunčak, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, Jason Gross, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, Patricia Peratto, 03/03/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, mechvel, 03/03/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Jason Gross, 03/04/2020
- Re: [Coq-Club] [lean-user] Re: [Agda] Why dependent type theory?, mechvel, 03/04/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, mechvel, 03/04/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, mechvel, 03/06/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, mechvel, 03/07/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, mechvel, 03/04/2020
- Re: [Coq-Club] [lean-user] Re: [Agda] Why dependent type theory?, mechvel, 03/04/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Ralf Jung, 03/04/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, mechvel, 03/04/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Ulf Norell, 03/04/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, mechvel, 03/04/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Jason Gross, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Pierre Courtieu, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Pierre-Marie Pédrot, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Jason Gross, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, Jesper Cockx, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, Ralf Jung, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Jesper Cockx, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Ralf Jung, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Jesper Cockx, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Ralf Jung, 03/04/2020
Archive powered by MHonArc 2.6.18.