Log semiring
In mathematics, in the field of tropical analysis, the log-semiring is the semiring structure on the logarithmic scale, obtained by considering the extended real numbers as logarithms.[src] That is, the operations of addition and multiplication are defined by conjugation: exponentiate the real numbers, obtaining a positive (or zero) number, add or multiply these numbers with the ordinary algebraic operations on real numbers, and then take the logarithm to reverse the initial exponentiation.[src] Such operations are also known as, e.g., logarithmic addition, etc.[src] As usual in tropical analysis, the operations are denoted by ⊕ and ⊗ to distinguish them from the usual addition + and multiplication × (or ⋅).[src] These operations depend on the choice of base for the exponent and logarithm ( is a choice of logarithmic unit), which corresponds to a scale factor, and are well-defined for any positive base other than 1; using a base is equivalent to using a negative sign and using the inverse .[src] If not qualified, the base is conventionally taken to be or , which corresponds to with a negative.[src] The log-semiring has the tropical semiring as limit ("tropicalization", "dequantization") as the base goes to infinity (max-plus semiring) or to zero (min-plus semiring), and thus can be viewed as a deformation ("quantization") of the tropical semiring.…[src]
In mathematics, in the field of tropical analysis, the log-semiring is the semiring structure on the logarithmic scale, obtained by considering the extended real numbers as logarithms.[src] That is, the operations of addition and multiplication are defined by conjugation: exponentiate the real numbers, obtaining a positive (or zero) number, add or multiply these numbers with the ordinary algebraic operations on real numbers, and then take the logarithm to reverse the initial exponentiation.[src] Such operations are also known as, e.g., logarithmic addition, etc.[src] As usual in tropical analysis, the operations are denoted by ⊕ and ⊗ to distinguish them from the usual addition + and multiplication × (or ⋅).[src] These operations depend on the choice of base for the exponent and logarithm ( is a choice of logarithmic unit), which corresponds to a scale factor, and are well-defined for any positive base other than 1; using a base is equivalent to using a negative sign and using the inverse .[src] If not qualified, the base is conventionally taken to be or , which corresponds to with a negative.[src] The log-semiring has the tropical semiring as limit ("tropicalization", "dequantization") as the base goes to infinity (max-plus semiring) or to zero (min-plus semiring), and thus can be viewed as a deformation ("quantization") of the tropical semiring.[src] Notably, the addition operation, logadd (for multiple terms, LogSumExp) can be viewed as a deformation of maximum or minimum.[src] The log-semiring has applications in mathematical optimization, since it replaces the non-smooth maximum and minimum by a smooth operation.[src] The log-semiring also arises when working with numbers that are logarithms (measured on a logarithmic scale), such as decibels (see ), log probability, or log-likelihoods.[src] x \oplus_b y &= \log_b\left(b^x + b^y\right) \\ x \otimes_b y &= \log_b\left(b^x \times b^y\right) = \log_b\left(b^{x+y}\right) = x + y.[src] \end{align} Regardless of base, log-multiplication is the same as usual addition, x \otimes_b y = x + y , since logarithms take multiplication to addition; however, log-addition depends on base.[src] The units for usual addition and multiplication are 0 and 1; accordingly, the unit for log-addition is \log_b 0 = -\infty for b > 1 and \log_b 0 = -\log_{1/b} 0 = +\infty for b , and the unit for log-multiplication is \log 1 = 0 , regardless of base.[src] More concisely, the unit log-semiring can be defined with the base as: \begin{align} x \oplus y &= \log\left(e^x + e^y\right) \\ x \otimes y &= x + y.[src] \end{align} with additive unit and multiplicative unit 0; this corresponds to the max convention.[src] The opposite convention is also common, and corresponds to the base , the minimum convention: \begin{align} x \oplus y &= -\log\left(e^{-x} + e^{-y}\right) \\ x \otimes y &= x + y.[src] \end{align} with additive unit and multiplicative unit 0.[src] A log-semiring is in fact a semifield, since all numbers other than the additive unit (or ) have a multiplicative inverse, given by -x, since x \otimes -x = \log_b(b^x \cdot b^{-x}) = \log_b (1) = 0.[src] Thus, log-division ⊘ is well-defined, though log-subtraction ⊖ is not always defined.[src] A mean can be defined by log-addition and log-division (as the quasi-arithmetic mean corresponding to the exponent), as M_\mathrm{lm}(x, y) := (x \oplus y) \oslash 2 = \log_b\bigl((b^x + b^y)/2\bigr) = \log_b (b^x + b^y) - \log_b 2 = (x \oplus y) - \log_b 2.[src] This is just addition shifted by - \log_b 2, since log-division corresponds to linear subtraction.[src] A log-semiring has the usual Euclidean metric, which corresponds to the logarithmic scale on the positive real numbers.[src] Similarly, a log-semiring has the usual Lebesgue measure, which is an invariant measure with respect to log-multiplication (usual addition, geometrically translation) which corresponds to the logarithmic measure on the probability semiring.[src]
30 sentences · 30 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Log semiring." encyclopegia.org, 2026, https://encyclopegia.org/wiki/log-semiring. Accessed 27 November 2026.
Chicago
"Log semiring." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/log-semiring.
APA
encyclopegia.org. (2026). Log semiring. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/log-semiring
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON