Skip to content

Instantly share code, notes, and snippets.

@boggle
Last active May 20, 2016 19:51
Show Gist options
  • Save boggle/b974c796748ed88e1de1ffca09618e49 to your computer and use it in GitHub Desktop.
Save boggle/b974c796748ed88e1de1ffca09618e49 to your computer and use it in GitHub Desktop.
The implied truth
(in kleene logic K3)
goal: NOT x OR y
r.blocked x=exists(r.blocked) y=r.blocked <> true goal: x IMPLIES y suggestion: X AND NOT R.BLOCKED
true true false false true AND NOT true => false
false true true true true AND NOT false => true
null false null true false AND NOT null => false !!! Here is the difference
Here's another alternative for lukasiewicz logic L3, which defines implication as in K3 except null IMPLIES null => true
(in lukasiewicz logic)
r.blocked x=exists(r.blocked) y=r.blocked <> true goal: r.blocked IMPLIES y
true true false false
false true true true
null false null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment