Details

Time bar (total: 6.5s)

sample67.0ms

Algorithm
intervals
Results
41.0ms230×body10240exit
6.0ms185×body80valid
3.0ms35×body320valid
3.0ms19×body640valid
1.0ms18×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.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: 16.9b

Counts
2 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.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))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
29.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series182.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ wj (+ wj 1))
25.0ms
(/ x (+ wj 1))
60.0ms
(/ (/ x (+ wj 1)) (exp wj))
77.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify78.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07211524
133031471
250011469

prune347.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1844188
Fresh101
Picked101
Done000
Total1864190

Merged error: 0.1b

Counts
190 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
2 → 30
Calls
2 calls:
4.0ms
(+ x (pow wj 2))
5.0ms
(* 2 (* wj x))

series50.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ x (pow wj 2))
22.0ms
(* 2 (* wj x))

simplify63.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0149128
1550109
22327108
35001108

prune54.0ms

Filtered
36 candidates to 21 candidates (58.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh033
Picked011
Done000
Total34640

Merged error: 0.1b

Counts
40 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.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
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 → 95
Calls
4 calls:
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
12.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))

series1.2s

Counts
4 → 12
Calls
4 calls:
308.0ms
(cbrt (+ x (pow wj 2)))
307.0ms
(cbrt (+ x (pow wj 2)))
317.0ms
(cbrt (+ x (pow wj 2)))
262.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))

simplify161.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (152.0ms)

IterNodesCost
0252878
1951827
24722760
35002749

prune240.0ms

Filtered
107 candidates to 75 candidates (70.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1052107
Fresh044
Picked101
Done011
Total1067113

Merged error: 0.1b

Counts
113 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
420×cbrt-div
148×frac-times
126×flip3-+ flip-+
50×associate-*r/ associate-*l/
12×add-sqr-sqrt
11×pow1 cbrt-prod
pow1/3
add-cube-cbrt *-un-lft-identity
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 165
Calls
4 calls:
11.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
11.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
14.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
11.0ms
(* (cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))) (cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))))

series1.1s

Counts
4 → 12
Calls
4 calls:
262.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
262.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
266.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
287.0ms
(* (cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))) (cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))))

simplify160.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
03704751
110034616
241134534
350024524

prune424.0ms

Filtered
177 candidates to 93 candidates (52.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1761177
Fresh055
Picked011
Done011
Total1768184

Merged error: 0.1b

Counts
184 → 8

regimes76.0ms

Accuracy

68.8% (0.5b remaining)

Error of 0.8b against oracle of 0.3b and baseline of 2.0b

bsearch36.0ms

Steps
ItersRangePoint
9
1.2261953182377537e-15
1.3201210546183864e-08
4.794595763324104e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.4s7538×body10240exit
189.0ms6294×body80valid
75.0ms738×body320valid
68.0ms467×body640valid
38.0ms566×body160valid