Details

Time bar (total: 3.5s)

sample32.0ms

Algorithm
intervals
Results
21.0ms459×body80valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.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.4b

Counts
2 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
8.1b
(* 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)))

series86.0ms

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

simplify140.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (136.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune103.0ms

Filtered
40 candidates to 33 candidates (82.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New34640
Fresh011
Picked101
Done000
Total35742

Merged error: 0.1b

Counts
42 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-out associate-*l* *-commutative distribute-rgt-neg-out fma-udef
Counts
2 → 31
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))

series85.0ms

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

simplify31.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0151193
1780168
25001168

prune88.0ms

Filtered
37 candidates to 27 candidates (73.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New32537
Fresh336
Picked011
Done000
Total35944

Merged error: 0.1b

Counts
44 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))) (cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))))
13.0b
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
13.0b
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
13.0b
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))

rewrite11.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-exp-log swap-sqr associate-*r* associate-*l*
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 → 81
Calls
4 calls:
5.0ms
(* (cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))) (cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))))
1.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
1.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
1.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))

series552.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))) (cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3))))
144.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
140.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
145.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))

simplify83.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
01611053
1518960
22570873
35001862

prune260.0ms

Filtered
93 candidates to 71 candidates (76.3%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New87693
Fresh257
Picked011
Done011
Total8913102

Merged error: 0.0b

Counts
102 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
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
Counts
4 → 52
Calls
4 calls:
1.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
1.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
1.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
1.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))

series575.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
140.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
144.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))
143.0ms
(cbrt (fma 3 (* (* x.re (- x.im)) x.im) (pow x.re 3)))

simplify48.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (41.0ms)

IterNodesCost
079564
1164512
2443500
31255488
45001480

prune233.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New63164
Fresh01010
Picked101
Done022
Total641377

Merged error: 0.0b

Counts
77 → 13

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

sample885.0ms

Algorithm
intervals
Results
667.0ms14305×body80valid