Zulip Chat Archive

Stream: Is there code for X?

Topic: Continuous map from unit sphere to unit box


Robert Maxton (Jun 11 2025 at 12:39):

What's the nicest existing way to come up with a continuous map from the unit sphere (i.e. the sphere in nn-dimensional Euclidean space) and the unit box (i.e. the sphere in Fin n → ℝ by the uniform/maximum metric)? Is there a better way than docs#exists_homeomorph_image_interior_closure_frontier_eq_unitBall ?

Jireh Loreaux (Jun 11 2025 at 12:47):

I think you should just use docs#guageRescale directly.

Jireh Loreaux (Jun 11 2025 at 12:49):

you can add a version of docs#image_gaugeRescaleHomeomorph_closure about docs#frontier.

Robert Maxton (Jun 11 2025 at 12:49):

Hm. Well, alright. I'm not very familiar with that part of the library so I was hoping there'd be a prewrapped version for me to use, but if not I'll figure it out. Thanks for the pointers~

Jireh Loreaux (Jun 11 2025 at 12:50):

Prewrapped in what way? Which part of that declaration seems hard to use? (I'm asking because I can give you some pointers)

Jireh Loreaux (Jun 11 2025 at 12:52):

Wait, do you only want continuity?

Robert Maxton (Jun 11 2025 at 12:53):

Ah, well. I don't know what a Bornology is, is my first problem.

Jireh Loreaux (Jun 11 2025 at 12:53):

Perhaps what you're looking for is docs#PiLp.continuousLinearEquiv ? (probably it's not strong enough for what you need)

Jireh Loreaux (Jun 11 2025 at 12:56):

You don't really need to know what a bornology is. You just need docs#NormedSpace.isVonNBounded_ball for one of the sets and something like docs#NormedSpace.isBounded_iff_subset_smul_ball for the other one.

Robert Maxton (Jun 11 2025 at 12:56):

Ooh. That'll do nicely.

Yeah, I'm trying to prove that docs#Topology.RelCWComplex and docs#TopCat.RelativeCWComplex are in fact equivalent, but the former uses the uniform metric for its 'spheres' and the latter uses Euclidean spheres. So yes, I'm pretty sure all I actually need is a continuous map I can precompose the cell maps with, though a homeomorphism would be nice.

Robert Maxton (Jun 11 2025 at 13:01):

So, yeah, docs#gaugeRescaleHomeomorph + the existing lemmas ball lemmas to make a frontier version is probably what i want. Thanks!

Junyan Xu (Jun 11 2025 at 13:27):

the former uses the uniform metric for its 'spheres'

I think this is unintended and we should just change to Euclidean spheres.

Robert Maxton (Jun 11 2025 at 13:28):

I mean, it's certainly intended, there's a doc-comment that explicitly mentions it

Robert Maxton (Jun 11 2025 at 13:28):

It'd be reasonable to just change it, though


Last updated: Dec 20 2025 at 21:32 UTC