Error in 39.8s

Runtime

Time bar (total: 39.8s)Debug log

start538.0ms

Algorithm
intervals

setup501.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.5b

localize31.0ms

Local error

Found 4 expressions with local error:

6.1b
(- wj (/ wj (+ wj 1)))
0.0b
(/ (/ x (exp wj)) (+ wj 1))
0.0b
(/ x (exp wj))
0.0b
(/ wj (+ wj 1))

rewrite5.0ms

Algorithm
rewrite-expression-head
Counts
4 → 73
Calls

4 calls. Slowest were:

3.0ms
(/ (/ x (exp wj)) (+ wj 1))
0.0ms
(- wj (/ wj (+ wj 1)))
0.0ms
(/ wj (+ wj 1))

series107.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

44.0ms
(/ (/ x (exp wj)) (+ wj 1))
38.0ms
(/ x (exp wj))
13.0ms
(/ wj (+ wj 1))

simplify1.4s

Counts
53 → 85
Calls

53 calls. Slowest were:

388.0ms
(/ (* (* (/ x (exp wj)) (/ x (exp wj))) (/ x (exp wj))) (* (* (+ wj 1) (+ wj 1)) (+ wj 1)))
214.0ms
(- (+ x (* 5/2 (* x (pow wj 2)))) (* 2 (* x wj)))
85.0ms
(- (+ x (* 1/2 (* x (pow wj 2)))) (* x wj))

prune978.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (exp wj)) (+ wj 1))
0.0b
(- (+ (pow wj 2) (pow wj 4)) (pow wj 3))
0.0b
(/ x (exp wj))
0.0b
(+ (pow wj 2) (pow wj 4))

rewrite54.0ms

Algorithm
rewrite-expression-head
Counts
4 → 76
Calls

4 calls. Slowest were:

39.0ms
(- (+ (pow wj 2) (pow wj 4)) (pow wj 3))
6.0ms
(/ (/ x (exp wj)) (+ wj 1))
6.0ms
(+ (pow wj 2) (pow wj 4))

series174.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

62.0ms
(/ (/ x (exp wj)) (+ wj 1))
55.0ms
(/ x (exp wj))
37.0ms
(+ (pow wj 2) (pow wj 4))

simplify1.5s

Counts
57 → 88
Calls

57 calls. Slowest were:

408.0ms
(/ (* (* (/ x (exp wj)) (/ x (exp wj))) (/ x (exp wj))) (* (* (+ wj 1) (+ wj 1)) (+ wj 1)))
191.0ms
(- (+ x (* 5/2 (* x (pow wj 2)))) (* 2 (* x wj)))
122.0ms
(- (+ x (* 1/2 (* x (pow wj 2)))) (* x wj))

prune1.7s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ x (exp wj)) (/ 1 (+ wj 1)))
0.0b
(- (+ (pow wj 2) (pow wj 4)) (pow wj 3))
0.0b
(/ x (exp wj))
0.0b
(/ 1 (+ wj 1))

rewrite24.0ms

Algorithm
rewrite-expression-head
Counts
4 → 74
Calls

4 calls. Slowest were:

18.0ms
(- (+ (pow wj 2) (pow wj 4)) (pow wj 3))
4.0ms
(* (/ x (exp wj)) (/ 1 (+ wj 1)))
1.0ms
(/ 1 (+ wj 1))

series119.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

53.0ms
(* (/ x (exp wj)) (/ 1 (+ wj 1)))
43.0ms
(/ x (exp wj))
13.0ms
(- (+ (pow wj 2) (pow wj 4)) (pow wj 3))

simplify1.6s

Counts
45 → 86
Calls

45 calls. Slowest were:

294.0ms
(* (* (* (/ x (exp wj)) (/ x (exp wj))) (/ x (exp wj))) (* (* (/ 1 (+ wj 1)) (/ 1 (+ wj 1))) (/ 1 (+ wj 1))))
216.0ms
(- (+ x (* 5/2 (* x (pow wj 2)))) (* 2 (* x wj)))
112.0ms
(+ (log (/ x (exp wj))) (log (/ 1 (+ wj 1))))

prune1.6s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

26.0b
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
26.0b
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
0.0b
(* (/ x (exp wj)) (/ 1 (+ wj 1)))
0.0b
(* (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3))) (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3))))

rewrite121.0ms

Algorithm
rewrite-expression-head
Counts
4 → 104
Calls

4 calls. Slowest were:

59.0ms
(* (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3))) (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3))))
29.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
26.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))

series117.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

57.0ms
(* (/ x (exp wj)) (/ 1 (+ wj 1)))
25.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
19.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))

simplify7.5s

Counts
88 → 116
Calls

88 calls. Slowest were:

632.0ms
(* (* (* (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3))) (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))) (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))) (* (* (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3))) (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))) (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))))
524.0ms
(* (sqrt (- (* (+ (pow wj 2) (pow wj 4)) (+ (pow wj 2) (pow wj 4))) (* (pow wj 3) (pow wj 3)))) (sqrt (- (pow (+ (pow wj 2) (pow wj 4)) 3) (pow (pow wj 3) 3))))
512.0ms
(* (sqrt (- (pow (+ (pow wj 2) (pow wj 4)) 3) (pow (pow wj 3) 3))) (sqrt (- (* (+ (pow wj 2) (pow wj 4)) (+ (pow wj 2) (pow wj 4))) (* (pow wj 3) (pow wj 3)))))

prune2.4s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

regimes164.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 
(FPCore (wj x)
  :name "Jmat.Real.lambertw, newton loop step"

  :herbie-target
  (- wj (- (/ wj (+ wj 1)) (/ x (+ (exp wj) (* wj (exp wj))))))

  (- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))

Backtrace

partition: contract violation expected: list? given: 0.9503897633430397 argument position: 2nd other arguments...: #<procedure:ordinary-value?>LC
partition/home/p92/racket/collects/racket/list.rkt5550
errors-score/data/pavpan/nightlies/herbie/develop/src/points.rkt3220
for-loop/data/pavpan/nightlies/herbie/develop/src/sandbox.rkt7512
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128
run/home/p92/racket/share/pkgs/profile-lib/main.rkt392
profile-thunk16/home/p92/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128