coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Dirk Pattinson <dirk.pattinson AT anu.edu.au>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] anyone using SProp?
- Date: Fri, 24 Jan 2020 00:55:43 +0000
- Accept-language: en-AU, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=anu.edu.au; dmarc=pass action=none header.from=anu.edu.au; dkim=pass header.d=anu.edu.au; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LmIQnyoxMj7RzTagtaYv26wmmbYlm6npJ5PYrhOHogA=; b=AzeJ3qYtHapupoWFL51xkzsFbM4+NfOYOOJ9HVPsy+icmRJ/7J0zYKLhn3YZwViRv5AwVatmZAsVZowbLGpaGWh7tbQXl5az0QEpkexurMut4vFRcUAAU0wwRXtFEjetdsXg1LzbGWrp3xio3dgdfkvoC7XQg+wzkQIwxcThKqKHgSKvMJ5s01qsV1h1r0IllB4Mo5LhlLWmmD2adXHGMfK6mWX2PC3CYC3k6qcnnYPAOkbrLC1IfCqLwTR83xk4czKC7rUZ3welR46G27OB4X0/inSSAMVoy/W+d8voroKS5ASV09lCWTAoqs6HdbfJPPYD5eGZDWBX1W6s+VIjIA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=anRE4KU4eETHbpoRov+Ky16/eyrY1xI5lejMYY3LsjrD15HWUBEyv58DgwMCULUpFutNuh528wg9/kW+Q03CZ/02I/6mByZk+Ic9mbd3LQVnq1ey38swip1t564btS74FyGo5v3H8X0AWXw9oUSHr+CxaelsWGln21meG52bURdLlEA1eLnLC6QbOxE1ghyEQX33gVw5mjRopsxS17PHLrhd6YMybk1GUz5p+P4X4gi+rAYAU2mVIyERfrFGqrSqfzDBdJQVQjUtDpcKp6/g/2KQ+pvkXlZUzPP0oNyLL3LvU9OJsMLEEWAJ0MzcpKZ+4Hhm0liBjpnanbozvlw59Q==
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=dirk.pattinson AT anu.edu.au; spf=Pass smtp.mailfrom=dirk.pattinson AT anu.edu.au; spf=Pass smtp.helo=postmaster AT AUS01-SY3-obe.outbound.protection.outlook.com
- Ironport-phdr: 9a23:jrGM1REhIoFSTomIJxjEep1GYnF86YWxBRYc798ds5kLTJ7zoMuwAkXT6L1XgUPTWs2DsrQY0raQ6furADVIoc7Y9ixbK9oUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdaz6FYHIksu4yf259YHNbAVUnjq9Zq55IAmroQnLucQanIRvJrwvxhbHrXdEZvlazn5sKV6Pghrw/Mi98INt/ihKp/4t68tMWrjmcqolSrBVEC4oOH0v6s3xshnDQwqP5n8CXWgTjxFFHQvL4gzkU5noqif1ufZz1yecPc3tULA7Qi+i4LtxSB/pkygIKTg0+3zKh8NqjaJbpBWhpwFjw4PRfYqYOuZycr/bcNgHQ2dKQ8RfWDFbAo6kb4UBEfcPPfpWoYf+qVsBrxywBQiwC+3gxTBFnWP20rY/0+g9EQHKwA4tEtQTu3rUttX1M6ISXPi7wqnJ1zXDbO5d1y3n54jUbhAhoPeMXal3ccrX1EIiEB7KjlSKqYzmJT+Vzv4Cs3SH7+phU+KvkGknqwdqrze1wMcsl5PFiZwIxVDZ7yl22ps1KMS+RUVmYtCkCINdui6GO4dsX88uX2NltDwnxrAIu5O3ZjUGxIk7yxLHdfCLb4aF7gj9WOqMIzp0nn1odbGlixqs7USs1uvxXdSu3llQtCpKiNzMu2gN1xPN7siHTeNw81uv1jiSywzf9/hIL102mqfVMpIhxaU/mYQJvUTEAy/2hF75jKiLdkUi5+ek8fznYq/hpp+AKYB7lh3+MqUpmsy5G+g4NRUOX3Sf+eS7073j/lf1T6lNjv0ziqXZsZbaKtoHpqOhDAJZzpwv5wujAzqkytgUgHcKIVBfdB6akoTlJ0nCIPXiAve+h1Ssni1rx/fDPrD5H5rNL2LDkLT7cbZl8UFc1BYzzdFZ55JPDbEBJun+VVX3tNzFFBM2LRG7w/v9BNpny4MSQXiPDbOBMKPOrV+I4foiLPWLZI8MoTryN/wl5+P1gnIigl8cfayp3YMNZ3yiH/RmJV+ZYXv2jdsbH2cKpFl2cOu/wlaFSHtYY2u4d6M6/DAyToy8R8+XTYe0xbeFwS2TH5tMZ2kABEraQlnycIDRd/YWa2qqK9N9kzofUr7pH4MgzxLorAbm17thNe3S0iQeqNTu2MUz7vCFxkJ6ziB9E8nIizLFdGpzhG5dH2ZrjpA6mlR0zxK46YY9g/FcEoAMtdp0aV9jcKXtlKl9Ad20XR/ddNCUTlrgWs+hHTw6UtM2xZkJflp5HNKhyBvE2njzWuNHp/mwHJUxt5nk8T3pPc8kkSTP0rRnglU7BMJSZzX/1/xPsjPLDouMqH230qOjdKASxinIrT3RxGyT+kxUTUh5TPecUA==
I was wondering about the same.
For the example below, I gather that you are aware that Qed succeeds if you
"Set Allow StrictProp” before the lemma.
I’d be looking for example uses of SProp to escape “setoid hell”,
specifically on defining Sigma-types of the form
{ x: A & P x }
that inherit their equality from the equality of A such (i.e. P would be
SProp valued).
All the best,
Dirk.
> On 18 Jan 2020, at 7:03 pm,
> jonikelee AT gmail.com
> wrote:
>
> Is anyone using SProp?
>
> I'm wondering how to use it when all the theories and builtin
> tactics are written in terms of Prop, Set and Type. And because SProp
> is not involved in cumulativity, nothing designed for Types works for
> it. Or, actually worse...
>
> Consider:
>
> Lemma triv (P : SProp)(a : P): a = a.
> Proof.
> tauto. (* succeeds! *)
> Fail Qed.
>
> My reading of the SProp doc is that Qed fails because tauto is ignorant
> of the existence of anything not under Type, and so it used Type-based
> eq theories. It doesn't fail immediately in tauto because the
> non-cumulativity of SProp into Type is known only to the kernel, which
> waits until Qed to troll you.
>
> OK - but how does one make practical use of SProp then? There are no
> theories that work for it, yet every tactic thinks that all theories
> work for it. Until they don't - at Qed.
>
> I want to figure this out because I have some ideas on how to use Prop
> and SProp together where some Props are made relevant and SProp is of
> course irrelevant. I just can't figure out how to start.
>
> -- Jonathan
- [Coq-Club] anyone using SProp?, jonikelee AT gmail.com, 01/18/2020
- Re: [Coq-Club] anyone using SProp?, Dirk Pattinson, 01/24/2020
- Re: [Coq-Club] anyone using SProp?, jonikelee AT gmail.com, 01/24/2020
- Re: [Coq-Club] anyone using SProp?, Dirk Pattinson, 01/24/2020
Archive powered by MHonArc 2.6.18.