Category Theory
Zulip Server
Archive

You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.


Stream: theory: science

Topic: Lawvere metric space from gravitational force


view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 16:32):

Some days ago, it happened that there were two simalteneous things in my mind: attraction and Lawvere metric spaces. I was not so much thinking to gravitational attraction but to attraction between people: if you have two people xx and yy and if you denote d(x,y)d(x,y) the attraction generated by yy on xx, then it is clearly not a symmetric function but it still somehow a distance between two people. And I'm always thinking to this fact: human or social sciences are too much complicated for mathematics because they involve less obvious dynamics. But there is some dynamic: maybe attraction between people creates somehow very complicated dynamical systems. People who despise mathematics say it all the time: things are not black or white etc... and they are not wrong but what they don't know is that the mathematics behind human life phenomena are probably even more complicated or as complicated but different than classical mathematics used in physics. For instance, we struggle to understand economics and they generate interesting new topics like game theory etc... But, well, it's easier to think to attraction between planets (for instance) first because it is something that we know better.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 16:32):

Definition: Consider the set X=R3X=\mathbb{R}^3. Define a function m:R3[0,)m:\mathbb{R}^3 \rightarrow [0,\infty) which will give the mass
m(x,y,z)m_{(x,y,z)} of a single object at (x,y,z)(x,y,z). If there is no object at (x,y,z)(x,y,z), then m(x,y,z)=0m_{(x,y,z)}=0.

Denote d:X×X[0,)d:X\times X \rightarrow [0,\infty) the euclidean metric.

If a,bR3a,b \in \mathbb{R}^3 are such that aba \neq b, denote the acceleration (and not the force) generated by the object at bb on the object at aa by (without the GG):

ρ(a,b)=mbd(a,b)2\rho(a,b)=\frac{m_{b}}{d(a,b)^2}

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 16:32):

Define ρ(a,a)=0\rho(a,a)=0 (the object at aa doesn't generate any acceleration on itself).

Proposition: (X,ρ)(X,\rho) is a Lawvere metric space.

If a,b,ca,b,c are three distinct points in XX, then:

ρ(a,c)=mcd(a,c)2ρ(a,b)+ρ(a,c)=mbd(a,b)2+mcd(b,c)2ρ(a,c)=\frac{m_c}{d(a,c)^2}\le ρ(a,b)+ρ(a,c)=\frac{m_b}{d(a,b)^2}+\frac{m_c}{d(b,c)^2}

Proof: To see this, simply note that d(a,c)2=d(a,b)2+d(b,c)2d(a,c)^2=d(a,b)^2+d(b,c)^2 (edit: no, only if the objects are the vertices of a right triangle...), and thus ρ(a,c)=mcd(a,b)2+d(b,c)2mcd(b,c)2\rho(a,c)=\frac{m_c}{d(a,b)^2+d(b,c)^2} \le \frac{m_c}{d(b,c)^2}.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 16:32):

Remarks:

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 16:32):

I'm not sure what I want to ask. Have you already thought to that, read something like that or do you find it interesting? I don't know lot of physics but it sounds interesting to me. I'm sure that by following this idea, we could go much further. Probably I would be happy with any kind of conversation related to that.

view this post on Zulip Todd Trimble (Nov 25 2023 at 17:07):

Jean-Baptiste Vienney said:

