Details

Time bar (total: 3.2s)

sample18.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0167
1277
2337
3347
4347

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite106.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*
expm1-log1p-u rem-sqrt-square log1p-expm1-u 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 → 58
Calls
2 calls:
73.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
31.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series202.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0223655
1877586
23651577
35001577

prune202.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 16.9b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
29×sqrt-prod
16×associate-*r*
15×*-un-lft-identity
13×add-cube-cbrt times-frac
sqrt-div
unswap-sqr
pow1
associate-*l*
add-exp-log add-cbrt-cube
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+
expm1-log1p-u frac-times associate-*l/ log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-unprod associate-*r/ prod-exp *-commutative cbrt-unprod hypot-def div-inv
Counts
2 → 69
Calls
2 calls:
79.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
34.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series258.0ms

Counts
2 → 6
Calls
2 calls:
161.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
97.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify77.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0243819
1804784
22795760
35002747

prune196.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 13.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot (sqrt (+ (* x x) (* y y))) z)
0.4b
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
31.9b
(sqrt (+ (* x x) (* y y)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×sqrt-prod
16×associate-*r*
14×*-un-lft-identity
13×add-cube-cbrt
11×times-frac
pow1
add-exp-log add-cbrt-cube
unswap-sqr
expm1-log1p-u sqrt-div associate-*l* log1p-expm1-u add-log-exp
hypot-udef
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sqrt-unprod associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ hypot-def div-inv
Counts
3 → 66
Calls
3 calls:
0.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
19.0ms
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
8.0ms
(sqrt (+ (* x x) (* y y)))

series406.0ms

Counts
3 → 9
Calls
3 calls:
153.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
219.0ms
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
34.0ms
(sqrt (+ (* x x) (* y y)))

simplify129.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0247606
1745553
21939536
34658525
45001525

prune218.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot (hypot x y) z)
0.4b
(* (hypot (hypot x y) z) (sqrt (/ 1 3.0)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×associate-*r* sqrt-prod
12×*-un-lft-identity
11×add-cube-cbrt times-frac
pow1 add-exp-log add-cbrt-cube unswap-sqr
associate-*l*
expm1-log1p-u hypot-udef log1p-expm1-u add-log-exp
sqrt-unprod sqrt-div associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod div-inv
Counts
2 → 48
Calls
2 calls:
0.0ms
(hypot (hypot x y) z)
17.0ms
(* (hypot (hypot x y) z) (sqrt (/ 1 3.0)))

series424.0ms

Counts
2 → 6
Calls
2 calls:
180.0ms
(hypot (hypot x y) z)
244.0ms
(* (hypot (hypot x y) z) (sqrt (/ 1 3.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0161331
1493304
21218288
32234277
45002277

prune131.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084

end0.0ms

sample454.0ms

Algorithm
intervals
Results
243.0ms8000×body80valid