Details

Time bar (total: 4.7s)

analyze354.0ms (7.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%37.5%12.6%7
50%37.5%12.6%8
50%31.2%18.8%9
50%31.2%18.8%10
50%28.1%22%11
50%28.1%22%12
50%26.5%23.5%13
50%26.5%23.5%14
Compiler

Compiled 12 to 11 computations (8.3% saved)

sample75.0ms (1.6%)

Algorithm
intervals
Results
25.0ms61×body1024valid
15.0ms57×body1024invalid
9.0ms148×body128valid
5.0ms31×body512invalid
5.0ms27×body512valid
3.0ms20×body256valid
1.0ms22×body128invalid
1.0ms10×body256invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify262.0ms (5.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
0488118
1488118

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

rewrite20.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64_1458 pow1_binary64_1483 add-exp-log_binary64_1460 *-un-lft-identity_binary64_1425
associate-*r*_binary64_1367 add-log-exp_binary64_1461
add-cube-cbrt_binary64_1457 prod-exp_binary64_1471 cbrt-unprod_binary64_1455 add-sqr-sqrt_binary64_1446 pow-prod-down_binary64_1493
flip3-+_binary64_1428 associate-*r/_binary64_1369 distribute-lft-out_binary64_1378 flip-+_binary64_1399
distribute-lft-in_binary64_1376 associate-*l*_binary64_1368 distribute-rgt-in_binary64_1377 sum-log_binary64_1513 +-commutative_binary64_1357 *-commutative_binary64_1358
Counts
2 → 35
Calls

2 calls:

11.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
6.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series152.0ms (3.2%)

Counts
2 → 6
Calls

2 calls:

124.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
27.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify77.0ms (1.6%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
04994713
14994713

prune34.0ms (0.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0b

Counts
42 → 2
Compiler

Compiled 684 to 268 computations (60.8% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
0.0b
(+.f64 (/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))
0.0b
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

rewrite27.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64_1458
add-exp-log_binary64_1460
pow1_binary64_1483
add-cube-cbrt_binary64_1457 add-sqr-sqrt_binary64_1446 *-un-lft-identity_binary64_1425
add-log-exp_binary64_1461
prod-exp_binary64_1471 cbrt-unprod_binary64_1455
times-frac_binary64_1431 associate-/r*_binary64_1371 associate-*r*_binary64_1367 pow-prod-down_binary64_1493
div-inv_binary64_1422 div-exp_binary64_1473 cbrt-undiv_binary64_1456
frac-2neg_binary64_1436 associate-*l*_binary64_1368 flip3-+_binary64_1428 clear-num_binary64_1424 distribute-lft-out_binary64_1378 sum-log_binary64_1513 flip-+_binary64_1399 associate-/l*_binary64_1372 +-commutative_binary64_1357 *-commutative_binary64_1358
Counts
3 → 51
Calls

3 calls:

9.0ms
(+.f64 (/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))
7.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
6.0ms
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

series314.0ms (6.7%)

Counts
3 → 9
Calls

3 calls:

175.0ms
(+.f64 (/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))
79.0ms
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
60.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

simplify69.0ms (1.5%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05028959

prune54.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh011
Picked011
Done000
Total60262

Merged error: 0b

Counts
62 → 2
Compiler

Compiled 1138 to 581 computations (48.9% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))
0.4b
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)

rewrite39.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64_1425
add-sqr-sqrt_binary64_1446 add-cbrt-cube_binary64_1458 pow1_binary64_1483 add-exp-log_binary64_1460
associate-*r/_binary64_1369
add-cube-cbrt_binary64_1457
add-log-exp_binary64_1461
flip3-+_binary64_1428 associate-*r*_binary64_1367 cube-div_binary64_1451 flip-+_binary64_1399
pow-unpow_binary64_1499 associate-*l*_binary64_1368
pow-pow_binary64_1494 prod-exp_binary64_1471 cbrt-div_binary64_1454 cbrt-unprod_binary64_1455 pow-exp_binary64_1490 rem-cube-cbrt_binary64_1447 distribute-lft-out_binary64_1378 pow-prod-down_binary64_1493
distribute-lft-in_binary64_1376 unswap-sqr_binary64_1393 pow-to-exp_binary64_1491 unpow-prod-down_binary64_1501 cbrt-prod_binary64_1453 unpow3_binary64_1488 distribute-rgt-in_binary64_1377 pow1/3_binary64_1504 sum-log_binary64_1513 cube-mult_binary64_1452 cube-prod_binary64_1450 +-commutative_binary64_1357 sqr-pow_binary64_1397 *-commutative_binary64_1358
Counts
4 → 70
Calls

4 calls:

12.0ms
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
10.0ms
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
6.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
5.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))

series455.0ms (9.7%)

Counts
4 → 12
Calls

4 calls:

218.0ms
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
123.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))
88.0ms
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
25.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify73.0ms (1.6%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
052151496

prune75.0ms (1.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done011
Total82284

Merged error: 0b

Counts
84 → 2
Compiler

Compiled 1590 to 654 computations (58.9% saved)

regimes42.0ms (0.9%)

Compiler

Compiled 173 to 156 computations (9.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01324
11324

end0.0ms (0%)

sample2.5s (53.8%)

Algorithm
intervals
Results
814.0ms1938×body1024valid
509.0ms1896×body1024invalid
272.0ms4511×body128valid
214.0ms1029×body512valid
167.0ms960×body512invalid
64.0ms516×body256valid
58.0ms488×body256invalid
47.0ms701×body128invalid
5.0msbody2048valid
Compiler

Compiled 56 to 48 computations (14.3% saved)

Profiling

Loading profile data...