Zulip Chat Archive
Stream: new members
Topic: Structure homeomorphism
Nicolò Cavalleri (Jul 02 2020 at 17:14):
Why is homeomorphism a structure and not a class? Supposed I defined a diffeomorphism, how do I build out of it an instance of homeomorphism or somehow transform it into a homeomorphism?
Mario Carneiro (Jul 02 2020 at 17:15):
you define a function from diffeo to homeo and make it a coe
Yury G. Kudryashov (Jul 02 2020 at 18:08):
It is not a class because we want to work with different homeomorphisms between the same pair of types.
Nicolò Cavalleri (Jul 03 2020 at 08:51):
Mario Carneiro said:
you define a function from diffeo to homeo and make it a coe
Suppose I did define a function def diffeomorph_to_homeomorph (d : M ≃ₘ[I|J] N) : M ≃ₜ N
. What do you mean by making it a coe?
Patrick Massot (Jul 03 2020 at 09:25):
https://leanprover.github.io/theorem_proving_in_lean/type_classes.html#coercions-using-type-classes
Last updated: Dec 20 2023 at 11:08 UTC