aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_3291.v
blob: 19586abbfe3b35b6c215424d09b9d0fefd78b448 (plain)
1
2
3
4
5
6
7
8
9
10
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.
Set Typeclasses Debug.
Fail setoid_rewrite <- H. (* The command has indeed failed with message:
=> Stack overflow. *)
Abort.