Define ρ(a,a)=0\rho(a,a)=0 (the object at aa doesn't generate any acceleration on itself).

Proposition: (X,ρ)(X,\rho) is a Lawvere metric space.

If a,b,ca,b,c are three distinct points in XX, then:

ρ(a,c)=mcd(a,c)2ρ(a,b)+ρ(a,c)=mbd(a,b)2+mcd(b,c)2ρ(a,c)=\frac{m_c}{d(a,c)^2}\le ρ(a,b)+ρ(a,c)=\frac{m_b}{d(a,b)^2}+\frac{m_c}{d(b,c)^2}

Proof: To see this, simply note that d(a,c)2=d(a,b)2+d(b,c)2d(a,c)^2=d(a,b)^2+d(b,c)^2, and thus ρ(a,c)=mcd(a,b)2+d(b,c)2mcd(b,c)2\rho(a,c)=\frac{m_c}{d(a,b)^2+d(b,c)^2} \le \frac{m_c}{d(b,c)^2}.

I'd check the math here. Suppose the density is uniform with constant 11, and a,b,ca, b, c are on a line, parametrized so that a=0,b=10,c=1a = 0, b = 10, c = 1. Then ρ(a,c)=1\rho(a, c) = 1 and ρ(a,b)=1/100\rho(a, b) = 1/100 and ρ(b,c)=1/81\rho(b, c) = 1/81.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:10):

Hmm. Let me think two minutes.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:10):

Oh, yes I see :grinning_face_with_smiling_eyes:

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:11):

I've considered that the three objects are the vertices of a right triangle, which is obviously not always the case.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:12):

Yes, so this inequality is false.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:14):

It doesn't work!

view this post on Zulip Eric Forgy (Nov 25 2023 at 17:18):

For what it's worth, I love to see experimentation like this :hearts:

In my half century+ of experience, if 1 out of 100 ideas work out, you're doing very well. So keep trying :muscle:

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:22):

Yes, I have much other ideas which work! But it took me a lot of work to get them. Nevertheless, I try new naive things all the time!

view this post on Zulip David Egolf (Nov 25 2023 at 17:29):

This is fun! It makes me think of a related question. Let d:X×X[0,]d: X \times X \to [0, \infty] be the distance function of a Lawvere metric space, so that:

And let f:[0,][0,]f: [0, \infty] \to [0, \infty] be a function.

Finally, let ρ:X×X[0,]\rho: X \times X \to [0, \infty] be the following function: ρ(x,y)=f(d(x,y))\rho(x,y) = f(d(x,y)) for all x,yXx,y \in X. So, ρ=fd\rho = f \circ d.

Then, what are some functions ff so that ρ\rho is a distance function of a Lawvere metric space?

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:34):

If f(0)=0f(0)=0, ff is increasing and f(x+y)f(x)+f(y)f(x+y) \le f(x) + f(y), it will work.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:38):

I found thid on Google: Metric Preserving Functions. They don't talk about Lawvere metric spaces but they say:

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:39):

Screenshot-2023-11-25-at-12.39.07-PM.png

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:40):

The definition can be generalized to Lawvere metric spaces without any problem!

view this post on Zulip David Egolf (Nov 25 2023 at 17:45):

Let me try it out. Assume that f(0)=0f(0)=0, ff is increasing (so f(x)f(x)f(x') \geq f(x) if xxx' \geq x) and f(x+y)f(x)+f(y)f(x+y) \leq f(x) + f(y).
We first check that ρ(x,x)=0\rho(x,x) = 0 for all xXx \in X:

Now we check that ρ(x,y)+ρ(y,z)ρ(x,z)\rho(x,y) + \rho(y,z) \geq \rho(x,z) for all x,y,zXx,y,z \in X:

view this post on Zulip David Egolf (Nov 25 2023 at 17:49):

Interestingly, the requirements on ff seem at least similar to the definition of a "(lax) monoidal monotone" from here, page 55.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:54):

Yes, it a functor from the monoidal category [0,][0,\infty] to it self where an arrow xyx \rightarrow y is an equality xyx \le y, the identity at xx is xxx \le x and the tensor product is given by addition. However, I'm not sure it is a monoidal functor...

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:56):

Oh no, an oplax monoidal functor is one such that f(x+y)f(x)+f(y)f(x+y) \le f(x) + f(y) and f(0)0f(0)\le 0 if I'm not mistaken

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:57):

Jean-Baptiste Vienney said:

