coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Thorsten Altenkirch <Thorsten.Altenkirch AT nottingham.ac.uk>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Silly question about decidable equality and inequality
- Date: Wed, 24 Jun 2020 09:37:30 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=exmail.nottingham.ac.uk; dmarc=pass action=none header.from=exmail.nottingham.ac.uk; dkim=pass header.d=exmail.nottingham.ac.uk; 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=sg5fdBgoaxmURlOXF+UH++lGB9kHox1lWw9eN5gupnc=; b=Cs43B7PnGltyXWeXgTP4hc4fN3oCVtVonHXhmLGhzSJUObhko3bbSMpGTgsuDLo4trfw5RRakqh22lrk5ccxxTwW7veU9SM67cSP4CvTPqmKFslnyEg39t5Y7bToQDR22B3p58ewb2FF73fS5gUhL+C2gJaSQeLRJb1pVINXvqVwxMLMh9CsPBYTvhHGMCLarp7H7N7VIOQuxLCCioud3B4PJZieqG2/SoE4RN+v7Wc1c8EmmPxIqOVN5Z/wR3Byv9tpW/P12gz/JM81BynqAe7ZSbUQFhOFqYTje6Busk1GX7/j0jUujbmZewjzyCcQym3ZvuIpYntZkaFygXOuIw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hCnLrlBhw4PrykDTQVh+Dm/zTkaBBwCOoDe6xvWsFFxHL2iV55J4IszCgwe/AwsVOelPDrKFVgA8pPyH9/lkXcAca2VqMC+Agc0lEjbMpqnfrSe/piC9KAzA85eU6tf9oTkz3ZE0iuYOD3HJr65Ggm8yogkX42f/T5OPHSCmBU1dn40KCsGT+ti68SGwdIg+BWa5ji+bJ5d7NgGsq6V4WwMb83PiMe/hwxO744OcwQVwMpPep37LhWNHIpvurLOWLKrMHnqouhJ62/c4ljqC62Id0PgoRVxbwVp1YV4O+6xHOi71asRFsITOLzg49yg3W3sCNaOWE6yC9Dfgmf6CdA==
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=Thorsten.Altenkirch AT nottingham.ac.uk; spf=Pass smtp.mailfrom=Thorsten.Altenkirch AT nottingham.ac.uk; spf=None smtp.helo=postmaster AT uidappmx01.nottingham.ac.uk
- Ironport-phdr: 9a23:O5UOLBXZtruhK2AyITkrO6U1E//V8LGtZVwlr6E/grcLSJyIuqrYZRSHuadThVPEFb/W9+hDw7KP9fy5BCpZscnK6CFKWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIxi6sAXcutMLjYZhKKs9xQfFr39VcOlK2G1kIk6ekQzh7cmq5p5j9CpQu/Ml98FeVKjxYro1Q79FAjk4Km45/MLkuwXNQguJ/XscT34ZkgFUDAjf7RH1RYn+vy3nvedgwiaaPMn2TbcpWTS+6qpgVRHlhDsbOzM/7WrajNF7gqBGrxK7vxFxw5DabpyJNPRwfa3dc9EVSmRAXslNWCNMGZmzY5cKD+cbIepVtYvwql0TphW+HwmsA+bvxydWiH/22q06yf8hER3Y0wwmAtkDrHDUrMnrO6cUUuC1zbPIwinDb/hL3jrz9ojIchc7ofGXQbJ/b8zRxVMzGgPBklWft4rlPzCU1uQXr2eb7/FtVeSoi247twFxoz6vxsgsiobTg4IZ0ErL+jljzIYoJt21UUh2asOrH5VMrS+VLZd2Qt88TGFyviY30qELtYC6cSYK1pkr2x/SZuCZfoaI4R/vSOmcLSlliH9mZL+yhAi//FS+x+DiVse631VHojRHn9TSq3wAywLf5tSBR/Bg/UmhwS6C2x3N5uxHO0w4i6XWJpA7zrM/mJcfq1nPEjH5lUnuj6Kbd18o9var5uj9fLnquJ6RO5Vphgz9LKgigtKzDOUkPgUAWmWX5Piw26fi8ED8XrlGkuY5n6zHvJ/GIMkWo7C1DgBT340+8RiwFS2m384dnXQfLFJKZhaHj4/xNlHTIfD3EO2wg0y0kDduyPHKIqDtDo/LLnjEjLfhYbd960hTyAoz199f4ohYBasdL/7pR0/xt8TUDh4/MwOq3+bqEMhx2p0dVG6VHKOUP63fvUWH6+8hOeWAeZEZtTnlJ/gg/fHujHs5mVEHfamu2JsacG62HvRhI0WDenrsnskOEWEQsgciSOzqlEONUThQZ3azRaIz+jE7BZmgDYfEWoCtnL2B3CG0Hp1WfG9GD0qAHm30eImeRvcMazqeItV9nTwcSbihV4gh2Amyuw/90rprN/bb+ikFtZ34z9V1/O3SlRQq9TNuFcid0meNT3t1nmwSXTM20rp/8gRBzQLJ2q9hxvdcCNZ75vVTUw58O4SWh7hxDMm3UQbcdP+ITkynS5OoG2diYMg2xooyY0FnAMmviFjq2zanBbwUjbeLTMgI8qXGxGT8IYBUz2rL0qoglVImas1IKXGngKF//g2VDoWPjkbPxPXiTrgVwCOYrDTL9mGJpkwNCFctA5WAZmgWYw7tlfq85k7GSOX/W6kmPgJZ0cuScvIMbNr1kVRAS/fqPZLXaCSsmDXoXEfa9va3dIPvPl4l8mDYAUkAnRoU+C/WZw45GjugpW3eBTkoHFmpfkC+qLAi+kP+dVc9ykSxV2Mkz6C8o05Hg/uAV/IV0bINvWEooHNpHwTl0g==
Coming to this discussion a bit late but here we have an inductive characterisation of inequality that is m <> n <-> m<n \/ n<m. You can prove UIP for the right hand side but not for the left because without funext you can prove nothing non-trivial about functions.
Thorsten
From: <coq-club-request AT inria.fr> on behalf of Xavier Leroy <xavier.leroy AT college-de-france.fr>
On Wed, Jun 24, 2020 at 8:52 AM Talia Ringer <tringer AT cs.washington.edu> wrote:
Right. There are many other ways to write this subset type that behave well w.r.t. equality:
{ n : nat | Nat.eqb n 0 = false } { n : nat | 0 < n } (* I believe that Nat.le and Nat.lt have unique proofs *) { n : nat | match n with O => False | S _ => True end }
etc.
- Xavier Leroy
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please contact the sender and delete the email and attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. Email communications with the University of Nottingham may be monitored where permitted by law. |
- [Coq-Club] Silly question about decidable equality and inequality, Talia Ringer, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Jason Gross, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Gabriel Scherer, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Talia Ringer, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Xavier Leroy, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Dominique Larchey-Wendling, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Guillaume Allais, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Yannick Forster, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Xavier Leroy, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Guillaume Melquiond, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Talia Ringer, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Gabriel Scherer, 06/24/2020
- <Possible follow-up(s)>
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Dominique Larchey-Wendling, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Dominique Larchey-Wendling, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Pierre-Marie Pédrot, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Bob Atkey, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Bob Atkey, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Jason Gross, 06/24/2020
Archive powered by MHonArc 2.6.19+.