Details

Time bar (total: 3.2s)

sample30.0ms

Algorithm
intervals
Results
20.0ms256×body80valid

simplify12.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: 36.2b

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series244.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0223655
1877586
23651577
35001577

prune217.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 17.9b

localize12.0ms

Local error

Found 2 expressions with local error:

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

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

series296.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0243820
1804784
22795760
35002747

prune209.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 14.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.3b
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
29.6b
(sqrt (+ (* x x) (* y y)))

rewrite16.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:
11.0ms
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series300.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0244528
1742488
21936471
34655460
45001460

prune192.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite16.0ms

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

series285.0ms

Counts
1 → 3
Calls
1 calls:
285.0ms
(* (hypot (hypot x y) z) (sqrt (/ 1 3.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0156290
1490268
21216252
32232241
45003241

prune103.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes49.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
0135
1135

end0.0ms

sample738.0ms

Algorithm
intervals
Results
563.0ms8000×body80valid