Re:Relation Between Type Theory, Category Theory and Logic
by Kutta on Saturday July 11, 2015 @11:10AM
(#9870018)
A more interesting example: substitute natural numbers with binary trees. After all, they're equivalent. Now univalence would have to implement the binary tree analogue for every function on naturals, in a way that preserves semantics with respect to our conversion function.
Re:Relation Between Type Theory, Category Theory and Logic
by jules on Saturday July 11, 2015 @10:14AM
(#9869828)
Yes, that's pretty much it. Doing this systematically for all types including dependent types that quantify over Bool, as well as for user defined higher inductive types is another matter.
A proof that Bool and Bool2 are equal is a bijection f :: Bool -> Bool2. So given any g :: Bool -> Bool we have (f . g . f^-1) :: Bool2 -> Bool2. So it seems trivial.