Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
* A puzzle about "univalent equality"
@ 2016-09-05 16:54 Andrew Polonsky
  2016-09-05 21:40 ` [HoTT] " Michael Shulman
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Andrew Polonsky @ 2016-09-05 16:54 UTC (permalink / raw)
  To: Homotopy Type Theory


[-- Attachment #1.1: Type: text/plain, Size: 1716 bytes --]

Hi,

There is a common understanding that the "right" concept of equality in 
Martin-Lof type theory is not the intensional identity type, but is a 
different notion of equality, which is extensional.  The adjunction of the 
univalence axiom to standard MLTT makes the identity type behave like this 
"intended" equality --- but it breaks the computational edifice of type 
theory.

More precisely, this "Hott book" approach only nails down the concept of 
equality with respect to its *logical properties* --- the things you can 
prove about it.  But not its actual computational behavior.

Since computational behavior can often be "seen" on the logical level, I am 
trying to get a better understanding of the sense in which this "Hott book" 
equality type is really (in)complete.  How would a "truly computational" 
equality type be different from it?  (Other than satisfying canonicity, 
etc.)

One precise example is that, for the "right" notion of equality, the 
equivalences characterizing path types of standard type constructors proved 
in Chapter 2 of the book could perhaps hold definitionally.  (The theorems 
proved there are thus "seeing" these equalities on the logical level.)

I tried to look for a more interesting example, and came up with the 
following puzzle.

f, g : Bool -> Bool -> Bool
f x y = if x then y else ff
g x y = if y then x else ff

e : f = g
e = FE(...)  [using UA to get Function Extensionality]

Phi : Bool -> Type
Phi tt = Bool
Phi ff = Unit

Psi : (Bool->Bool->Bool)->Type
Psi = \u. (u tt tt) x (u tt ff) x (u ff tt) x (u ff ff)

X : Psi f
X = (tt,*,*,*)

Y : Psi g
Y = subst Psi e X

QUESTION.
Can we prove, in "book Hott", that "proj1 Y = tt" is inhabited?

Cheers!
Andrew

[-- Attachment #1.2: Type: text/html, Size: 2268 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-09-19 12:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05 16:54 A puzzle about "univalent equality" Andrew Polonsky
2016-09-05 21:40 ` [HoTT] " Michael Shulman
2016-09-05 21:51 ` Dan Licata
2016-09-06  7:30   ` Andrew Polonsky
2016-09-06 12:32     ` Michael Shulman
2016-09-06 12:56       ` Dan Licata
2016-09-06 12:57       ` Peter LeFanu Lumsdaine
2016-09-06 13:44         ` Andrew Polonsky
2016-09-06 22:14           ` Martin Escardo
2016-09-07 23:18             ` Matt Oliveri
2016-09-08  4:14               ` Michael Shulman
2016-09-08  6:06                 ` Jason Gross
2016-09-08  9:11                   ` Martin Escardo
2016-09-08  6:34                 ` Matt Oliveri
2016-09-08  6:45                   ` Michael Shulman
2016-09-08  9:07                     ` Martin Escardo
2016-09-08  9:51                       ` Thomas Streicher
2016-09-19 12:40 ` Robin Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).