Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Silly question about decidable equality and inequality

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Silly question about decidable equality and inequality


Chronological Thread 
  • From: Jason Gross <jasongross9 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Silly question about decidable equality and inequality
  • Date: Wed, 24 Jun 2020 00:11:41 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-ed1-f44.google.com
  • Ironport-phdr: 9a23:VwU+BRfP8yCTrC4MltlyLs7XlGMj4u6mDksu8pMizoh2WeGdxcS6Yh7h7PlgxGXEQZ/co6odzbaP7ua5CTJLvsnJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MRW7oR/MusQVgIZuJaQ8xxnUqXZUZupawn9lK0iOlBjm/Mew+5Bj8yVUu/0/8sNLTLv3caclQ7FGFToqK2866tHluhnFVguP+2ATUn4KnRpSAgjK9w/1U5HsuSbnrOV92S2aPcrrTbAoXDmp8qlmRAP0hCoBKjU09nzchM5tg6JBuB+uqBJ/zIzUbo+bN/RwY73Tcs8BSGVbQspcTTZMDp+gY4YNCecKIOZWr5P6p1sLtRawAROjBPjoyj9Om3T43Lc60+M6EQHdwQctGNAOv27PrNXyMqcSXvq1zK7TzTXYa/5bwjj96I3SfRAgpfGAR65/cc3UyUQ2EQ7Ok1qfp5D/MTyPyuQNr3aU7/BmVe+3iWMqqR18rzmgy8oui4TEmp4Yxk3E+Ch9xIs4JsO1RkF5bNCqDZZdtCWXO5V2TM48Q29luDs2x7MbtZO6YCQHx5IqzAPcZfyfa4WE/A7vWeKLLTp7hH9pYqyziwqx/ES6xeDxWc+520tQoCVfiNnDrHUN2gTT6seZTvt9+V+s2TOV2ADS7uFIOF47mrfGJ5I4zL49mZUevV7MHi/xn0X2g6uWeVs+9ue07OTnZ63qpp6aN4BqlgHzKroiltC7DOgiMQUDX3KX9fqg2LDg50H0T7pHguUzkqbDsZDaIcobprS+Aw9Qyosj6QywDyyh0NQeknkHNlVFeAmcj4XtIFzOL/X4Au2+g1Soijtk2/fGPrj5DpXXMnfDiKvhfap660NE1AUzyslf64tIBbEFPfL8QVT8tMfYDx88Kwy72fzrCNR71oMEWGKAGLWVMK3IsQzA2uV6KO6VIYQRpTy1f/Mi/rvliWIzsV4bZ6igm5UNPiOWBPNjdmeQen3qyvgbFnwR9l48RfftjlKYViVINl69Wqs94ncwD4fwXtSLfZyknLHUhHTzJZZRfG0TUgndQ0etTJ2NXrI3UAzXJ8ZgljIeUr34Et0u0BivsEnxzL81d7OJqB1djorq0Z1O38OWlRw28mYpXcGU0mXIQm0t221UG3k526dwpUE7wVCGg/Ah365oUOdL7vYMaT8UcIbGxrUjWd/3UwPFONyOTQT+Tw==

As I understand it, with funext, you can prove irrelevance for all proofs of x <> y of any type (because False is an hProp).  However, without funext, you can't really prove anything about equality of most function spaces (just like without K nor univalence, you can't really prove anything about equality of most types).  (I think there's actually a deeper relationship here, probably along the same lines of how univalence implies funext.  I don't understand it fully myself, but I believe Dan Licata has a blog post on how knowing about equality in a universe gives you things about equality of functions between types in that universe.). In general, I think all you can say is that if you can prove that `A -> B` is isomorphic to some non-arrow-type `C` when you assume funext, then you can probably embed `C` into `A -> B` even without funext.  So you can lower-bound the number of distinct functions of a given type, but you can't upper-bound it without funext in general.  (Exception: you can upper-bound the number of functions from `A -> B` when `A` is inhabited and `B` is not; the upper-bound is 0.)

I believe Pierre-Marie Pedrot has some models of type-theory (or pointers to them) which contradict funext.  I'm not sure whether or not any of them allow for multiple proofs of `A -> False`, though I could believe that they might.

-Jason

On Tue, Jun 23, 2020, 22:25 Talia Ringer <tringer AT cs.washington.edu> wrote:
Hi all,

I think this should be obvious, but I'm having trouble thinking right now. I figure I'll ask in case somebody knows the answer.

Suppose I have a type with decidable equality, like nat. Then provably I have that all proofs of n = m for n m : nat are equal to each other, without assuming UIP as an axiom. That much I know.

From this, can I say anything about proofs of n <> m for n m : nat without assuming functional extensionality? For example, are all proofs of 0 <> 1 equal to each other? If not, are they provably related in any interesting way?

Talia



Archive powered by MHonArc 2.6.19+.

Top of Page