Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--timeout option not always respected #10

Open
rafoo opened this issue Jun 3, 2017 · 0 comments
Open

--timeout option not always respected #10

rafoo opened this issue Jun 3, 2017 · 0 comments

Comments

@rafoo
Copy link
Collaborator

rafoo commented Jun 3, 2017

On the following example, Zipperposition does not respect the --timeout 2 option but fills all the available memory:

data list a := nil | cons a (list a).

def[infix "++"] append : pi a. list a -> list a -> list a where
  forall l. append nil l = l;
  forall hd tl l. append (cons hd tl) l = cons hd (append tl l).

def foreach : pi a. list a -> (a -> prop) -> prop where
  forall p. foreach nil p = true;
  forall hd tl p. foreach (cons hd tl) p = (p hd && foreach tl p).

goal forall a (l1 l2 : list a) p. foreach (append l1 l2) p = (foreach l1 p && foreach l2 p).

Called with zipperposition --timeout 2 bug.zf.

rafoo pushed a commit to rafoo/zipperposition that referenced this issue Jun 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant