coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Robbert Krebbers <mailinglists AT robbertkrebbers.nl>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] representing functions' domains and ranges
- Date: Tue, 18 Aug 2015 22:54:51 +0200
On 08/18/2015 10:50 PM, Vadim Zaliva wrote:
Are there are other, alternative representations for such functions? MyFor exactly that reason I tend to prefer total (non-dependently typed) functions most of the time. In that case, you could just return a dummy value if the input is outside of the domain. Separately from that, you could prove that the result of the function is within its range, provided the input is within the domain.
current one works but
proofs look a big messy as expressions end up littered with projection
function applications.
- [Coq-Club] representing functions' domains and ranges, Vadim Zaliva, 08/18/2015
- Re: [Coq-Club] representing functions' domains and ranges, Robbert Krebbers, 08/18/2015
- Re: [Coq-Club] representing functions' domains and ranges, Cedric Auger, 08/19/2015
- Re: [Coq-Club] representing functions' domains and ranges, plastyx, 08/31/2015
Archive powered by MHonArc 2.6.18.