If f(0)=0f(0)=0, ff is increasing and f(x+y)f(x)+f(y)f(x+y) \le f(x) + f(y), it will work.

So this definition is exactly the one of an oplax monoidal functor from [0,][0,\infty] to itself if I'm not mistaken.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 17:58):

David Egolf said:

Interestingly, the requirements on ff seem at least similar to the definition of a "(lax) monoidal monotone" from here, page 55.

Yes, we arrived at the same conclusion ahah

view this post on Zulip David Egolf (Nov 25 2023 at 18:04):

This lecture also seems like a relevant reference. The requirements in the definition of an "oplax monoidal monotone" seem like the requirements we placed on ff.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 18:24):

Yes, exactly. I'm also wondering about something else: could we generate a topology on a set XX from a function ρ:X×X[0,]\rho:X \times X \rightarrow [0,\infty] which verify even weaker conditions than a Lawvere metric?

From such a function, we can define the open balls Uρ(x,ϵ)={yX, ρ(x,y)<ϵ}U_\rho(x,\epsilon)=\{y \in X,~\rho(x,y)<\epsilon\} for every xXx \in X and ϵ>0\epsilon>0.

An important fact is that in the case where (X,ρ)(X,\rho) is a Lawvere metric space, then the open balls form a base of a topology. It means that if B={Uρ(x,ϵ), xX, ϵ>0}\mathcal{B}=\{U_\rho(x,\epsilon),~x \in X,~\epsilon > 0\}, then the set τ\tau constituted by all the unions of elements of B\mathcal{B} (including the empty union, i.e. the empty set) is a topology on XX.

We know that a set BP(X)\mathcal{B} \subseteq \mathcal{P}(X) is a base of a topology when these two conditions are verified:

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 18:25):

The first condition is implied by the requirement ρ(x,x)=0\rho(x,x)=0 in the definition of a Lawvere metric space.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 18:25):

The second one is implied by the triangular inequality in this same definition.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 18:27):

I think, maybe we can keep ρ(x,x)=0\rho(x,x)=0 but ask for less than the triangular inequality while keeping that the open balls form a base of a topology.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 18:29):

Doing a picture illustrating why the triangular inequality implies the second condition above, I would want to ask for this condition to be verified instead of the triangular inequality:

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 18:29):

ϵ>0,η>0\forall \epsilon > 0, \exists \eta > 0 such that for all a,b,xXa,b,x \in X if ρ(x,b)<η\rho(x,b)<\eta then ρ(a,x)ρ(a,b)<ϵ|\rho(a,x)-\rho(a,b)|<\epsilon

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 18:33):

Maybe, we need to ask another similar one in addition, or something slightly different: I'm confused by what happens when ρ\rho is not symmetric.

view this post on Zulip David Egolf (Nov 25 2023 at 18:54):

I haven't carefully read everything that you said above, but I was wondering if the concept of the "initial topology" could be useful here. If we have a function f:XYf: X \to Y where YY is a topological space, then we can induce a topology on XX using this function. Namely, we take the induced topology on XX to be the coarsest topology so that ff becomes continuous.

I was thinking we could set up these maps XΔX×Xρ[0,]X \to_{\Delta} X \times X \to_{\rho} [0, \infty], where Δ:XX×X\Delta: X \to X \times X acts by Δ(x)=(x,x)\Delta(x) = (x,x). Then if we have some topology on [0,][0, \infty], we could put the initial topology on X×XX \times X as induced by ρ\rho. Then we could put the initial topology on XX as induced by Δ\Delta. I don't know what topology to put on [0,][0, \infty] though, to start this process!

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:21):

It looks very interesting. You can simply put the usual "metric" (slightly more general than in the definition of a metric space because the distance between two points can be equal to \infty) topology on [0,][0,\infty]. It is the topology such that the open sets are the union of open balls, where open balls are with respect to the "metric" σ(x,y)=xy\sigma(x,y)=|x-y|.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:25):

