Skip to content

Termination prover not strong enough #101

Open
@acjf3

Description

@acjf3

The following fails:

val test_def = Define test n l s = if n = 0 then l else test (n - 1) (s::l) s;

All variants fail as well. I actually want something similar to

val test_def = Define test (l, n) s = if n = 0 then l else test (s::l, n - 1) s;

or

val test_def = Define test (n, l) s = if n = 0 then l else test (n - 1, s::l) s;

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions