Details

Time bar (total: 6.2s)

sample78.0ms

Algorithm
intervals
Results
51.0ms235×body10240exit
7.0ms213×body80valid
3.0ms29×body320valid
1.0msbody640valid
1.0ms13×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.4b

Counts
2 → 2

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.1b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite60.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:
5.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
10.0ms
(/ (/ x (+ wj 1)) (exp wj))
33.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series140.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07211524
133031471
250011469

prune424.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1835188
Fresh101
Picked101
Done000
Total1855190

Merged error: 0.1b

Counts
190 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
7.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
5.0ms
(* 2 (* wj x))

series51.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0162196
1645179
23837177
35001177

prune66.0ms

Filtered
38 candidates to 22 candidates (57.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh044
Picked011
Done000
Total37643

Merged error: 0.1b

Counts
43 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube 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 → 87
Calls
4 calls:
17.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
9.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

series1.1s

Counts
4 → 12
Calls
4 calls:
301.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
264.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
263.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
260.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

simplify52.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03151593
112011500
250011416

prune278.0ms

Filtered
99 candidates to 75 candidates (75.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New98199
Fresh044
Picked101
Done011
Total996105

Merged error: 0.1b

Counts
105 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
0.6b
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
0.6b
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
0.9b
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×cbrt-div
unpow-prod-down
pow1 add-exp-log
pow1/3 add-cbrt-cube add-log-exp
pow-unpow flip3-- flip--
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
7.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
7.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
7.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
10.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

series944.0ms

Counts
4 → 12
Calls
4 calls:
270.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
273.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
276.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
125.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

simplify51.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03951260
114231191
250011170

prune322.0ms

Filtered
84 candidates to 67 candidates (79.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh044
Picked011
Done011
Total83790

Merged error: 0.1b

Counts
90 → 7

regimes74.0ms

Accuracy

60.6% (0.7b remaining)

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

bsearch34.0ms

Steps
ItersRangePoint
8
4.278730963433957e-11
2.0940920541712224e-07
8.741130488109898e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13116

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.5s7551×body10240exit
203.0ms6295×body80valid
80.0ms770×body320valid
72.0ms484×body640valid
35.0ms553×body160valid