Skip to content

Instantly share code, notes, and snippets.

@jad-hamza
Created March 5, 2018 12:18
Show Gist options
  • Save jad-hamza/3e2823829efafb8966746cf5760b1194 to your computer and use it in GitHub Desktop.
Save jad-hamza/3e2823829efafb8966746cf5760b1194 to your computer and use it in GitHub Desktop.
Require Import Coq.Program.Tactics.
Program Definition g: {holds: bool | (holds = true)} := true.
Program Definition invoke2 (b: bool) (H: (match b with
| true => g
| false => true
end = true)) : bool := true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment