Debian Codegraph @

test-suite/bugs/bug_7779.v

raw
1 (* Checking that the "in" clause takes the "eqn" clause into account *)
2
3 Definition test (x: nat): {y: nat | False }. Admitted.
4
5 Parameter x: nat.
6 Parameter z: nat.
7
8 Goal
9 proj1_sig (test x) = z ->
10 False.
11 Proof.
12 intro H.
13 destruct (test x) eqn:Heqs in H.
14 change (test x = exist (fun _ : nat => False) x0 f) in Heqs. (* Check it has the expected statement *)
15 Abort.