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.
Have you ever seen the binary operation before? It's a commutative monoid structure on which distributes over multiplication. You get it by conjugating by , as I learnt from an offhand remark in the intro of this paper.
A similar trick can be used to find an operation on which distributes over, conjugating by now, you get the much more notorious softplus (or log-sum-exp) operation .
I feel I've almost thought about these but chickened out. So can we iterate this trick indefinitely, getting commutative monoid operations such that is ordinary addition and distributes over for all ?
Yes
And the limit is the tropical rig.
I was just thinking about similar things recently when I learned that in the 1300s Thomas Bradwardine would call something like "half" of , but in a deliberately extended sense of "half".
The Nicole Oresme extended this idea to work out a general theory of fractional exponents.
The particular operation Matteo is looking at is (up to sign) also the one the Diffie–Hellman key exchange uses. In that setup, Alice and Bob pick a large prime and a generator and do all their computations modulo . Each of them picks a secret exponent (say and , respectively). They compute and respectively and publish them. To communicate, Alice computes and Bob computes . Since computing the discrete log to the base is hard, no one else can figure out their shared secret.
Thanks, fixed.
You've told me this more than once before, @Mike Stay, but I tend to forget it - maybe because I never spend any time thinking about cryptography in general or Diffie-Hellman in particular. I must have the instincts of a pure mathematician, because instead of cryptography I actually find it more interesting to think about the idea of a "meta-ring" with operations such that is a ring and also is a ring. (And so on, with even more operations.)
John Baez said:
I feel I've almost thought about these but chickened out. So can we iterate this trick indefinitely, getting commutative monoid operations such that is ordinary addition and distributes over for all ?
There should be such a hierarchy of operations if you continue conjugating and maybe I'm just getting bamboozled by exponents, but it seems isn't associative?
Mike Stay said:
And the limit is the tropical rig.
Why? :O
We're exponentiating a bunch of times, adding, then taking the log a bunch of times. Whichever parameter starts larger gets much larger after exponentiating, at which point adding the two doesn't make much difference to the size of the larger, and then you take logs to bring them back down. So we have this hierarchy:
...
...
...
Diffie–Hellman is analogous to .
Distributivity for :
The other cases ( distributing over ) work by induction, and everything distributes over .
Associativity of :
and is associative, so
All other work similarly.
Note that the arguments to for have to be larger than (of height ) so that the iterated logarithm doesn't try to take the log of a negative number.
Because Matteo's operation has a minus sign, it's not associative, for the same reason minus isn't. We can recover his operation by defining .
Mike Stay said:
Note that the arguments to for have to be larger than (of height ) so that the iterated logarithm doesn't try to take the log of a negative number.
Yes, so I was wrong in my description since I guess the unit for , namely ordinary addition, isn't in the domain of , or maybe , and so on.
I think your meta-ring still exists, just going in the other direction. is a ring, is a ring, is a ring, etc.
I remember seeing this youtube video about that (or almost that). This is apparently called "Commutative hyperoperation"
Matteo Capucci (he/him) said:
John Baez said:
I feel I've almost thought about these but chickened out. So can we iterate this trick indefinitely, getting commutative monoid operations such that is ordinary addition and distributes over for all ?
There should be such a hierarchy of operations if you continue conjugating and maybe I'm just getting bamboozled by exponents, but it seems isn't associative?
In hindsight I had to be wrong because conjugation by an isomorphism always yields a well-defined operation inheriting all the properties, including distributivity
Mike Stay said:
We're exponentiating a bunch of times, adding, then taking the log a bunch of times. Whichever parameter starts larger gets much larger after exponentiating, at which point adding the two doesn't make much difference to the size of the larger, and then you take logs to bring them back down.
Make sense! It's interesting that also varying the base of exp/log yields the same behaviour
I wonder if there's a continuous version of the hierarchy. It should be related to "tetration" since we're looking at power towers like ...
Ah, looks like there's a solution to Abel's functional equation for letting you do tetration at real heights. So it at least makes sense to say . I don't know if distributes over for all or just for .
See Tetration for Complex Bases by Paulsen for extending tetration to the complex numbers. For a more general treatment of fractionally iterated functions see Some formulas for fractional iteration.
Note: I'm currently reviewing how solid the foundations are for the main papers in extending tetration.
I have seen a categorification of the operation (a,b) |-> a^log b. It is defined as Adj(C,D^op)^op, here Adj(C,D^op) is the category of left adjoint functor F:C→D^op. This operation behaves distributively with respect to the product of categories. I learned this from https://alg-d.com/math/kan_extension/log.pdf, but this is unfortunately written in Japanese.