Details

Time bar (total: 2.8s)

sample20.0ms

Algorithm
intervals
Results
7.0ms327×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0193
1343
2533
3633
4643
5643

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
0.0b
(+ (* x (+ y z)) (* z 5.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in expm1-log1p-u associate-+l+ distribute-lft-in flip3-+ associate-*r/ flip-+ log1p-expm1-u
+-commutative fma-def pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
2 → 41
Calls
2 calls:
20.0ms
(* x (+ y z))
17.0ms
(+ (* x (+ y z)) (* z 5.0))

series60.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(* x (+ y z))
29.0ms
(+ (* x (+ y z)) (* z 5.0))

simplify141.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0227194
11011179
24711179
35001179

prune110.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x z (* x y))
0.0b
(+ (pow (fma x z (* x y)) 1) (* z 5.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
unpow-prod-down
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative flip3-+ sum-log flip-+ fma-udef sqr-pow
Counts
2 → 30
Calls
2 calls:
0.0ms
(fma x z (* x y))
13.0ms
(+ (pow (fma x z (* x y)) 1) (* z 5.0))

series76.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(fma x z (* x y))
35.0ms
(+ (pow (fma x z (* x y)) 1) (* z 5.0))

simplify95.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0122156
1536138
22444136
35001135

prune114.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x z (* x y))
0.0b
(fma 5.0 z (fma x z (* x y)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma x z (* x y))
0.0ms
(fma 5.0 z (fma x z (* x y)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(fma x z (* x y))
38.0ms
(fma 5.0 z (fma x z (* x y)))

simplify87.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
045101
112689
252989
3292289
4500189

prune75.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (fma x z (* x y)) 3)
0.3b
(pow (fma x z (* x y)) 2)
5.0b
(fma (pow 5.0 3) (pow z 3) (pow (fma x z (* x y)) 3))
36.6b
(/ (fma (pow 5.0 3) (pow z 3) (pow (fma x z (* x y)) 3)) (fma (* z 5.0) (- (* z 5.0) (fma x z (* x y))) (pow (fma x z (* x y)) 2)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log
add-cbrt-cube
pow1 unpow-prod-down pow-unpow
expm1-log1p-u log1p-expm1-u add-log-exp
cube-prod associate-/r* associate-/l*
pow-to-exp pow-pow pow-exp sqr-pow
cbrt-undiv cube-mult frac-2neg unpow3 div-exp clear-num fma-udef div-inv unpow2 rem-cube-cbrt
Counts
4 → 84
Calls
4 calls:
3.0ms
(pow (fma x z (* x y)) 3)
2.0ms
(pow (fma x z (* x y)) 2)
0.0ms
(fma (pow 5.0 3) (pow z 3) (pow (fma x z (* x y)) 3))
5.0ms
(/ (fma (pow 5.0 3) (pow z 3) (pow (fma x z (* x y)) 3)) (fma (* z 5.0) (- (* z 5.0) (fma x z (* x y))) (pow (fma x z (* x y)) 2)))

series492.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(pow (fma x z (* x y)) 3)
36.0ms
(pow (fma x z (* x y)) 2)
112.0ms
(fma (pow 5.0 3) (pow z 3) (pow (fma x z (* x y)) 3))
275.0ms
(/ (fma (pow 5.0 3) (pow z 3) (pow (fma x z (* x y)) 3)) (fma (* z 5.0) (- (* z 5.0) (fma x z (* x y))) (pow (fma x z (* x y)) 2)))

simplify66.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
03231107
114201002
25001991

prune363.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes337.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample510.0ms

Algorithm
intervals
Results
217.0ms9767×body80valid
11.0ms118×body1280valid
8.0ms103×body640valid
3.0ms51×body320valid
1.0ms30×body160valid