Details

Time bar (total: 2.9s)

sample59.0ms

Algorithm
intervals
Results
48.0ms496×body80valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (19.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

series83.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune114.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

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

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

series83.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0151193
1780168
25001167

prune95.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
Counts
2 → 43
Calls
2 calls:
6.0ms
(* (* x.re x.im) x.im)
18.0ms
(* -3 (* (* x.re x.im) x.im))

series59.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0170195
1863159
25002159

prune90.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (* -3 (* x.re x.im)) x.im)
0.3b
(* -3 (* x.re x.im))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
Counts
2 → 43
Calls
2 calls:
18.0ms
(* (* -3 (* x.re x.im)) x.im)
9.0ms
(* -3 (* x.re x.im))

series46.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0174191
1898159
25001159

prune77.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes45.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.4s14564×body80valid