Details

Time bar (total: 6.2s)

sample40.0ms

Algorithm
intervals
Results
26.0ms458×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (19.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.9b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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))
11.0ms
(* x.re (- (* x.im x.im)))

series80.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune173.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

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

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

series78.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0186216
11009190
25002185

prune171.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- x.im)) (cbrt (- x.im)))
0.6b
(cbrt (- x.im))
0.6b
(cbrt (- x.im))
0.6b
(cbrt (- x.im))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
78×cbrt-prod
37×add-sqr-sqrt
33×*-un-lft-identity
29×add-cube-cbrt
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
15×swap-sqr
13×associate-*r* associate-*l*
11×pow1
pow1/3
neg-mul-1
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 125
Calls
4 calls:
20.0ms
(* (cbrt (- x.im)) (cbrt (- x.im)))
2.0ms
(cbrt (- x.im))
2.0ms
(cbrt (- x.im))
2.0ms
(cbrt (- x.im))

series787.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(* (cbrt (- x.im)) (cbrt (- x.im)))
192.0ms
(cbrt (- x.im))
189.0ms
(cbrt (- x.im))
194.0ms
(cbrt (- x.im))

simplify87.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0154726
1552685
22895633
35001611

prune715.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- x.im))
0.6b
(cbrt (cbrt (- x.im)))
0.6b
(cbrt (cbrt (- x.im)))
0.6b
(cbrt (cbrt (- x.im)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
79×cbrt-prod
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×distribute-lft-neg-in distribute-rgt-neg-in
pow1 add-exp-log expm1-log1p-u neg-mul-1 pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 89
Calls
4 calls:
2.0ms
(cbrt (- x.im))
2.0ms
(cbrt (cbrt (- x.im)))
2.0ms
(cbrt (cbrt (- x.im)))
3.0ms
(cbrt (cbrt (- x.im)))

series1.4s

Counts
4 → 12
Calls
4 calls:
193.0ms
(cbrt (- x.im))
509.0ms
(cbrt (cbrt (- x.im)))
361.0ms
(cbrt (cbrt (- x.im)))
316.0ms
(cbrt (cbrt (- x.im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
089550
1150524
2341516
31124516
45001516

prune865.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.0b

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

sample1.1s

Algorithm
intervals
Results
848.0ms14533×body80valid