Details

Time bar (total: 4.2s)

sample44.0ms

Algorithm
intervals
Results
30.0ms487×body80valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.0ms)

IterNodesCost
0249
1619
21688
34836
414185
538575
650015

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

series18.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0129200
1707179
24464174
35001173

prune259.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

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

series18.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0151193
1780168
25001167

prune250.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.1b

localize11.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)))
22.1b
(cbrt (* (* x.re (- x.im)) x.im))
22.1b
(cbrt (* (* x.re (- x.im)) x.im))
22.1b
(cbrt (* (* x.re (- x.im)) x.im))

rewrite31.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:
8.0ms
(* (cbrt (* (* x.re (- x.im)) x.im)) (cbrt (* (* x.re (- x.im)) x.im)))
7.0ms
(cbrt (* (* x.re (- x.im)) x.im))
7.0ms
(cbrt (* (* x.re (- x.im)) x.im))
7.0ms
(cbrt (* (* x.re (- x.im)) x.im))

series98.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (cbrt (* (* x.re (- x.im)) x.im)) (cbrt (* (* x.re (- x.im)) x.im)))
22.0ms
(cbrt (* (* x.re (- x.im)) x.im))
22.0ms
(cbrt (* (* x.re (- x.im)) x.im))
25.0ms
(cbrt (* (* x.re (- x.im)) x.im))

simplify99.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0218569
1732500
23403434
35002428

prune733.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.im)
11.2b
(cbrt (* x.re (- x.im)))
22.1b
(cbrt (* (* x.re (- x.im)) x.im))
22.1b
(cbrt (* (* x.re (- x.im)) x.im))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
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 → 46
Calls
4 calls:
0.0ms
(cbrt x.im)
2.0ms
(cbrt (* x.re (- x.im)))
7.0ms
(cbrt (* (* x.re (- x.im)) x.im))
7.0ms
(cbrt (* (* x.re (- x.im)) x.im))

series74.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(cbrt x.im)
17.0ms
(cbrt (* x.re (- x.im)))
22.0ms
(cbrt (* (* x.re (- x.im)) x.im))
22.0ms
(cbrt (* (* x.re (- x.im)) x.im))

simplify107.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0178295
1391267
21127239
33957239
45001239

prune640.0ms

Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 0.0b

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

sample1.1s

Algorithm
intervals
Results
903.0ms14659×body80valid