Open
Description
[@@strict_on_arguments [0]]
let rec cd (x:nat) : nat =
if x = 0 then 0 else 1 + cd (x-1)
#push-options "--no_smt"
let _ = assert_norm (cd 1 > 0)
#pop-options
This should work, but gets stuck after the first iteration. The problem is a Tm_lazy
node preventing the reduction, pushing a fix soon.
Metadata
Metadata
Assignees
Labels
No labels