Debian Codegraph @

test-suite/bugs/bug_2017.v

raw
1 (* Some check of Miller's pattern inference - used to fail in 8.2 due
2 first to the presence of aliases, secondly due to the absence of
3 restriction of the potential interesting variables to the subset of
4 variables effectively occurring in the term to instantiate *)
5
6 Set Implicit Arguments.
7
8 Parameter choose : forall(P : bool -> Prop)(H : exists x, P x), bool.
9
10 Parameter H : exists x : bool, True.
11
12 Definition coef :=
13 match Some true with
14 Some _ => @choose _ H |_ => true
15 end .