Details

Time bar (total: 5.7s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1227
2247
3247

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.4b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.0b
(+ (* x x) (* y y))
0.3b
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
37.3b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×sqrt-prod
11×add-log-exp
add-exp-log add-cbrt-cube
pow1
sum-log
flip3-+ associate-/r* flip-+ associate-/l*
+-commutative rem-sqrt-square div-inv associate-/l/
cbrt-undiv associate-+l+ frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num
Counts
4 → 78
Calls
4 calls:
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
4.0ms
(+ (* x x) (* y y))
8.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
6.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series294.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (+ (* x x) (* y y)) (* z z))
31.0ms
(+ (* x x) (* y y))
48.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
179.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0325828
11345761
25001755

prune228.0ms

Filtered
90 candidates to 71 candidates (78.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New84690
Fresh000
Picked011
Done000
Total84791

Merged error: 22.1b

Counts
91 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
0.3b
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))))
37.5b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
37.5b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
150×sqrt-prod
130×add-sqr-sqrt
106×times-frac
64×add-cube-cbrt *-un-lft-identity
47×cbrt-prod
43×associate-*r*
24×unswap-sqr
13×associate-*l*
10×pow1 sqrt-div
add-exp-log
add-cbrt-cube
associate-/r* associate-/l*
sqrt-pow1 pow1/2 add-log-exp
flip3-+ pow-prod-down flip-+ div-inv
rem-sqrt-square associate-/l/
cbrt-undiv frac-times frac-2neg sqrt-unprod associate-*r/ div-exp associate-*l/ prod-exp clear-num *-commutative cbrt-unprod
Counts
4 → 189
Calls
4 calls:
13.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
30.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series773.0ms

Counts
4 → 12
Calls
4 calls:
233.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
334.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))))
101.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
104.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify128.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
04143970
113313861
244123765
350013713

prune591.0ms

Filtered
201 candidates to 125 candidates (62.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2001201
Fresh145
Picked011
Done011
Total2017208

Merged error: 22.1b

Counts
208 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (sqrt (sqrt (+ (+ (* x x) (* y y)) (* z z)))) (cbrt 3.0))
37.5b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
37.5b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
37.5b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
54×times-frac
51×add-sqr-sqrt
48×add-cube-cbrt *-un-lft-identity
30×cbrt-prod
10×sqrt-div
associate-/l*
pow1
add-exp-log associate-/r*
add-cbrt-cube
flip3-+ flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
associate-/l/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 128
Calls
4 calls:
11.0ms
(/ (sqrt (sqrt (+ (+ (* x x) (* y y)) (* z z)))) (cbrt 3.0))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series512.0ms

Counts
4 → 12
Calls
4 calls:
210.0ms
(/ (sqrt (sqrt (+ (+ (* x x) (* y y)) (* z z)))) (cbrt 3.0))
102.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
99.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
100.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify111.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
02881937
18391872
231941844
350021823

prune487.0ms

Filtered
140 candidates to 92 candidates (65.7%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1400140
Fresh044
Picked011
Done022
Total1407147

Merged error: 22.1b

Counts
147 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)
0.3b
(* (fabs (cbrt (+ (+ (* x x) (* y y)) (* z z)))) (sqrt (/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
38.6b
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
38.6b
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×times-frac
36×add-cube-cbrt *-un-lft-identity
28×cbrt-prod
25×associate-*r* sqrt-prod
add-exp-log
add-cbrt-cube
pow1 cbrt-div associate-/l*
add-log-exp unswap-sqr
flip3-+ associate-*l* associate-/r* flip-+
pow1/3 div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-div associate-*r/ div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod
Counts
4 → 111
Calls
4 calls:
8.0ms
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)
12.0ms
(* (fabs (cbrt (+ (+ (* x x) (* y y)) (* z z)))) (sqrt (/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
5.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

series724.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)
212.0ms
(* (fabs (cbrt (+ (+ (* x x) (* y y)) (* z z)))) (sqrt (/ (cbrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
109.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))
284.0ms
(cbrt (+ (+ (* x x) (* y y)) (* z z)))

simplify63.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04651855
117781748
250021729

prune414.0ms

Filtered
123 candidates to 109 candidates (88.6%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1230123
Fresh033
Picked011
Done033
Total1237130

Merged error: 22.1b

Counts
130 → 7

regimes504.0ms

Accuracy

62.7% (7.1b remaining)

Error of 25.6b against oracle of 18.5b and baseline of 37.5b

bsearch83.0ms

Steps
ItersRangePoint
9
2.6532170287404195e+152
9.899160405665484e+160
2.7115116257003536e+152
8
-5.4516863711246e+114
-4.4782588713311843e+111
-9.39299411254326e+113

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
13312
23312

end0.0ms

sample538.0ms

Algorithm
intervals
Results
364.0ms8000×body80valid