Jump to content

Wikipedia:Reference desk/Archives/Mathematics/2018 September 9

From Wikipedia, the free encyclopedia
Mathematics desk
< September 8 << Aug | September | Oct >> September 10 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


September 9

[edit]

Probability and Message Length

[edit]

According to the article Inductive probability the "message length" relates to probability with or . So I presume all formulas from probability theory (for conjunction, disjunction etc) have a equivalent purely in terms of message length.

The article explicitly gives only the formula for conjunction:

Could you give me also the formulas of disjunction, negation, and conditional length? I'm at loss here.

Your help would be greatly appreciated!

Cubefox (talk) 13:38, 9 September 2018 (UTC)[reply]

Well, for example, just using the formulas you've already listed (and the formula for disjunction), we have
.
There isn't much that you can do to simplify that expression. Logarithms are great to apply to products, but they don't do anything helpful when applied to sums. Similarly,
.
But conditional probability simplifies nicely:
,
which is just a rewriting of the formula for . —Bkell (talk) 16:47, 9 September 2018 (UTC)[reply]
Thanks for your efforts! Do you think there are "nice" formulas for any of the other 16 logical connectives or is conjunction the only one? --Cubefox (talk) 17:30, 9 September 2018 (UTC)[reply]
Well, and , i.e., , i.e., , is undefined (or maybe you want to define it to be , depending on your purposes). And I suppose you already have formulas for and . We've discussed , , and , and clearly is just the same. That's eight out of the 16 logical connectives right there. You can work out formulas for the others using basic formulas from probability or set theory or Boolean algebra, along with basic properties of logarithms to convert between and ; but I don't expect the others to give particularly "nice" formulas in terms of , because the only nontrivial thing you can do with and using just multiplication (so that it plays nicely with logarithms) is , which is assuming independence of and . You're going to need to use addition or subtraction in order to express in terms of and for other logical connectives . —Bkell (talk) 05:00, 10 September 2018 (UTC)[reply]
Thanks again, I will try whether I can figure something out. (I meant the possible 16 *binary* connectives. Without conjunction and disjunction there are 14 left.) -Cubefox (talk) 08:37, 11 September 2018 (UTC)[reply]
Look at those 16 binary connectives closely. One of those 16 just returns true all the time, and another one just returns false all the time; those are what I called and . A third connective just returns the value of , a fourth just returns the value of , and two more return their negations. Six out of the 16 binary connectives just ignore one or both of their inputs. —Bkell (talk) 12:36, 11 September 2018 (UTC)[reply]
Ah okay, got it. -Cubefox (talk) 16:04, 11 September 2018 (UTC)[reply]