Details

Time bar (total: 2.2s)

sample15.0ms

Algorithm
intervals
Results
6.0ms301×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 4.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (* y z))
4.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)))

series70.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune95.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)))

rewrite10.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)))

series86.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (43.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)

rewrite11.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:
59.0ms
(+ (* x 1.0) (* (* x (- y)) z))
25.0ms
(* (* x (- y)) z)

simplify40.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0213216
11002190
25002180

prune76.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

localize10.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)))

rewrite30.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)
15.0ms
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
9.0ms
(* (* x (- y)) (* (cbrt z) (cbrt z)))

series496.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt z)
164.0ms
(cbrt z)
48.0ms
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
115.0ms
(* (* x (- y)) (* (cbrt z) (cbrt z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0301643
11559483
25001432

prune167.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

regimes331.0ms

Accuracy

71% (1.3b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample377.0ms

Algorithm
intervals
Results
192.0ms9601×body80valid

Profiling

Loading profile data...