Skip to content

Instantly share code, notes, and snippets.

@KKostya
Last active July 26, 2018 14:18
Show Gist options
  • Save KKostya/109903f35c71ab6e9d854019060c0a62 to your computer and use it in GitHub Desktop.
Save KKostya/109903f35c71ab6e9d854019060c0a62 to your computer and use it in GitHub Desktop.
let is_clock msg = match msg with Some(Clock _) -> true| _ -> false
let is_twist msg = match msg with Some(Twist _) -> true| _ -> false
theorem clock_creates_outbound state =
is_clock state.incoming ==> is_twist (one_step state).outgoing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment