Details

Time bar (total: 4.1s)

sample26.0ms

Algorithm
intervals
Results
16.0ms457×body80valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (17.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.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))
9.9b
(* 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)))

series84.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune111.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

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

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

series84.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0186216
11009190
25001185

prune116.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
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 → 81
Calls
4 calls:
6.0ms
(* (cbrt x.im) (cbrt x.im))
0.0ms
(cbrt x.im)
0.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)

series856.0ms

Counts
4 → 12
Calls
4 calls:
323.0ms
(* (cbrt x.im) (cbrt x.im))
175.0ms
(cbrt x.im)
182.0ms
(cbrt x.im)
175.0ms
(cbrt x.im)

simplify88.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune282.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.im)
0.6b
(cbrt x.im)
0.6b
(cbrt (* (cbrt x.im) (cbrt x.im)))
0.7b
(cbrt (cbrt x.im))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 53
Calls
4 calls:
0.0ms
(cbrt x.im)
0.0ms
(cbrt x.im)
3.0ms
(cbrt (* (cbrt x.im) (cbrt x.im)))
1.0ms
(cbrt (cbrt x.im))

series879.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt x.im)
176.0ms
(cbrt x.im)
277.0ms
(cbrt (* (cbrt x.im) (cbrt x.im)))
245.0ms
(cbrt (cbrt x.im))

simplify103.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (99.0ms)

IterNodesCost
0112239
1242219
2759209
33150209
45001204

prune244.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 0.0b

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

sample731.0ms

Algorithm
intervals
Results
508.0ms14459×body80valid