Details

Time bar (total: 5.3s)

sample1.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 82.397461%

Results
12.0ms256×body80valid

simplify6.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.2b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series44.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
30.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify100.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0214630
1835578
23394576
35002574

prune117.0ms

Filtered
49 candidates to 60 candidates (-22.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New55560
Fresh000
Picked101
Done000
Total56561

Merged error: 17.9b

Counts
61 → 5

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
pow1
add-sqr-sqrt associate-*r*
distribute-lft-out
add-exp-log add-cube-cbrt associate-*r/ add-cbrt-cube
unpow-prod-down associate-*l*
sqrt-pow1 flip3-+ sqrt-div pow-prod-down flip-+ add-log-exp
distribute-rgt-in distribute-lft-in pow1/2 prod-exp sqrt-prod *-commutative cbrt-unprod unswap-sqr
Counts
2 → 38
Calls
2 calls:
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)))))

series40.0ms

Counts
2 → 6
Calls
2 calls:
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)))))

simplify35.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0211340
11120308
25002307

prune99.0ms

Filtered
27 candidates to 44 candidates (-63.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New44044
Fresh044
Picked011
Done000
Total44549

Merged error: 17.9b

Counts
49 → 5

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

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

series49.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
19.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify58.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
02111118
16251058
222751035
350021035

prune101.0ms

Filtered
51 candidates to 84 candidates (-64.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New81384
Fresh033
Picked011
Done011
Total81889

Merged error: 17.8b

Counts
89 → 8

localize4.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (* -1 x) (sqrt 3.0))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log times-frac associate-/r* sqrt-prod add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-undiv div-exp
pow1 frac-2neg mul-1-neg distribute-frac-neg prod-exp clear-num cbrt-unprod div-inv associate-/l* add-log-exp
Counts
1 → 28
Calls
1 calls:
5.0ms
(/ (* -1 x) (sqrt 3.0))

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(/ (* -1 x) (sqrt 3.0))

simplify91.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0132140
1693121
24212121
35001121

prune38.0ms

Filtered
19 candidates to 31 candidates (-63.2%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New25631
Fresh055
Picked011
Done022
Total251439

Merged error: 17.8b

Counts
39 → 14

regimes950.0ms

Accuracy

61.6% (7.4b remaining)

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

bsearch45.0ms

Steps
ItersRangePoint
9
1.0216981269085282e+90
1.3480803389634533e+97
2.8721955236208945e+96
8
-1.72690109849259e+114
-5.4468735666003605e+110
-1.4760328834860489e+114

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03112
13312
23312

end0.0ms

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 82.397461%

Results
425.0ms8000×body80valid

Profiling

Loading profile data...