Details

Time bar (total: 3.4s)

analyze26.0ms

Algorithm
search

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1227
2247
3247

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.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)
35.3b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

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

series55.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (+ (* x x) (* y y)) (* z z))
5.0ms
(+ (* x x) (* y y))
12.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
28.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0325828
11345761
25001755

prune148.0ms

Filtered
71 candidates to 90 candidates (-26.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New84690
Fresh000
Picked011
Done000
Total84791

Merged error: 21.1b

Counts
91 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
0.3b
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
35.2b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
35.2b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite51.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:
6.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
24.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)))

series104.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
27.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
18.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
18.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify66.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04202977
114282846
250012796

prune212.0ms

Filtered
108 candidates to 168 candidates (-55.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1680168
Fresh055
Picked011
Done011
Total1687175

Merged error: 21.1b

Counts
175 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.0b
(+ (* x x) (* y y))
0.4b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
35.2b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite26.0ms

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

series66.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (+ (* x x) (* y y)) (* z z))
8.0ms
(+ (* x x) (* y y))
29.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
18.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify42.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03301316
113381241
250021218

prune135.0ms

Filtered
72 candidates to 114 candidates (-58.3%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1113114
Fresh044
Picked011
Done022
Total11110121

Merged error: 21.0b

Counts
121 → 10

localize16.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))))
35.2b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
35.2b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

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

series112.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
04143970
113313861
243983765
350013713

prune324.0ms

Filtered
125 candidates to 201 candidates (-60.8%)
Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New2010201
Fresh066
Picked011
Done033
Total20110211

Merged error: 21.0b

Counts
211 → 10

regimes1.0s

Accuracy

62.5% (7.4b remaining)

Error of 25.4b against oracle of 18.0b and baseline of 37.7b

bsearch81.0ms

Steps
ItersRangePoint
9
9.891564769644244e+79
1.9136622312600887e+85
1.8336961767942577e+85
9
-8.025519654191015e+113
-5.076236393891551e+107
-3.1207763403391707e+112

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
13312
23312

end0.0ms

analyze14.0ms

Algorithm
search

sample557.0ms

Algorithm
intervals
Results
387.0ms8000×body80valid

Profiling

Loading profile data...