Details

Time bar (total: 4.2s)

analyze360.0ms (8.7%)

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)

sample80.0ms (1.9%)

Algorithm
intervals
Results
28.0ms72×body1024valid
16.0ms69×body1024invalid
8.0ms142×body128valid
7.0ms41×body512invalid
5.0ms29×body512valid
2.0ms13×body256valid
2.0ms26×body128invalid
1.0ms13×body256invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify221.0ms (5.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (128.0ms)

IterNodesCost
0529018

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize12.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite19.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 pow1_binary64_1503 *-un-lft-identity_binary64_1442
associate-*r*_binary64_1382 add-log-exp_binary64_1481
cbrt-unprod_binary64_1475 pow-prod-down_binary64_1513 add-sqr-sqrt_binary64_1464 prod-exp_binary64_1491 add-cube-cbrt_binary64_1477
associate-*r/_binary64_1384 distribute-lft-out_binary64_1393 flip3-+_binary64_1445 flip-+_binary64_1416
sum-log_binary64_1533 +-commutative_binary64_1372 associate-*l*_binary64_1383 *-commutative_binary64_1373 distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392
Counts
2 → 35
Calls

2 calls:

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

series75.0ms (1.8%)

Counts
2 → 6
Calls

2 calls:

59.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
15.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify75.0ms (1.8%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04922713
14922713

prune36.0ms (0.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342
Error
0b
Counts
42 → 3
Compiler

Compiled 685 to 274 computations (60% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite37.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
15×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 pow1_binary64_1503
11×*-un-lft-identity_binary64_1442
cbrt-prod_binary64_1473
add-sqr-sqrt_binary64_1464 add-cube-cbrt_binary64_1477
cbrt-unprod_binary64_1475 pow-prod-down_binary64_1513 add-log-exp_binary64_1481 prod-exp_binary64_1491 associate-*l/_binary64_1385
associate-*l*_binary64_1383 flip3-+_binary64_1445 flip-+_binary64_1416 cube-div_binary64_1471
pow-exp_binary64_1510 pow-unpow_binary64_1519 rem-cube-cbrt_binary64_1465 pow-pow_binary64_1514
cube-mult_binary64_1472 cbrt-div_binary64_1474 cube-prod_binary64_1470 distribute-lft-out_binary64_1393 sqr-pow_binary64_1414 unpow3_binary64_1508 unpow-prod-down_binary64_1521
associate-*r*_binary64_1382 sum-log_binary64_1533 +-commutative_binary64_1372 *-commutative_binary64_1373 pow1/3_binary64_1524 pow-to-exp_binary64_1511 rem-cbrt-cube_binary64_1466
Counts
4 → 79
Calls

4 calls:

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

series260.0ms (6.3%)

Counts
4 → 12
Calls

4 calls:

124.0ms
(pow.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 3)
65.0ms
(cbrt.f64 (pow.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re))) 3))
55.0ms
(*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
15.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify67.0ms (1.6%)

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050801828

prune86.0ms (2.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh011
Picked011
Done011
Total91394
Error
0b
Counts
94 → 3
Compiler

Compiled 1792 to 814 computations (54.6% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (*.f64 im im) (+.f64 2 (*.f64 1/12 (pow.f64 im 4)))))
0.0b
(+.f64 (*.f64 im im) (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
0.1b
(*.f64 1/12 (pow.f64 im 4))

rewrite29.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
13×add-exp-log_binary64_1480
12×add-sqr-sqrt_binary64_1464
10×associate-*r*_binary64_1382 add-cbrt-cube_binary64_1478
add-log-exp_binary64_1481 pow1_binary64_1503
add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
prod-exp_binary64_1491
cbrt-unprod_binary64_1475 associate-*l*_binary64_1383 unpow-prod-down_binary64_1521
sum-log_binary64_1533 pow-prod-down_binary64_1513 unswap-sqr_binary64_1410
associate-*r/_binary64_1384 *-commutative_binary64_1373 sqr-pow_binary64_1414 flip3-+_binary64_1445 flip-+_binary64_1416
pow-exp_binary64_1510 +-commutative_binary64_1372 distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392 associate-+r+_binary64_1374 pow-to-exp_binary64_1511
Counts
3 → 60
Calls

3 calls:

12.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (*.f64 im im) (+.f64 2 (*.f64 1/12 (pow.f64 im 4)))))
6.0ms
(+.f64 (*.f64 im im) (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))
6.0ms
(*.f64 1/12 (pow.f64 im 4))

series152.0ms (3.7%)

Counts
3 → 9
Calls

3 calls:

109.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (*.f64 im im) (+.f64 2 (*.f64 1/12 (pow.f64 im 4)))))
23.0ms
(*.f64 1/12 (pow.f64 im 4))
20.0ms
(+.f64 (*.f64 im im) (+.f64 2 (*.f64 1/12 (pow.f64 im 4))))

simplify41.0ms (1%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
049991255
149991255

prune79.0ms (1.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done022
Total69372
Error
0b
Counts
72 → 3
Compiler

Compiled 1507 to 1001 computations (33.6% saved)

regimes91.0ms (2.2%)

Accuracy

Total 0.0b remaining (58.5%)

Threshold costs 0.0b (58.5%)

Compiler

Compiled 686 to 518 computations (24.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02118
12118

end0.0ms (0%)

sample2.4s (57.9%)

Algorithm
intervals
Results
728.0ms2045×body1024valid
457.0ms1958×body1024invalid
272.0ms4535×body128valid
178.0ms956×body512valid
162.0ms995×body512invalid
59.0ms521×body256invalid
54.0ms460×body256valid
45.0ms706×body128invalid
3.0msbody2048valid
Compiler

Compiled 129 to 100 computations (22.5% saved)

Profiling

Loading profile data...