Let see what is exactly the topology induced on XX by this process.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:27):

The topology on X×XX \times X will be τρX×X\tau_{\rho}^{X \times X} defined as the set of all the arbitrary unions of finite intersections of sets ρ1(U)\rho^{-1}(U) where UU is an open set in [0,][0,\infty].

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:28):

But the topology τ[0,]\tau^{[0,\infty]} on [0,][0,\infty] is itself the set of all arbitrary unions of open balls.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:33):

We can simplify a bit the reasoning by using that the initial topology is transitive (as I read on Wikipedia).

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:34):

So, the topology we induce on XX is the initial topology induced by ρΔ\rho \circ \Delta.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:35):

So the topology on XX will be τρX\tau_{\rho}^{X } defined as the set of all the arbitrary unions of finite intersections of sets (ρΔ)1(U)(\rho \circ \Delta)^{-1}(U) where UU is an open set in [0,][0,\infty].

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:36):

Finally τρX\tau_{\rho}^{X } is the set of all arbitrary unions of finite intersections of arbitrary unions of (ρΔ)1(\rho \circ \Delta)^{-1} of open balls in [0,][0,\infty] :upside_down: (because inverse images preserve arbitrary unions)

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:38):

I would not be surprised if this description can be slightly simplified.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:41):

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:43):

Hmm no it doesn't work well

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:44):

because (ρΔ)1(U(t,ϵ))={xX such that ρ(x,x)U(t,ϵ)}=X(\rho \circ \Delta)^{-1}(U(t,\epsilon))=\{x \in X \text{ such that } \rho(x,x) \in U(t,\epsilon)\}=X if ρ(x,x)=0\rho(x,x)=0 for all xXx\in X.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:46):

So the topology on XX will be the discrete topology if ρ(x,x)=0\rho(x,x)=0 for all xXx \in X.

view this post on Zulip Mike Shulman (Nov 25 2023 at 19:47):

Another thing you could try is the topology jointly induced by the family of functions ρ(x,):X[0,]\rho(x,-) : X \to [0,\infty] for all xXx\in X. Or ρ(,x)\rho(-,x), or both of them.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 19:49):

Yes, it looks like a good idea.

view this post on Zulip David Egolf (Nov 25 2023 at 19:54):

Jean-Baptiste Vienney said:

So the topology on XX will be the trivial topology if ρ(x,x)=0\rho(x,x)=0 for all xXx \in X.

Without thinking carefully about it, I now realize that it makes that sense that this should happen: I think this happens because (ρΔ)(x)=ρ(x,x)=0(\rho \circ \Delta)(x) = \rho(x,x) = 0 for all xXx \in X. Doing something like what Mike Shulman suggests sounds more promising!

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 20:03):

Yes, I agree. This topology will be given by the unions of finite intersections of sets of the form
{uX such that ρ(x,u)B(t,ϵ)}\{u \in X \text{ such that } \rho(x,u) \in B(t,\epsilon)\}
and
{uX such that ρ(u,x)B(t,ϵ)}\{u \in X \text{ such that } \rho(u,x) \in B(t,\epsilon)\}
for all xXx \in X, t[0,]t \in [0,\infty] and ϵ>0\epsilon>0.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 20:06):

Now, it looks that most of the time the singletons will not be open sets and so the topology will not be discrete which is good.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 20:07):

I mean a singleton could be an open set if the function ρ\rho is somehow singular somewhere on X×XX \times X I think.

view this post on Zulip Jean-Baptiste Vienney (Nov 25 2023 at 20:14):

It sounds interesting. Now, I can't continue working on this right now because it would require to write things down carefully and would take time to continue on this subject... But maybe another day!

view this post on Zulip JR (Nov 25 2023 at 23:23):

David Egolf said:

This lecture also seems like a relevant reference. The requirements in the definition of an "oplax monoidal monotone" seem like the requirements we placed on ff.

See the encyclopedia of distances by Deza and Deza