Details

Time bar (total: 4.6s)

sample34.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
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)))

rewrite680.0ms

Algorithm
rewrite-expression-head
Rules
231×*-un-lft-identity
175×times-frac
129×add-sqr-sqrt
124×add-cube-cbrt
72×prod-diff
52×distribute-lft-out
24×associate-/l*
20×associate-/r/
13×add-cbrt-cube
11×add-exp-log flip3-+ associate-/r* flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u fma-neg log1p-expm1-u
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 → 260
Calls
4 calls:
12.0ms
(/ wj (+ wj 1))
11.0ms
(/ x (+ wj 1))
24.0ms
(/ (/ x (+ wj 1)) (exp wj))
620.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series127.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ wj (+ wj 1))
20.0ms
(/ x (+ wj 1))
40.0ms
(/ (/ x (+ wj 1)) (exp wj))
49.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify125.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
010154090
145553249
250013243

prune495.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))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt
fma-neg prod-diff
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u diff-log log1p-expm1-u distribute-lft-out
sub-neg flip3-- associate-*r* associate--l+ sum-log *-commutative flip--
Counts
2 → 44
Calls
2 calls:
90.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
18.0ms
(* 2 (* wj x))

series44.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0195282
1764240
25001222

prune91.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize13.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune8.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
68.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
7.0ms
(cbrt (+ x (pow wj 2)))
8.0ms
(cbrt (+ x (pow wj 2)))
8.0ms
(cbrt (+ x (pow wj 2)))

series1.2s

Counts
4 → 12
Calls
4 calls:
264.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
310.0ms
(cbrt (+ x (pow wj 2)))
296.0ms
(cbrt (+ x (pow wj 2)))
299.0ms
(cbrt (+ x (pow wj 2)))

simplify175.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0259918
1988867
24915790
35001790

prune315.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.4b

regimes58.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
0168
1168

end0.0ms

sample907.0ms

Algorithm
intervals
Results
208.0ms7693×body80overflowed
184.0ms6279×body80valid
68.0ms468×body640valid
68.0ms756×body320valid
35.0ms564×body160valid