Details

Time bar (total: 2.6s)

sample16.0ms

Algorithm
intervals
Results
6.0ms309×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.9b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
3.0ms
(- 1.0 (* y z))
5.0ms
(* x (- 1.0 (* y z)))

series68.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune96.0ms

Filtered
58 candidates to 36 candidates (62.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New49958
Fresh000
Picked101
Done000
Total50959

Merged error: 3.7b

Counts
59 → 9

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* y z))
3.6b
(* x (- 1.0 (* y z)))
51.2b
(fma (- z) y (* z y))

rewrite15.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:
7.0ms
(- 1.0 (* y z))
6.0ms
(* x (- 1.0 (* y z)))
1.0ms
(fma (- z) y (* z y))

series98.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(- 1.0 (* y z))
46.0ms
(* x (- 1.0 (* y z)))
26.0ms
(fma (- z) y (* z y))

simplify80.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0185341
1721297
22920290
35001267

prune141.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New71071
Fresh088
Picked011
Done000
Total71980

Merged error: 3.7b

Counts
80 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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:
4.0ms
(+ (* x 1.0) (* x (- (* y z))))
5.0ms
(* x (- (* y z)))

series87.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0191224
11076197
25002193

prune93.0ms

Filtered
47 candidates to 38 candidates (80.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New46147
Fresh347
Picked011
Done011
Total49756

Merged error: 0.0b

Counts
56 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

3.6b
(* x (* (* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z)))) (cbrt (- 1.0 (* y z)))))
3.8b
(cbrt (- 1.0 (* y z)))
3.8b
(cbrt (- 1.0 (* y z)))
3.8b
(cbrt (- 1.0 (* y z)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
34×associate-*r/
30×flip3-- flip--
28×frac-times
14×associate-*l/
13×pow1 add-exp-log
cbrt-prod add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*l*
associate-*r* *-commutative
Counts
4 → 94
Calls
4 calls:
17.0ms
(* x (* (* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z)))) (cbrt (- 1.0 (* y z)))))
3.0ms
(cbrt (- 1.0 (* y z)))
2.0ms
(cbrt (- 1.0 (* y z)))
2.0ms
(cbrt (- 1.0 (* y z)))

series728.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* x (* (* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z)))) (cbrt (- 1.0 (* y z)))))
230.0ms
(cbrt (- 1.0 (* y z)))
222.0ms
(cbrt (- 1.0 (* y z)))
229.0ms
(cbrt (- 1.0 (* y z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04581353
113571249
250011120

prune248.0ms

Filtered
106 candidates to 82 candidates (77.4%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1060106
Fresh044
Picked011
Done022
Total1067113

Merged error: 0.0b

Counts
113 → 7

regimes257.0ms

Accuracy

95.5% (0.1b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
14315
24615
34615

end0.0ms

sample398.0ms

Algorithm
intervals
Results
193.0ms9576×body80valid