Advertisement
logicmoo

BayesTheorem

Nov 6th, 2015
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 0.80 KB | None | 0 0
  1. This is a microtheory which contains only the assertions required for the Cyc theorem prover and its underlying HL representation of the EL to function properly.  In other words, these are the assertions in CycL which are required by Cyc in order to perform any logical inferences using CycL formulas.
  2.  
  3.  
  4. BayesTheorem "A Theorem-Proposition attributed to ReverendThomasBayes that states an important relation between conditional and marginal probability distributions of random variables. It is formalized in CycL as:
  5. (implies
  6.   (and
  7.     (probability ?EVIDENCE ?E)
  8.     (probability ?HYPOTHESIS ?H)
  9.     (conditionalProbability ?HYPOTHESIS ?EVIDENCE ?E-GIVEN-H)
  10.     (conditionalProbability ?EVIDENCE ?HYPOTHESIS ?H-GIVEN-E))
  11.   (mathEquals ?H-GIVEN-E
  12.     (QuotientFn
  13.       (TimesFn ?E-GIVEN-H ?H) ?E))).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement