Details

Time bar (total: 2.7s)

analyze18.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 99.975586%

sample21.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

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×times-frac
18×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
pow1
associate-/r* associate-/l*
rem-sqrt-square flip3-+ flip-+ div-inv associate-/l/
cbrt-undiv +-commutative frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num sum-log
Counts
3 → 65
Calls
3 calls:
4.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))

series47.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
15.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
27.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify121.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0294707
11224644
24391642
35001640

prune135.0ms

Filtered
60 candidates to 74 candidates (-23.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New68674
Fresh000
Picked011
Done000
Total68775

Merged error: 19.7b

Counts
75 → 7

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow y 2) (pow z 2))
0.1b
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
33.5b
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
pow1
add-sqr-sqrt distribute-lft-out
associate-*r*
add-exp-log add-cube-cbrt unpow-prod-down add-cbrt-cube add-log-exp
associate-*r/
flip3-+ associate-*l* flip-+
sqrt-pow1 sqrt-div pow-prod-down
+-commutative distribute-rgt-in distribute-lft-in pow1/2 prod-exp sum-log sqrt-prod *-commutative cbrt-unprod unswap-sqr
Counts
3 → 51
Calls
3 calls:
7.0ms
(+ (pow y 2) (pow z 2))
16.0ms
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
12.0ms
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

series45.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (pow y 2) (pow z 2))
13.0ms
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
27.0ms
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

simplify40.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0260411
11384379
25002378

prune126.0ms

Filtered
38 candidates to 60 candidates (-57.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh055
Picked011
Done011
Total60767

Merged error: 19.7b

Counts
67 → 7

localize16.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)))
33.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
33.4b
(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:
7.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)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series109.0ms

Counts
4 → 12
Calls
4 calls:
40.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)))
19.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
22.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify65.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04202977
114282846
250012796

prune216.0ms

Filtered
109 candidates to 168 candidates (-54.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1671168
Fresh044
Picked011
Done022
Total1678175

Merged error: 19.7b

Counts
175 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
0.5b
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))
33.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
33.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
574×sqrt-prod
344×add-sqr-sqrt
284×times-frac
154×add-cube-cbrt *-un-lft-identity
73×swap-sqr
43×associate-*r* associate-*l*
36×unswap-sqr
21×pow1
10×sqrt-pow1 pow1/2 sqrt-div
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow-prod-up div-inv
add-log-exp
flip3-+ pow-prod-down pow-sqr flip-+
rem-sqrt-square associate-/l/
cbrt-undiv pow2 frac-times sqrt-undiv frac-2neg pow-plus sqrt-unprod associate-*r/ div-exp associate-*l/ prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 316
Calls
4 calls:
9.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
47.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series103.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
35.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))
18.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
19.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify107.0ms

Algorithm
egg-herbie
Counts
328 → 328
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04495736
121785405
250025370

prune342.0ms

Filtered
149 candidates to 328 candidates (-120.1%)
Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New3253328
Fresh044
Picked011
Done033
Total32511336

Merged error: 19.6b

Counts
336 → 11

regimes966.0ms

bsearch1.0ms

Profiling

Loading profile data...