Details

Time bar (total: 3.9s)

sample26.0ms

Algorithm
intervals
Results
15.0ms447×body80valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (22.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.1b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
6.9b
(* x.re (- (* x.im x.im)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
40×associate-*r*
20×add-sqr-sqrt
15×distribute-lft-neg-in distribute-rgt-neg-in
14×add-cube-cbrt *-un-lft-identity
associate-*l*
swap-sqr
pow1 add-exp-log add-cbrt-cube
*-commutative unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
neg-mul-1 pow-prod-down prod-exp distribute-rgt-neg-out cbrt-unprod fma-udef
Counts
2 → 62
Calls
2 calls:
1.0ms
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
10.0ms
(* x.re (- (* x.im x.im)))

series93.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
34.0ms
(* x.re (- (* x.im x.im)))

simplify46.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0242283
11161255
25002246

prune130.0ms

Filtered
68 candidates to 49 candidates (72.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New59968
Fresh011
Picked101
Done000
Total601070

Merged error: 0.1b

Counts
70 → 10

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))
0.2b
(* (* x.re (- x.im)) x.im)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
22×associate-*l*
15×add-sqr-sqrt
13×associate-*r*
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
unswap-sqr
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
distribute-lft-neg-out neg-mul-1 distribute-rgt-neg-out fma-udef
Counts
2 → 51
Calls
2 calls:
1.0ms
(fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))
12.0ms
(* (* x.re (- x.im)) x.im)

series90.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))
30.0ms
(* (* x.re (- x.im)) x.im)

simplify37.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0202265
1872240
25001239

prune124.0ms

Filtered
57 candidates to 45 candidates (78.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New50757
Fresh639
Picked011
Done000
Total561167

Merged error: 0.0b

Counts
67 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x.im) (cbrt x.im))
0.6b
(cbrt x.im)
0.6b
(cbrt x.im)
0.6b
(cbrt x.im)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-cbrt-cube
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative
Counts
4 → 84
Calls
4 calls:
9.0ms
(* (cbrt x.im) (cbrt x.im))
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)

series763.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(* (cbrt x.im) (cbrt x.im))
190.0ms
(cbrt x.im)
183.0ms
(cbrt x.im)
185.0ms
(cbrt x.im)

simplify94.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0128331
1526287
23251261
35002258

prune232.0ms

Filtered
96 candidates to 72 candidates (75.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New94296
Fresh189
Picked011
Done011
Total9512107

Merged error: 0.0b

Counts
107 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* x.re (- x.im))) (cbrt (* x.re (- x.im))))
11.8b
(cbrt (* x.re (- x.im)))
11.8b
(cbrt (* x.re (- x.im)))
11.8b
(cbrt (* x.re (- x.im)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
153×cbrt-prod
96×associate-*r*
81×add-sqr-sqrt
51×*-un-lft-identity
45×associate-*l*
43×add-cube-cbrt
26×swap-sqr
23×distribute-rgt-neg-in
22×unswap-sqr
21×distribute-lft-neg-in
11×pow1
pow1/3
*-commutative add-cbrt-cube
neg-mul-1
add-exp-log
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp
Counts
4 → 189
Calls
4 calls:
20.0ms
(* (cbrt (* x.re (- x.im))) (cbrt (* x.re (- x.im))))
5.0ms
(cbrt (* x.re (- x.im)))
5.0ms
(cbrt (* x.re (- x.im)))
6.0ms
(cbrt (* x.re (- x.im)))

series463.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(* (cbrt (* x.re (- x.im))) (cbrt (* x.re (- x.im))))
102.0ms
(cbrt (* x.re (- x.im)))
106.0ms
(cbrt (* x.re (- x.im)))
106.0ms
(cbrt (* x.re (- x.im)))

simplify59.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03701580
113801490
250011384

prune474.0ms

Filtered
201 candidates to 148 candidates (73.6%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New2001201
Fresh189
Picked011
Done022
Total20112213

Merged error: 0.0b

Counts
213 → 12

regimes129.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1205
2235
3235

end0.0ms

sample915.0ms

Algorithm
intervals
Results
694.0ms14321×body80valid