Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add probability logic #49

Open
abrudz opened this issue Jun 6, 2021 · 1 comment
Open

Add probability logic #49

abrudz opened this issue Jun 6, 2021 · 1 comment

Comments

@abrudz
Copy link
Contributor

abrudz commented Jun 6, 2021

By defining AND as multiplication (since the probability that two event will happen is the product of their probabilities) and NOT as 1-x (since the probability that an event won't happen is 100% minus its probability), all other logic/probability operations follow from De Morgan's laws:

and = x∧y = xy
not = ¬x = 1-x
or = x∨y = ¬((¬x)∧(¬y))
implies = x→y = ¬(x∧¬y)
iff = x↔y = (y→x)∧(x→y)
@csicar
Copy link

csicar commented Sep 21, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants