Debian Codegraph @

test-suite/bugs/bug_21036.v

raw
1 Definition OK (b : bool) := if b then True else False.
2
3 Inductive Foo (x y:bool) : Prop :=
4 | is_Foo : let unused := True in OK x -> Foo x y.
5
6 Lemma bug (h : OK true) : True.
7 Proof.
8 apply is_Foo in h. (* would generate unbound rel *)
9 Validate Proof.
10 all:constructor.
11 Qed.