Zulip Chat Archive
Stream: lean4
Topic: Isomorphic products
Kind Bubble (Jan 19 2023 at 19:43):
Sometimes annoying differences between isomorphic products arise:
variable {A : Type}
variable {B : Type}
variable {C : Type}
def X := (A × B) × C
def Y := A × (B × C)
It would be nice if there were a way of handling these different isomorphic products.
Jireh Loreaux (Jan 19 2023 at 20:40):
There's docs#equiv.prod_assoc. Is that what you're looking for?
Adam Topaz (Jan 19 2023 at 22:19):
There are various ways of going back and forth, but you should explain what you mean by "handle" more precisely.
Trebor Huang (Jan 20 2023 at 04:20):
I recall a no-go theorem in category theory, that basically says these two cannot be judgementally equal, unless you have very bizzare type theories.
Last updated: Dec 20 2023 at 11:08 UTC