Details

Time bar (total: 4.3s)

sample31.0ms

Algorithm
intervals
Results
6.0ms244×body80overflowed
6.0ms199×body80valid
3.0ms31×body320valid
1.0ms10×body640valid
1.0ms17×body160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.1b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite552.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
118×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
24×associate-/l*
21×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log associate-/r*
add-log-exp
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1
frac-2neg clear-num
diff-log frac-sub distribute-lft-out-- difference-of-squares
sub-neg flip3-- associate--l+ sum-log flip-- associate-/l/
Counts
4 → 176
Calls
4 calls:
11.0ms
(/ wj (+ wj 1))
11.0ms
(/ x (+ wj 1))
25.0ms
(/ (/ x (+ wj 1)) (exp wj))
498.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series135.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ wj (+ wj 1))
21.0ms
(/ x (+ wj 1))
38.0ms
(/ (/ x (+ wj 1)) (exp wj))
54.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify79.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07211524
133031471
250011469

prune415.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ x (pow wj 2)) (* 2 (* wj x)))
0.0b
(* 2 (* wj x))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
diff-log
sub-neg flip3-- associate-*r* associate--l+ sum-log *-commutative flip--
Counts
2 → 32
Calls
2 calls:
75.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
16.0ms
(* 2 (* wj x))

series47.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
20.0ms
(* 2 (* wj x))

simplify114.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0162196
1645179
23837177
35001177

prune66.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(* wj (- wj (* 2 x)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
19.0ms
(* wj (- wj (* 2 x)))

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(* wj (- wj (* 2 x)))

simplify87.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0123129
1529113
22630112
35001112

prune47.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* wj (- wj (* 2 x)))) (cbrt (* wj (- wj (* 2 x)))))
11.2b
(cbrt (* wj (- wj (* 2 x))))
11.2b
(cbrt (* wj (- wj (* 2 x))))
11.2b
(cbrt (* wj (- wj (* 2 x))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-- pow1/3 flip--
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
22.0ms
(* (cbrt (* wj (- wj (* 2 x)))) (cbrt (* wj (- wj (* 2 x)))))
9.0ms
(cbrt (* wj (- wj (* 2 x))))
6.0ms
(cbrt (* wj (- wj (* 2 x))))
6.0ms
(cbrt (* wj (- wj (* 2 x))))

series1.1s

Counts
4 → 12
Calls
4 calls:
262.0ms
(* (cbrt (* wj (- wj (* 2 x)))) (cbrt (* wj (- wj (* 2 x)))))
269.0ms
(cbrt (* wj (- wj (* 2 x))))
261.0ms
(cbrt (* wj (- wj (* 2 x))))
261.0ms
(cbrt (* wj (- wj (* 2 x))))

simplify166.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (152.0ms)

IterNodesCost
0230718
1869653
24645612
35001606

prune235.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.4b

regimes53.0ms

Accuracy

0% (1.8b remaining)

Error of 2.1b against oracle of 0.3b and baseline of 2.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample915.0ms

Algorithm
intervals
Results
210.0ms7693×body80overflowed
185.0ms6279×body80valid
70.0ms756×body320valid
68.0ms468×body640valid
34.0ms564×body160valid