Details

Time bar (total: 6.3s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 38.9b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.0b
(+ (* x x) (* y y))
0.1b
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
36.2b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite28.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)
8.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series293.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ (+ (* x x) (* y y)) (* z z))
28.0ms
(+ (* x x) (* y y))
50.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
173.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0325828
11345761
25001755

prune219.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: 19.8b

Counts
91 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.2b
(/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0))
0.4b
(* (sqrt (/ 1 (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0))))
36.2b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
90×add-sqr-sqrt
75×times-frac sqrt-prod
53×*-un-lft-identity
49×add-cube-cbrt
35×cbrt-prod
25×associate-*r*
16×unswap-sqr
10×associate-*l*
pow1
add-exp-log
add-cbrt-cube
associate-/r* add-log-exp
sqrt-div
div-inv
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down associate-/l*
flip3-+ flip-+ associate-/l/
cbrt-undiv +-commutative frac-times frac-2neg sqrt-unprod associate-*r/ div-exp associate-*l/ prod-exp clear-num sum-log *-commutative cbrt-unprod
Counts
4 → 155
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
9.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0))
22.0ms
(* (sqrt (/ 1 (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0))))
7.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0)))

series1.1s

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* x x) (* y y))
329.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0))
360.0ms
(* (sqrt (/ 1 (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0))))
374.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (cbrt 3.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04672452
117972356
250012337

prune553.0ms

Filtered
167 candidates to 131 candidates (78.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1643167
Fresh055
Picked101
Done011
Total1659174

Merged error: 19.7b

Counts
174 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
0.4b
(* (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))))
36.1b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
36.1b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite59.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:
9.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)))

series858.0ms

Counts
4 → 12
Calls
4 calls:
262.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (cbrt 3.0))
373.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)))
122.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify169.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
04143970
113313861
243983765
350013713

prune494.0ms

Filtered
201 candidates to 125 candidates (62.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2010201
Fresh077
Picked011
Done011
Total2019210

Merged error: 19.7b

Counts
210 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
0.4b
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
36.1b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
36.1b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
152×sqrt-prod
122×add-sqr-sqrt
84×times-frac
55×*-un-lft-identity
47×add-cube-cbrt
25×associate-*r* associate-*l*
24×unswap-sqr
11×pow1
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square sqrt-pow1 pow1/2
add-log-exp
pow-prod-down div-inv
flip3-+ flip-+
frac-times sqrt-unprod associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 156
Calls
4 calls:
7.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
25.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series564.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
184.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
107.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
103.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify73.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03932966
113552835
250012785

prune393.0ms

Filtered
168 candidates to 109 candidates (64.9%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1680168
Fresh066
Picked011
Done022
Total1689177

Merged error: 19.7b

Counts
177 → 9

regimes546.0ms

Accuracy

60.5% (7.6b remaining)

Error of 25.8b against oracle of 18.2b and baseline of 37.4b

bsearch139.0ms

Steps
ItersRangePoint
8
3.584984032206546e+131
1.933236461977481e+136
1.0270452633617047e+135
9
-4.86612890522375e-281
-8.637060737317073e-289
-4.658617051526522e-281
7
-4.845435935635627e-218
-1.1000449631184665e-219
-1.8518021247462165e-219
4
-2.8077428121399217e+107
-1.6342802683843278e+107
-2.7710721076475597e+107

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04845
15545
25845
35845

end0.0ms

sample543.0ms

Algorithm
intervals
Results
365.0ms8000×body80valid

Profiling

Loading profile data...