Details

Time bar (total: 3.7s)

sample19.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0167
1277
2337
3347
4347

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×times-frac
18×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
pow1
expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
rem-sqrt-square flip3-+ flip-+ div-inv associate-/l/
cbrt-undiv +-commutative fma-def frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num sum-log
Counts
3 → 72
Calls
3 calls:
3.0ms
(+ (* x x) (* y y))
30.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
17.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series281.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x x) (* y y))
57.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
194.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify141.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0310729
11303650
24811634
35001634

prune261.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.5b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite64.0ms

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

series331.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ (* x x) (* y y))
183.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
116.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0333887
11288848
25001821

prune262.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 13.9b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series525.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
29.0ms
(+ (* x x) (* y y))
259.0ms
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
43.0ms
(sqrt (+ (* x x) (* y y)))

simplify118.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0285679
11102617
24026596
35001595

prune290.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)))

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

series479.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0161331
1493304
21218288
32234277
45002277

prune147.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes57.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

sample438.0ms

Algorithm
intervals
Results
266.0ms8000×body80valid