Details

Time bar (total: 2.7s)

sample18.0ms

Algorithm
intervals
Results
6.0ms321×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.4b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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:
6.0ms
(- 1.0 (* y z))
18.0ms
(* x (- 1.0 (* y z)))

series76.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune107.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.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:
9.0ms
(+ (* x 1.0) (* x (- (* y z))))
12.0ms
(* x (- (* y z)))

series86.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0191224
11076197
25002193

prune106.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.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:
30.0ms
(* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z))))
3.0ms
(cbrt (- 1.0 (* y z)))
3.0ms
(cbrt (- 1.0 (* y z)))
3.0ms
(cbrt (- 1.0 (* y z)))

series908.0ms

Counts
4 → 12
Calls
4 calls:
226.0ms
(* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z))))
228.0ms
(cbrt (- 1.0 (* y z)))
221.0ms
(cbrt (- 1.0 (* y z)))
234.0ms
(cbrt (- 1.0 (* y z)))

simplify47.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03691126
114401071
250021010

prune305.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

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

series86.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0213216
11002190
25002180

prune83.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes149.0ms

Accuracy

50.3% (1.6b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03011
14311
24711
34711

end0.0ms

sample447.0ms

Algorithm
intervals
Results
184.0ms9585×body80valid