Details

Time bar (total: 2.3s)

sample27.0ms

Algorithm
intervals
Results
11.0ms301×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune3.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: 4.9b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series71.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune97.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: 4.7b

Counts
59 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
8.1b
(* 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)))

series83.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0191224
11076197
25002193

prune87.0ms

Filtered
47 candidates to 38 candidates (80.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New45247
Fresh448
Picked011
Done000
Total49756

Merged error: 0.0b

Counts
56 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series83.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0213216
11002190
25002180

prune83.0ms

Filtered
43 candidates to 33 candidates (76.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New41243
Fresh055
Picked011
Done011
Total41950

Merged error: 0.0b

Counts
50 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.9b
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
4.2b
(* (* x (- y)) (* (cbrt z) (cbrt z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
34×pow1 add-exp-log
21×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-out
pow1/3 associate-*l* *-commutative distribute-rgt-neg-out
Counts
4 → 84
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
12.0ms
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
10.0ms
(* (* x (- y)) (* (cbrt z) (cbrt z)))

series528.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt z)
179.0ms
(cbrt z)
46.0ms
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
121.0ms
(* (* x (- y)) (* (cbrt z) (cbrt z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0301643
11559483
25001432

prune172.0ms

Filtered
96 candidates to 64 candidates (66.7%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New93396
Fresh156
Picked011
Done022
Total9411105

Merged error: 0.0b

Counts
105 → 11

regimes382.0ms

Accuracy

71% (1.3b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample381.0ms

Algorithm
intervals
Results
194.0ms9601×body80valid

Profiling

Loading profile data...