Details

Time bar (total: 1.9s)

sample16.0ms

Algorithm
intervals
Results
7.0ms294×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0134
1243
2283
3303
4303

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (fma x y z) (/ x 2.0))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
fma-def add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ sum-log add-cbrt-cube flip-+ fma-udef log1p-expm1-u distribute-lft-out
Counts
1 → 18
Calls
1 calls:
6.0ms
(+ (fma x y z) (/ x 2.0))

series34.0ms

Counts
1 → 3
Calls
1 calls:
34.0ms
(+ (fma x y z) (/ x 2.0))

simplify34.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09590
130779
2128779
3500179

prune50.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (fma x y z))
0.0b
(sqrt (fma x y z))
0.1b
(fma (sqrt (fma x y z)) (sqrt (fma x y z)) (/ x 2.0))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
fma-udef
Counts
3 → 40
Calls
3 calls:
2.0ms
(sqrt (fma x y z))
1.0ms
(sqrt (fma x y z))
1.0ms
(fma (sqrt (fma x y z)) (sqrt (fma x y z)) (/ x 2.0))

series331.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(sqrt (fma x y z))
70.0ms
(sqrt (fma x y z))
191.0ms
(fma (sqrt (fma x y z)) (sqrt (fma x y z)) (/ x 2.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0168280
1503235
22023227
35002225

prune128.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (fma x y z)))
0.1b
(sqrt (sqrt (fma x y z)))
0.1b
(fma (sqrt (fma x y z)) (* (sqrt (sqrt (fma x y z))) (sqrt (sqrt (fma x y z)))) (/ x 2.0))
0.3b
(* (sqrt (sqrt (fma x y z))) (sqrt (sqrt (fma x y z))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
86×sqrt-prod
54×add-sqr-sqrt
40×sqrt-pow1
31×pow1
20×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u rem-sqrt-square log1p-expm1-u add-log-exp
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 129
Calls
4 calls:
2.0ms
(sqrt (sqrt (fma x y z)))
2.0ms
(sqrt (sqrt (fma x y z)))
1.0ms
(fma (sqrt (fma x y z)) (* (sqrt (sqrt (fma x y z))) (sqrt (sqrt (fma x y z)))) (/ x 2.0))
9.0ms
(* (sqrt (sqrt (fma x y z))) (sqrt (sqrt (fma x y z))))

series472.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(sqrt (sqrt (fma x y z)))
106.0ms
(sqrt (sqrt (fma x y z)))
185.0ms
(fma (sqrt (fma x y z)) (* (sqrt (sqrt (fma x y z))) (sqrt (sqrt (fma x y z)))) (/ x 2.0))
71.0ms
(* (sqrt (sqrt (fma x y z))) (sqrt (sqrt (fma x y z))))

simplify44.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0340800
11274681
25001653

prune259.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes53.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
083
183

end0.0ms

sample396.0ms

Algorithm
intervals
Results
211.0ms9168×body80valid
0.0msbody640valid