Details

Time bar (total: 4.2s)

sample27.0ms

Algorithm
intervals
Results
16.0ms447×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (19.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune7.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: 7.6b

Counts
2 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.0ms

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

series85.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (135.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune117.0ms

Filtered
40 candidates to 33 candidates (82.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New35540
Fresh011
Picked011
Done000
Total35742

Merged error: 0.1b

Counts
42 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

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

series86.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0186216
11009190
25002185

prune116.0ms

Filtered
44 candidates to 32 candidates (72.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New39544
Fresh325
Picked011
Done011
Total42951

Merged error: 0.1b

Counts
51 → 9

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
78×cbrt-prod
37×add-sqr-sqrt
33×*-un-lft-identity
29×add-cube-cbrt
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
15×swap-sqr
13×associate-*r* associate-*l*
11×pow1
pow1/3
neg-mul-1
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 125
Calls
4 calls:
10.0ms
(* (cbrt (- x.im)) (cbrt (- x.im)))
2.0ms
(cbrt (- x.im))
2.0ms
(cbrt (- x.im))
2.0ms
(cbrt (- x.im))

series921.0ms

Counts
4 → 12
Calls
4 calls:
219.0ms
(* (cbrt (- x.im)) (cbrt (- x.im)))
180.0ms
(cbrt (- x.im))
188.0ms
(cbrt (- x.im))
334.0ms
(cbrt (- x.im))

simplify88.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0154726
1552685
22895633
35001611

prune405.0ms

Filtered
137 candidates to 101 candidates (73.7%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1361137
Fresh066
Picked011
Done022
Total13610146

Merged error: 0.1b

Counts
146 → 10

localize23.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- x.im))
0.6b
(cbrt x.im)
0.6b
(cbrt x.im)
0.6b
(cbrt x.im)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
19×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
neg-mul-1
Counts
4 → 59
Calls
4 calls:
2.0ms
(cbrt (- x.im))
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)
2.0ms
(cbrt x.im)

series717.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(cbrt (- x.im))
180.0ms
(cbrt x.im)
175.0ms
(cbrt x.im)
175.0ms
(cbrt x.im)

simplify52.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
072223
1154209
2367201
31328201
45001201

prune308.0ms

Filtered
71 candidates to 62 candidates (87.3%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New70171
Fresh156
Picked101
Done033
Total72981

Merged error: 0.1b

Counts
81 → 9

regimes105.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
1165
2225
3225

end0.0ms

sample748.0ms

Algorithm
intervals
Results
525.0ms14341×body80valid