Error in 53.8s

Runtime

Time bar (total: 53.8s)Debug logProfile

start466.0ms

Algorithm
intervals

setup164.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.3b

localize30.0ms

Local error

Found 3 expressions with local error:

3.0b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))
1.2b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
0.0b
(+ (exp wj) (* wj (exp wj)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Counts
3 → 74
Calls

3 calls. Slowest were:

18.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
7.0ms
(+ (exp wj) (* wj (exp wj)))
1.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series142.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

70.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))
36.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
36.0ms
(+ (exp wj) (* wj (exp wj)))

simplify3.4s

Counts
60 → 83
Calls

60 calls. Slowest were:

706.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
498.0ms
(/ (* wj (exp wj)) (+ (exp wj) (* wj (exp wj))))
369.0ms
(+ (* (exp wj) (exp wj)) (- (* (* wj (exp wj)) (* wj (exp wj))) (* (exp wj) (* wj (exp wj)))))

prune934.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize14.0ms

Local error

Found 0 expressions with local error:

rewrite0.0ms

Algorithm
rewrite-expression-head
Counts
0 → 0
Calls

0 calls. Slowest were:

series0.0ms

Counts
0 → 0
Calls

0 calls. Slowest were:

simplify0.0ms

Counts
0 → 0
Calls

0 calls. Slowest were:

prune11.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

localize30.0ms

Local error

Found 3 expressions with local error:

3.2b
(- wj (* (/ 1 (+ wj 1)) (- wj (/ x (exp wj)))))
0.2b
(/ x (exp wj))
0.0b
(* (/ 1 (+ wj 1)) (- wj (/ x (exp wj))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Counts
3 → 64
Calls

3 calls. Slowest were:

9.0ms
(* (/ 1 (+ wj 1)) (- wj (/ x (exp wj))))
2.0ms
(- wj (* (/ 1 (+ wj 1)) (- wj (/ x (exp wj)))))
1.0ms
(/ x (exp wj))

series157.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

57.0ms
(/ x (exp wj))
52.0ms
(- wj (* (/ 1 (+ wj 1)) (- wj (/ x (exp wj)))))
48.0ms
(* (/ 1 (+ wj 1)) (- wj (/ x (exp wj))))

simplify6.2s

Counts
38 → 73
Calls

38 calls. Slowest were:

806.0ms
(* (* (* (/ 1 (+ wj 1)) (/ 1 (+ wj 1))) (/ 1 (+ wj 1))) (* (* (- wj (/ x (exp wj))) (- wj (/ x (exp wj)))) (- wj (/ x (exp wj)))))
686.0ms
(* (- (/ x (exp wj))) (/ 1 (+ wj 1)))
507.0ms
(* (+ wj 1) (+ (* wj wj) (+ (* (/ x (exp wj)) (/ x (exp wj))) (* wj (/ x (exp wj))))))

prune725.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize14.0ms

Local error

Found 4 expressions with local error:

22.6b
(/ (- (* wj wj) (* (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))) (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))) (+ wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))
1.8b
(- (* wj wj) (* (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))) (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))
1.2b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
1.2b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Counts
4 → 139
Calls

4 calls. Slowest were:

13.0ms
(/ (- (* wj wj) (* (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))) (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))) (+ wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))
11.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
8.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))

series402.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

158.0ms
(/ (- (* wj wj) (* (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))) (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))) (+ wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))
129.0ms
(- (* wj wj) (* (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))) (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))
58.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))

simplify24.4s

Counts
142 → 151
Calls

142 calls. Slowest were:

1.6s
(/ (+ wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))) 1)
1.1s
(sqrt (+ wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))
949.0ms
(cbrt (+ wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))

prune1.7s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.4b

regimes77.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(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: 1.6205564258837268 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