aboutsummaryrefslogtreecommitdiff
path: root/test-suite/ssr/ipat_swap.v
blob: 9ca7f256dc157ede2b9bd41b6c4787dd83ba5934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Require Import ssreflect.

Section Swap.

Variable P : nat -> bool.

Lemma test_swap1 : forall (n : nat) (b : bool), P n = b.
Proof. move=> /[swap] b n; suff: P n = b by []. Abort.

Lemma test_swap1 : let n := 1 in let b := true in False.
Proof. move=> /[swap] b n; have : P n = b := eq_refl. Abort.

End Swap.