Details

Time bar (total: 3.1s)

sample15.0ms

Algorithm
intervals
Results
6.0ms307×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.6b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (* y z))
2.5b
(* x (- 1.0 (* y z)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
prod-diff
add-cube-cbrt *-un-lft-identity
distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube add-log-exp
sub-neg fma-neg associate-*r* associate-*l*
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 52
Calls
2 calls:
2.0ms
(- 1.0 (* y z))
8.0ms
(* x (- 1.0 (* y z)))

series73.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(- 1.0 (* y z))
51.0ms
(* x (- 1.0 (* y z)))

simplify91.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune110.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 2.5b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
4.1b
(* x (- (* y z)))

rewrite11.0ms

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

series84.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(+ (* x 1.0) (* x (- (* y z))))
25.0ms
(* x (- (* y z)))

simplify43.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0191224
11076197
25002193

prune151.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* y z))
2.5b
(* x (- 1.0 (* y z)))
52.4b
(fma (- z) y (* z y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube add-log-exp
expm1-log1p-u sub-neg fma-neg associate-*r* associate-*l* log1p-expm1-u
flip3-- associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 62
Calls
3 calls:
2.0ms
(- 1.0 (* y z))
8.0ms
(* x (- 1.0 (* y z)))
0.0ms
(fma (- z) y (* z y))

series102.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(- 1.0 (* y z))
48.0ms
(* x (- 1.0 (* y z)))
32.0ms
(fma (- z) y (* z y))

simplify79.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0185341
1721297
22920290
35001267

prune172.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z))))
2.6b
(cbrt (- 1.0 (* y z)))
2.6b
(cbrt (- 1.0 (* y z)))
2.6b
(cbrt (- 1.0 (* y z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
14.0ms
(* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z))))
1.0ms
(cbrt (- 1.0 (* y z)))
1.0ms
(cbrt (- 1.0 (* y z)))
2.0ms
(cbrt (- 1.0 (* y z)))

series905.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z))))
233.0ms
(cbrt (- 1.0 (* y z)))
221.0ms
(cbrt (- 1.0 (* y z)))
227.0ms
(cbrt (- 1.0 (* y z)))

simplify221.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03691126
114401071
250021010

prune373.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes211.0ms

Accuracy

97.2% (0.1b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample403.0ms

Algorithm
intervals
Results
202.0ms9656×body80valid