Details

Time bar (total: 2.9s)

sample18.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0146
1256
2316
3326
4326

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.9b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.0b
(+ (* x x) (* y y))
36.9b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 fma-def sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 hypot-def
Counts
3 → 50
Calls
3 calls:
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
4.0ms
(+ (* x x) (* y y))
6.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series195.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(+ (+ (* x x) (* y y)) (* z z))
35.0ms
(+ (* x x) (* y y))
118.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify115.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0225355
11043323
23749312
35001309

prune195.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 16.7b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(hypot (sqrt (+ (* x x) (* y y))) z)
35.0b
(sqrt (+ (* x x) (* y y)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u sqrt-prod add-cbrt-cube log1p-expm1-u
flip3-+ sqrt-div flip-+
+-commutative rem-sqrt-square hypot-udef fma-def sqrt-pow1 pow1/2 sum-log hypot-def
Counts
3 → 42
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
1.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
4.0ms
(sqrt (+ (* x x) (* y y)))

series260.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ (* x x) (* y y))
188.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
41.0ms
(sqrt (+ (* x x) (* y y)))

simplify75.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0152254
1617227
21802223
35002221

prune158.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(hypot (hypot x y) z)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt hypot-udef *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(hypot (hypot x y) z)

series217.0ms

Counts
1 → 3
Calls
1 calls:
217.0ms
(hypot (hypot x y) z)

simplify125.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
02441
12736
23136
33636
45536
510936
651536
7168936
8500136

prune38.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot (hypot x y) z)
0.0b
(hypot (hypot x y) z)
0.5b
(* (sqrt (hypot (hypot x y) z)) (sqrt (hypot (hypot x y) z)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
18×pow1 sqrt-prod
11×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2 swap-sqr
associate-*r* associate-*l*
add-exp-log pow-prod-up add-cbrt-cube
unswap-sqr
expm1-log1p-u pow-prod-down pow-sqr log1p-expm1-u add-log-exp
hypot-udef
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
3 → 71
Calls
3 calls:
1.0ms
(hypot (hypot x y) z)
1.0ms
(hypot (hypot x y) z)
7.0ms
(* (sqrt (hypot (hypot x y) z)) (sqrt (hypot (hypot x y) z)))

series633.0ms

Counts
3 → 9
Calls
3 calls:
211.0ms
(hypot (hypot x y) z)
211.0ms
(hypot (hypot x y) z)
211.0ms
(* (sqrt (hypot (hypot x y) z)) (sqrt (hypot (hypot x y) z)))

simplify124.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0104318
1375275
22208261
35001248

prune187.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes48.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
052

end0.0ms

sample423.0ms

Algorithm
intervals
Results
256.0ms8000×body80valid