Debian Codegraph @

test-suite/ssr/ipat_clear_if_id.v

raw
1 Require Import ssreflect.
2
3 Axiom v1 : nat -> bool.
4
5 Section Foo.
6
7 Variable v2 : nat -> bool.
8
9 Lemma test (v3 : nat -> bool) (v4 : bool -> bool) (v5 : bool -> bool) : nat -> nat -> nat -> nat -> True.
10 Proof.
11 Set Debug Ssreflect.
12 move=> {}/v1 b1 {}/v2 b2 {}/v3 b3 {}/v2/v4/v5 b4.
13 Check b1 : bool.
14 Check b2 : bool.
15 Check b3 : bool.
16 Check b4 : bool.
17 Fail Check v3.
18 Fail Check v4.
19 Fail Check v5.
20 Check v2 : nat -> bool.
21 by [].
22 Qed.
23
24 Lemma test2 (v : True <-> False) : True -> False.
25 Proof.
26 move=> {}/v.
27 Fail Check v.
28 by [].
29 Qed.
30
31
32 End Foo.