Details

Time bar (total: 2.9s)

sample31.0ms

Algorithm
intervals
Results
20.0ms453×body80valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (17.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune10.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: 6.8b

Counts
2 → 2

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.5b
(* 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)))

simplify136.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (132.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

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

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)

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

series85.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0151193
1780168
25001167

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

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* (* x.re (- x.im)) x.im)) (cbrt (* (* x.re (- x.im)) x.im)))
23.7b
(cbrt (* (* x.re (- x.im)) x.im))
23.7b
(cbrt (* (* x.re (- x.im)) x.im))
23.7b
(cbrt (* (* x.re (- x.im)) x.im))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 66
Calls
4 calls:
6.0ms
(* (cbrt (* (* x.re (- x.im)) x.im)) (cbrt (* (* x.re (- x.im)) x.im)))
4.0ms
(cbrt (* (* x.re (- x.im)) x.im))
4.0ms
(cbrt (* (* x.re (- x.im)) x.im))
4.0ms
(cbrt (* (* x.re (- x.im)) x.im))

series443.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (cbrt (* (* x.re (- x.im)) x.im)) (cbrt (* (* x.re (- x.im)) x.im)))
103.0ms
(cbrt (* (* x.re (- x.im)) x.im))
102.0ms
(cbrt (* (* x.re (- x.im)) x.im))
103.0ms
(cbrt (* (* x.re (- x.im)) x.im))

simplify100.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0218569
1732500
23403434
35002428

prune228.0ms

Filtered
78 candidates to 64 candidates (82.1%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New77178
Fresh066
Picked011
Done022
Total771087

Merged error: 0.0b

Counts
87 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.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*
flip3-- flip--
expm1-log1p-u frac-sub log1p-expm1-u
flip3-+ flip-+
sub-neg fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 82
Calls
4 calls:
4.0ms
(- (* x.re x.re) (* x.im x.im))
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)
10.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series170.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* x.re x.re) (* x.im x.im))
52.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
35.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
46.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify71.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0443778
12210681
25001613

prune198.0ms

Filtered
94 candidates to 75 candidates (79.8%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New90494
Fresh336
Picked101
Done033
Total9410104

Merged error: 0.0b

Counts
104 → 10

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

sample864.0ms

Algorithm
intervals
Results
644.0ms14441×body80valid