Details

Time bar (total: 2.2s)

sample26.0ms

Algorithm
intervals
Results
16.0ms456×body80valid

simplify96.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Merged error: 8.4b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series81.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (135.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune107.0ms

Filtered
40 candidates to 33 candidates (82.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series80.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0186216
11009190
25001185

prune107.0ms

Filtered
44 candidates to 31 candidates (70.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u
*-commutative
+-commutative fma-def flip3-+ sum-log flip-+
Counts
3 → 57
Calls
3 calls:
18.0ms
(+ (* -3 (* (* x.re x.im) x.im)) (pow x.re 3))
16.0ms
(* -3 (* (* x.re x.im) x.im))
6.0ms
(* (* x.re x.im) x.im)

series111.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(+ (* -3 (* (* x.re x.im) x.im)) (pow x.re 3))
29.0ms
(* -3 (* (* x.re x.im) x.im))
28.0ms
(* (* x.re x.im) x.im)

simplify48.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0250315
11319274
25001269

prune125.0ms

Filtered
66 candidates to 42 candidates (63.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u
*-commutative
+-commutative fma-def flip3-+ sum-log flip-+
Counts
3 → 57
Calls
3 calls:
21.0ms
(+ (* (* -3 (* x.re x.im)) x.im) (pow x.re 3))
17.0ms
(* (* -3 (* x.re x.im)) x.im)
6.0ms
(* -3 (* x.re x.im))

series99.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(+ (* (* -3 (* x.re x.im)) x.im) (pow x.re 3))
29.0ms
(* (* -3 (* x.re x.im)) x.im)
17.0ms
(* -3 (* x.re x.im))

simplify52.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0254311
11387275
25002269

prune110.0ms

Filtered
66 candidates to 40 candidates (60.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

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

sample734.0ms

Algorithm
intervals
Results
507.0ms14544×body80valid