coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Richard Ford <richardlford AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Why is the signature of sqrt R->R ?
- Date: Mon, 4 Feb 2019 10:49:25 -0600
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=richardlford AT gmail.com; spf=Pass smtp.mailfrom=richardlford AT gmail.com; spf=None smtp.helo=postmaster AT mail-yw1-f49.google.com
- Ironport-phdr: 9a23:/fPw3RxXOt/dHV3XCy+O+j09IxM/srCxBDY+r6Qd1O8TIJqq85mqBkHD//Il1AaPAd2Lraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRDnhicINT43/m/UhMJtkqxUvAmsqAZjz4POeoyZKOZyc6HbcNgHRWRBRMFRVylZD42gbosAE+oBMvxCr4bgulAArRy+BROxC+jyzTJInH720rE60+s7CwHJwQggH9wJsHTOsdr4L6gSUeWvw6nJyTXPde9Z2TD46IXRdB0qvP+CXbV1ccXLyEkvERvIjlSWqYz/PjOazP4Bs2aB7+Z4VOKvjXInpB91ojS128gjlI/EjZ8WxFDc7Sh13po5KNmiREN4YdOoCoZcuiCHO4dsTc4vR2dlszsgxLIco560Zi0KxYwnxxHBb/yHdJCF4hf5W+aQJTd0nXJkebyiixqr/0itxenxWtO70FZNqSpFnd3MuW4X2xPP7ciHT+Nx/kan2TmRywDe8v9ILVwwmKbBKJMswqQ8mocSvEjeBCP7l0H7gLeTdko+++io7+rnYq/hpp+ZL4J0kAD+PbgumsOlG+Q3LwwOX2ac+eSmybLu5kL5QLBQgf03lqnVqozVJcMepqKhGQ9azp4j6wqjDzehyNkXgX4HLEtcdB2bi4jpJkrBLevjDfa/hlSsiC1ky+rHPr3nGJXNL2LMnK3vfbZnuAZgz184yska7JZJAJkAJujyUwn/ro/2FBg8Zja1yObuEtk1+IQEVSrbGK6SMKrIvVuG4fgjC+aJbY4R/j36Lq52tLbVkXYllApFLuGS1pwNZSXgR6U0EwCieXPpx+w5PyIPtws6QvbtjQTbAzFWbne2Gak742NiUd70PcL4XomoxYe58mKjBJQPPzJJD1mNFTHjcIDWA65ROhLXGddol3k/bZbkS4Il0kvz5grzyr4iP/WNvyNE5NTs09964+CVnhY3p2R5
I wonder if you have investigated Coquelicot (http://coquelicot.saclay.inria.fr/)? It uses total functions on reals to represent derivatives and integrals. The usual dependent formulations of these are unwieldy if you are doing more complex algorithms in calculus. Section 9.2 of the book "Computer Arithmetic and Formal Proof", by Boldo and Melquiond, explains in more detail how using total functions makes expressible some things that would be difficult or impossible using the default formulation of derivatives and integrals in Coq.
Best regards,
Rich
On Mon, Feb 4, 2019 at 5:26 AM Soegtrop, Michael <michael.soegtrop AT intel.com> wrote:
Dear Théo, Florian,
thanks for sharing your insights and considerations!
After pondering over this for a while, I tend to agree with Florian, that a relational interpretation of terms of real numbers might also be worthwhile to consider. Besides being able to handle partial functions, it has the advantage that it could handle "multivalued functions", like complex roots or an inverse sine. It might be that this allows a more natural handling of e.g. representing the solutions of equations than CAS systems like Mathematica offer. Also the elementary functions of real numbers typically evaluate to existentials, so that the usual advantage of a functional interpretation (that it can be evaluated) doesn't seem to apply here. But I guess that such an interpretation would be more confusing at the beginning, e.g. that sqrt(x) simply means + sqrt(x) or - sqrt(x).
I am a mere beginner in doing real analysis in Coq and until I started to define new functions like asin, it was reasonably easy and straightforward to use and mostly compatible with the "outside the coq world" real analysis, so it is quite good as it is.
Best regards,
Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
- RE: [Coq-Club] Why is the signature of sqrt R->R ?, Soegtrop, Michael, 02/01/2019
- Re: [Coq-Club] Why is the signature of sqrt R->R ?, Théo Zimmermann, 02/01/2019
- Re: [Coq-Club] Why is the signature of sqrt R->R ?, Florian Steinberg, 02/02/2019
- RE: [Coq-Club] Why is the signature of sqrt R->R ?, Soegtrop, Michael, 02/04/2019
- Re: [Coq-Club] Why is the signature of sqrt R->R ?, Richard Ford, 02/04/2019
- RE: [Coq-Club] Why is the signature of sqrt R->R ?, Soegtrop, Michael, 02/07/2019
- Re: [Coq-Club] Why is the signature of sqrt R->R ?, Florian Steinberg, 02/05/2019
- RE: [Coq-Club] Why is the signature of sqrt R->R ?, Soegtrop, Michael, 02/07/2019
- Re: [Coq-Club] Why is the signature of sqrt R->R ?, Richard Ford, 02/04/2019
- RE: [Coq-Club] Why is the signature of sqrt R->R ?, Soegtrop, Michael, 02/04/2019
- Re: [Coq-Club] Why is the signature of sqrt R->R ?, Florian Steinberg, 02/02/2019
- Re: [Coq-Club] Why is the signature of sqrt R->R ?, Théo Zimmermann, 02/01/2019
Archive powered by MHonArc 2.6.18.