Details

Time bar (total: 2.3s)

sample15.0ms

Algorithm
intervals
Results
6.0ms299×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: 2.9b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

2.7b
(* x (- 1.0 (* y z)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
72×prod-diff
64×add-sqr-sqrt
49×*-un-lft-identity
45×add-cube-cbrt
38×distribute-rgt-in distribute-lft-in
25×associate-*r*
22×associate-*l*
unswap-sqr
*-commutative
pow1 add-exp-log add-cbrt-cube
sub-neg associate-*r/ distribute-lft-out-- difference-of-squares
expm1-log1p-u flip3-- pow-prod-down prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp
Counts
1 → 102
Calls
1 calls:
13.0ms
(* x (- 1.0 (* y z)))

series54.0ms

Counts
1 → 3
Calls
1 calls:
54.0ms
(* x (- 1.0 (* y z)))

simplify54.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04301388
11545899
25001872

prune79.0ms

Filtered
105 candidates to 27 candidates (25.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New969105
Fresh000
Picked101
Done000
Total979106

Merged error: 2.2b

Counts
106 → 9

localize14.0ms

Local error

Found 2 expressions with local error:

2.7b
(* x (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* z y))))
54.4b
(fma (- z) y (* z y))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l* fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 32
Calls
2 calls:
4.0ms
(* x (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* z y))))
1.0ms
(fma (- z) y (* z y))

series150.0ms

Counts
2 → 6
Calls
2 calls:
122.0ms
(* x (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* z y))))
28.0ms
(fma (- z) y (* z y))

simplify54.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0108301
1428250
21716234
35002199

prune109.0ms

Filtered
38 candidates to 31 candidates (81.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New35338
Fresh358
Picked011
Done000
Total38947

Merged error: 2.2b

Counts
47 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
43×associate-*r*
27×*-un-lft-identity
23×add-sqr-sqrt
21×associate-*l*
15×add-cube-cbrt
14×distribute-rgt-neg-in
12×distribute-lft-neg-in fma-def
10×distribute-lft-out
*-commutative
pow1 add-exp-log add-cbrt-cube add-log-exp unswap-sqr
distribute-rgt-neg-out
expm1-log1p-u log1p-expm1-u
+-commutative neg-mul-1 distribute-rgt-out flip3-+ unsub-neg pow-prod-down prod-exp sum-log cbrt-unprod flip-+
Counts
2 → 84
Calls
2 calls:
32.0ms
(+ (* x 1.0) (* x (- (* y z))))
10.0ms
(* x (- (* y z)))

series91.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0296327
11487294
25002291

prune133.0ms

Filtered
90 candidates to 68 candidates (75.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New86490
Fresh707
Picked101
Done011
Total94599

Merged error: 0.0b

Counts
99 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

1.9b
(* x (- (* (cbrt (* y z)) (cbrt (* y z)))))
8.8b
(cbrt (* y z))
8.8b
(cbrt (* y z))
8.8b
(cbrt (* y z))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
189×associate-*r*
164×cbrt-prod
121×add-sqr-sqrt
70×associate-*l*
61×distribute-lft-neg-in distribute-rgt-neg-in
57×*-un-lft-identity
49×add-cube-cbrt
42×unswap-sqr
34×swap-sqr
14×*-commutative
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3
neg-mul-1 pow-prod-down prod-exp distribute-rgt-neg-out cbrt-unprod
Counts
4 → 210
Calls
4 calls:
40.0ms
(* x (- (* (cbrt (* y z)) (cbrt (* y z)))))
4.0ms
(cbrt (* y z))
4.0ms
(cbrt (* y z))
4.0ms
(cbrt (* y z))

series298.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* x (- (* (cbrt (* y z)) (cbrt (* y z)))))
71.0ms
(cbrt (* y z))
66.0ms
(cbrt (* y z))
74.0ms
(cbrt (* y z))

simplify82.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07211374
128251312
250021212

prune450.0ms

Filtered
222 candidates to 167 candidates (75.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2220222
Fresh033
Picked011
Done011
Total2225227

Merged error: 0.0b

Counts
227 → 5

regimes115.0ms

Accuracy

97.1% (0.1b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04525
16325
26925
36925

end0.0ms

sample373.0ms

Algorithm
intervals
Results
191.0ms9584×body80valid