Skip to content

Instantly share code, notes, and snippets.

@sanket1729
Last active August 10, 2020 20:29
Show Gist options
  • Select an option

  • Save sanket1729/d86b84b58ef4240c7760c353d79b8b04 to your computer and use it in GitHub Desktop.

Select an option

Save sanket1729/d86b84b58ef4240c7760c353d79b8b04 to your computer and use it in GitHub Desktop.
# entail(A,B) A |- B
entail(false,_) = true
entail(_,true) = true
entail(true, _) = false
entail(_, false) = false
Let C = set of pks, timelocks and haslocks in A
C = x:C'; A1 = A with x set to true, A2 = A with x set to false
entail(A,B) = entail (A1,B1) and entail(A2,B2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment