aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/opened/3291.v
blob: 4e1c2630e350dc922457b0b4e3ee4532a4958eb6 (plain)
1
2
3
4
5
6
7
8
Require Import Setoid.

Definition segv : forall x, (x = 0%nat) -> (forall (y : nat), (y < x)%nat -> nat) = forall (y : nat), (y < 0)%nat -> nat.
intros x eq.
assert (H : forall y, (y < x)%nat = (y < 0)%nat).
rewrite -> eq. auto.
Fail Timeout 1 setoid_rewrite <- H. (* The command has indeed failed with message:
=> Stack overflow. *)