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.
Morgan Rogers said:
James Wood said:
I think some good motivating examples of semirings are the tropical semirings, where the addition is a meet and the multiplication is an addition.
So you can construct a tropical semiring from any ordered monoid? If so, I hadn't thought about that before!
I'm not sure where you get distributivity from, but it's believable that any semilattice which is compatibly a monoid forms a semiring. I'll have to check it.
Having thought about it, no, I don't think it's possible to get distributivity from anywhere other than just requiring it.
There's no way to get ⊤ + x ≥ ⊤, for example. It could be that all sums are smaller than ⊤, or something.
General monoids and semilattices can get pretty wild, I suppose.
James Wood said:
I'm not sure where you get distributivity from, but it's believable that any semilattice which is compatibly a monoid forms a semiring. I'll have to check it.
Isn't distributivity that ? To be an ordered monoid, you want the addition to be order-preserving (on each side, for non-commutativity), so if we have and similarly for , so distributivity holds by the universal property of meets :+1: .
By “distributivity”, I also mean annihilation, which I'm not quite seeing (as I said above).
Also, how do you get (a + x) ∧ (a + y) ≤ a + (x ∧ y)? It's not immediately obvious to me.
(this is also the binary version of what I was stumped on before)
Ah good point, I've only proved the other inequality. Oops!
So you could construct a pathological counterexample as soon as the monoid isn't totally ordered :smiley:
Imagine a Y constructed as follows: Take three copies of , pointing upwards, and glue the zeros of two of them together strictly above the infinity of the third. I think one could come up with an addition on that which preserves the order but violates the other inequality? (just being lazy here by not coming up with it myself...)
Even ℤ/2 might be a counterexample, now I think of it.
Yeah. Take {0≤1}, with 1 + 1 = 0. Then 1 + (1 ∧ 0) = 1 + 1 = 0, but (1 + 1) ∧ (1 + 0) = 0 ∧ 1 = 1.
Wait, no, that's not monotonic, sorry.
James Wood said:
Wait, no, that's not monotonic, sorry.
If it's totally ordered then is just or and since addition is required to be monotonic you get the reverse inequality for free
Aah, yeah, that makes sense.
And that makes up an interesting result.
Though, do we need something more to get a + ⊤ = ⊤?
I still don't see where that axiom comes from haha
(ie why you expect/want it to hold)
This is a × 0 = 0.
Right, but I would take that as a theorem in ring theory, not one of the axioms, and I can't see a way that I would prove it there without additive inverses
(not that I've looked very hard, mind you)
I think it's only not one of the axioms of a ring because it happens to be a theorem of the others. But what you really want to say is that “a × any finite sum is a finite sum of a × each element”.
Related nLab concept: https://ncatlab.org/nlab/show/biased+definition
This is one of the classic “peeling away inverses” moves.
Consider the three element commutative monoid with . It's trivially monotone and totally ordered but fails to have the property you're asking for, so the answer is no. :oh_no:
Does this counterexample even need the ⊥?
I guess not, thinking about it. In fact, one can always just take addition and meet to coincide, since meet is idempotent and commutative, in order to demonstrate a counterexample!
It reminds me of some conditions I've thought of requiring before: “everything bigger than 0 is itself 0” and “everything bigger than a sum is itself a sum of bigger summands”.
∀x. 0 ≤ x → 0 = x
∀x y z. x + y ≤ z → ∃x′ y′. x ≤ x′ & y ≤ y′ & x′ + y′ = z
This rekindles my curiosity about what internal monoids in a localic topos can look like.