Details

Time bar (total: 3.1s)

sample18.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify11.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: 37.1b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite50.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:
34.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
15.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series239.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0223655
1877586
23651577
35001577

prune241.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 16.6b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite67.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:
48.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
16.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series299.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0243819
1804784
22795760
35002747

prune211.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 12.3b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

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

series297.0ms

Counts
2 → 6
Calls
2 calls:
258.0ms
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
39.0ms
(sqrt (+ (* x x) (* y y)))

simplify139.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0244528
1742488
21936471
34655460
45001460

prune203.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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 x y)
12.0ms
(* (hypot (hypot x y) z) (sqrt (/ 1 3.0)))

series324.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0172317
1506292
21233276
32254265
45002265

prune155.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes73.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample449.0ms

Algorithm
intervals
Results
277.0ms8000×body80valid