Details

Time bar (total: 3.2s)

sample26.0ms

Algorithm
intervals
Results
16.0ms451×body80valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.6b

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
5.3b
(* 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:
0.0ms
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
4.0ms
(* x.re (- (* x.im x.im)))

series84.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune115.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
8.0ms
(* (* x.re x.im) (- x.im))
0.0ms
(fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))

series85.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0186216
11009190
25002185

prune115.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (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)))) (cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))))
16.5b
(cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3)))
16.5b
(cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3)))
16.5b
(cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
23×pow1
13×cbrt-prod
12×pow1/3
11×add-sqr-sqrt
add-exp-log add-cube-cbrt *-un-lft-identity pow-prod-up
pow-plus associate-*r*
pow-prod-down add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
prod-exp pow-sqr cbrt-unprod
pow2 unswap-sqr
associate-*l* pow3 *-commutative
Counts
4 → 76
Calls
4 calls:
13.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)))) (cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))))
0.0ms
(cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3)))
0.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)))

series477.0ms

Counts
4 → 12
Calls
4 calls:
52.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)))) (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)))
138.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)))

simplify46.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
01871034
1705842
25002726

prune274.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×pow1 add-exp-log associate-*r*
cbrt-prod add-cbrt-cube
unpow-prod-down cube-prod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in pow-unpow distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod
pow-pow pow1/3
cube-mult pow-to-exp neg-mul-1 unpow3 associate-*l* pow-exp *-commutative distribute-rgt-neg-out fma-udef rem-cube-cbrt sqr-pow
Counts
4 → 83
Calls
4 calls:
8.0ms
(* (* x.re x.im) (- x.im))
0.0ms
(fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))
2.0ms
(pow (cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))) 3)
1.0ms
(cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3)))

series412.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (* x.re x.im) (- x.im))
56.0ms
(fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))
185.0ms
(pow (cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3))) 3)
142.0ms
(cbrt (fma 3 (* (* x.re x.im) (- x.im)) (pow x.re 3)))

simplify60.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0327652
11669573
25001559

prune212.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 0.0b

regimes144.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
520.0ms14413×body80valid