Error in 46.6s

Runtime

Time bar (total: 46.6s)Debug logProfile

start429.0ms

Algorithm
intervals

setup523.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.4b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Counts
4 → 73
Calls

4 calls. Slowest were:

7.0ms
(/ (/ x (exp wj)) (+ wj 1))
1.0ms
(/ wj (+ wj 1))
1.0ms
(- wj (/ wj (+ wj 1)))

series125.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

52.0ms
(/ x (exp wj))
43.0ms
(/ (/ x (exp wj)) (+ wj 1))
20.0ms
(- wj (/ wj (+ wj 1)))

simplify1.5s

Counts
53 → 85
Calls

53 calls. Slowest were:

408.0ms
(/ (* (* (/ x (exp wj)) (/ x (exp wj))) (/ x (exp wj))) (* (* (+ wj 1) (+ wj 1)) (+ wj 1)))
216.0ms
(- (+ x (* 5/2 (* x (pow wj 2)))) (* 2 (* x wj)))
125.0ms
(- (+ x (* 1/2 (* x (pow wj 2)))) (* x wj))

prune1.0s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Counts
4 → 76
Calls

4 calls. Slowest were:

36.0ms
(- (+ (pow wj 2) (pow wj 4)) (pow wj 3))
7.0ms
(/ (/ x (exp wj)) (+ wj 1))
7.0ms
(+ (pow wj 2) (pow wj 4))

series119.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

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

simplify1.6s

Counts
57 → 88
Calls

57 calls. Slowest were:

437.0ms
(/ (* (* (/ x (exp wj)) (/ x (exp wj))) (/ x (exp wj))) (* (* (+ wj 1) (+ wj 1)) (+ wj 1)))
184.0ms
(- (+ x (* 5/2 (* x (pow wj 2)))) (* 2 (* x wj)))
140.0ms
(- (+ x (* 1/2 (* x (pow wj 2)))) (* x wj))

prune1.8s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite112.0ms

Algorithm
rewrite-expression-head
Counts
4 → 91
Calls

4 calls. Slowest were:

45.0ms
(* (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3))) (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3))))
34.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
30.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))

series100.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

33.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
31.0ms
(/ x (exp wj))
19.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))

simplify7.0s

Counts
74 → 103
Calls

74 calls. Slowest were:

714.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)))))
555.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)))))
540.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))))

prune2.4s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize28.0ms

Local error

Found 4 expressions with local error:

28.6b
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
28.6b
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
28.6b
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
0.5b
(* (sqrt (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))) (sqrt (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))))

rewrite120.0ms

Algorithm
rewrite-expression-head
Counts
4 → 101
Calls

4 calls. Slowest were:

39.0ms
(* (sqrt (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))) (sqrt (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))))
31.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
30.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))

series103.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

37.0ms
(* (sqrt (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))) (sqrt (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))))
23.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))
21.0ms
(sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))

simplify7.4s

Counts
85 → 113
Calls

85 calls. Slowest were:

547.0ms
(* (sqrt (sqrt (- (* (+ (pow wj 2) (pow wj 4)) (+ (pow wj 2) (pow wj 4))) (* (pow wj 3) (pow wj 3))))) (sqrt (sqrt (- (pow (+ (pow wj 2) (pow wj 4)) 3) (pow (pow wj 3) 3)))))
531.0ms
(* (sqrt (sqrt (- (pow (+ (pow wj 2) (pow wj 4)) 3) (pow (pow wj 3) 3)))) (sqrt (sqrt (- (* (+ (pow wj 2) (pow wj 4)) (+ (pow wj 2) (pow wj 4))) (* (pow wj 3) (pow wj 3))))))
399.0ms
(* (sqrt (sqrt (- (* (+ (pow wj 2) (pow wj 4)) (+ (pow wj 2) (pow wj 4))) (* (pow wj 3) (pow wj 3))))) (sqrt (sqrt (- (+ (pow wj 2) (pow wj 4)) (pow wj 3)))))

prune2.6s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

regimes154.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 
(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.1264213051923762 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