Details

Time bar (total: 2.6s)

sample33.0ms

Algorithm
intervals
Results
22.0ms476×body80valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune9.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: 8.6b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

series81.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(fma 3 (* x.re (- (* x.im x.im))) (pow x.re 3))
28.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

prune99.0ms

Filtered
40 candidates to 33 candidates (82.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New34640
Fresh011
Picked011
Done000
Total34842

Merged error: 0.1b

Counts
42 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

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

series78.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0151193
1780168
25001167

prune78.0ms

Filtered
37 candidates to 27 candidates (73.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New34337
Fresh246
Picked011
Done011
Total36945

Merged error: 0.0b

Counts
45 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x.re x.im) (* x.im x.re))
0.1b
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
8.1b
(* (- (* x.re x.re) (* x.im x.im)) x.re)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l*
associate-*r*
expm1-log1p-u flip3-- flip3-+ frac-sub flip-- flip-+ log1p-expm1-u
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative sub-neg fma-def fma-neg diff-log prod-diff sum-log difference-of-squares
Counts
4 → 79
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
7.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
6.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
6.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series148.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (* x.re x.im) (* x.im x.re))
52.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
28.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
48.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify74.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0434759
12133646
25001586

prune185.0ms

Filtered
91 candidates to 69 candidates (75.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New87491
Fresh336
Picked101
Done022
Total919100

Merged error: 0.0b

Counts
100 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x.re x.re) (* x.im x.im))
0.0b
(fma x.re x.im (* x.im x.re))
0.1b
(* (- (fma x.re x.im (* x.im x.re))) x.im)
8.1b
(fma (- (* x.re x.re) (* x.im x.im)) x.re (* (- (fma x.re x.im (* x.im x.re))) x.im))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt associate-*l*
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in associate-*r*
fma-udef
distribute-lft-neg-out neg-mul-1 sub-neg flip3-- fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative flip-- cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 65
Calls
4 calls:
4.0ms
(- (* x.re x.re) (* x.im x.im))
1.0ms
(fma x.re x.im (* x.im x.re))
5.0ms
(* (- (fma x.re x.im (* x.im x.re))) x.im)
1.0ms
(fma (- (* x.re x.re) (* x.im x.im)) x.re (* (- (fma x.re x.im (* x.im x.re))) x.im))

series183.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (* x.re x.re) (* x.im x.im))
31.0ms
(fma x.re x.im (* x.im x.re))
44.0ms
(* (- (fma x.re x.im (* x.im x.re))) x.im)
78.0ms
(fma (- (* x.re x.re) (* x.im x.im)) x.re (* (- (fma x.re x.im (* x.im x.re))) x.im))

simplify152.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0237424
1937378
24810375
35001375

prune151.0ms

Filtered
77 candidates to 60 candidates (77.9%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New76177
Fresh066
Picked011
Done022
Total761086

Merged error: 0.0b

Counts
86 → 10

regimes70.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b 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

sample896.0ms

Algorithm
intervals
Results
667.0ms14344×body80valid