词条 | 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. 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 "linear" operations on real numbers, and then take the logarithm to reverse the initial exponentiation. As usual in tropical analysis, the operations are denoted by ⊕ and ⊗ to distinguish them from the usual addition + and multiplication × (or ⋅). These operations depend on the choice of base {{mvar|b}} for the exponent and logarithm ({{math|b}} 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 {{math|b < 1}} is equivalent to using a negative sign and using the inverse {{math|1/b > 1}}.{{efn|Since }} If not qualified, the base is conventionally taken to be {{mvar|e}} or {{math|1/e}}, which corresponds to {{mvar|e}} with a negative. The log semiring has the tropical semiring as limit ("tropicalization", "dequantization") as the base goes to infinity {{tmath|b \\to \\infty}} (max-plus semiring) or to zero {{tmath|b \\to 0}} (min-plus semiring), and thus can be viewed as a deformation ("quantization") of the tropical semiring. Notably, the addition operation, logadd (for multiple terms, LogSumExp) can be viewed as a deformation of maximum or minimum. The log semiring has applications in mathematical optimization, since it replaces the non-smooth maximum and minimum by a smooth operation. The log semiring also arises when working with numbers that are logarithms (measured on a logarithmic scale), such as decibels (see {{slink|Decibel|Addition}}), log probability, or log-likelihoods. DefinitionThe operations on the log semiring can be defined extrinsically by mapping them to the non-negative real numbers, doing the operations there, and mapping them back. The non-negative real numbers with the usual operations of addition and multiplication form a semiring (there are no negatives), known as the probability semiring, so the log semiring operations can be viewed as pullbacks of the operations on the probability semiring, and these are isomorphic as rings. Formally, given the extended real numbers {{math|R ∪ –∞}}{{efn|Note that usually only one infinity is included, not both, since is ambiguous, and is best left undefined, as is 0/0 in real numbers.}} and a base {{math|b ≠ 1}}, one defines: Note that regardless of base, log multiplication is the same as usual addition, , since logarithms take multiplication to addition; however, log addition depends on base. The units for usual addition and multiplication are 0 and 1; accordingly, the unit for log addition is {{tmath|\\log_b 0 = -\\infty}} for {{math|b > 1}} and {{tmath|\\log_b 0 = -\\log_{1/b} 0 = +\\infty}} for {{math|b > 1}}, and the unit for log multiplication is {{tmath|\\log 1 = 0}}, regardless of base. More concisely, the unit log semiring can be defined for base {{mvar|e}} as: with additive unit {{math|−∞}} and multiplicative unit 0; this corresponds to the max convention. The opposite convention is also common, and corresponds to the base {{math|1/e}}, the minimum convention:{{sfn|Lothaire|2005|p=211}} with additive unit {{math|+∞}} and multiplicative unit 0. PropertiesA log semiring is in fact a semifield, since all numbers other than the additive unit {{math|−∞}} (or {{math|+∞}}) has a multiplicative inverse, given by since Thus log division ⊘ is well-defined, though log subtraction ⊖ is not always defined. A logarithmic mean can be defined by log addition and log division (as the quasi-arithmetic mean corresponding to the logarithm), as Note that this is just addition shifted by since logarithmic division corresponds to linear subtraction. A log semiring has the usual Euclidean metric, which corresponds to the logarithmic scale on the positive real numbers. Similarly, a log semiring has the usual Lebesgue measure, which is an invariant measure with respect to log multiplication (usual addition, geometrically translation) with corresponds to the logarithmic measure on the probability semiring. See also
Notes{{notelist}}References{{refbegin}}
2 : Logarithms|Tropical analysis |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。