Details

Time bar (total: 11.3s)

analyze529.0ms (4.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
12.5%87.4%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
62.4%31.2%6.3%7
62.4%31.2%6.3%8
62.4%28.1%9.5%9
62.4%28.1%9.5%10
62.4%26.5%11%11
62.4%26.5%11%12
62.4%25.8%11.8%13
62.4%25.8%11.8%14
Compiler

Compiled 12 to 11 computations (8.3% saved)

sample136.0ms (1.2%)

Algorithm
intervals
Results
65.0ms141×body1024valid
17.0ms59×body1024invalid
12.0ms52×body512valid
8.0ms33×body256valid
7.0ms10×body2048valid
5.0ms29×body512invalid
5.0ms77×body128invalid
2.0ms17×body256invalid
1.0ms20×body128valid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify309.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (146.0ms)

IterNodesCost
0470318
1470318

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 45.0b

Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
5.6b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite23.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64_3519 add-sqr-sqrt_binary64_3541
cancel-sign-sub-inv_binary64_3485
add-cbrt-cube_binary64_3555 add-exp-log_binary64_3557 pow1_binary64_3580
add-cube-cbrt_binary64_3554
associate-*r*_binary64_3459
add-log-exp_binary64_3558 distribute-lft-in_binary64_3468 distribute-rgt-in_binary64_3469
pow-prod-down_binary64_3590 prod-exp_binary64_3568 sub-neg_binary64_3512 cbrt-unprod_binary64_3552
difference-of-squares_binary64_3488 flip--_binary64_3494 associate-*r/_binary64_3461 distribute-lft-out--_binary64_3471 flip3--_binary64_3523
diff-log_binary64_3611 associate-*l*_binary64_3460 *-commutative_binary64_3450
Counts
2 → 46
Calls

2 calls:

12.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
7.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series179.0ms (1.6%)

Counts
2 → 6
Calls

2 calls:

138.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
40.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify78.0ms (0.7%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04880911
14880911

prune77.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New49352
Fresh000
Picked011
Done000
Total49453

Merged error: 0.2b

Counts
53 → 4
Compiler

Compiled 1266 to 646 computations (49% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))
0.0b
(*.f64 (pow.f64 im 5) -1/60)
0.1b
(*.f64 1/3 (pow.f64 im 3))
0.1b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))

rewrite44.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64_3541
19×add-exp-log_binary64_3557
18×associate-*r*_binary64_3459
13×add-cbrt-cube_binary64_3555
12×*-un-lft-identity_binary64_3519 add-cube-cbrt_binary64_3554
11×associate-*l*_binary64_3460
add-log-exp_binary64_3558 prod-exp_binary64_3568 pow1_binary64_3580
unpow-prod-down_binary64_3598
unswap-sqr_binary64_3487
cbrt-unprod_binary64_3552
cube-prod_binary64_3547 sqr-pow_binary64_3491
pow-prod-down_binary64_3590 *-commutative_binary64_3450
pow-exp_binary64_3587 flip-+_binary64_3493 pow-to-exp_binary64_3588 flip3-+_binary64_3522 sum-log_binary64_3610 associate-+l+_binary64_3452 associate-*r/_binary64_3461
+-commutative_binary64_3449 diff-log_binary64_3611 cancel-sign-sub-inv_binary64_3485 sub-neg_binary64_3512 distribute-lft-in_binary64_3468 cube-mult_binary64_3549 associate-+l-_binary64_3454 unpow3_binary64_3585 distribute-rgt-in_binary64_3469
Counts
4 → 93
Calls

4 calls:

14.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
8.0ms
(+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))
7.0ms
(*.f64 1/3 (pow.f64 im 3))
6.0ms
(*.f64 (pow.f64 im 5) -1/60)

series471.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

290.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
69.0ms
(+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))
64.0ms
(*.f64 (pow.f64 im 5) -1/60)
47.0ms
(*.f64 1/3 (pow.f64 im 3))

simplify43.0ms (0.4%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
050291865

prune310.0ms (2.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New987105
Fresh022
Picked101
Done011
Total9910109

Merged error: 0.1b

Counts
109 → 10
Compiler

Compiled 5654 to 4456 computations (21.2% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 1/120 (pow.f64 im 5))
0.1b
(*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))
0.1b
(*.f64 1/6 (pow.f64 im 3))
0.1b
(*.f64 (sin.f64 re) im)

rewrite39.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64_3541
25×associate-*r*_binary64_3459
18×add-exp-log_binary64_3557
15×*-un-lft-identity_binary64_3519 add-cube-cbrt_binary64_3554
12×add-cbrt-cube_binary64_3555 associate-*l*_binary64_3460
unswap-sqr_binary64_3487
unpow-prod-down_binary64_3598 prod-exp_binary64_3568 pow1_binary64_3580
cube-prod_binary64_3547 add-log-exp_binary64_3558 cbrt-unprod_binary64_3552 sqr-pow_binary64_3491 *-commutative_binary64_3450
pow-exp_binary64_3587 pow-prod-down_binary64_3590 pow-to-exp_binary64_3588 associate-*r/_binary64_3461
flip-+_binary64_3493 flip3-+_binary64_3522 distribute-lft-in_binary64_3468 cube-mult_binary64_3549 unpow3_binary64_3585 distribute-rgt-in_binary64_3469
Counts
4 → 96
Calls

4 calls:

10.0ms
(*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))
9.0ms
(*.f64 1/6 (pow.f64 im 3))
6.0ms
(*.f64 1/120 (pow.f64 im 5))
5.0ms
(*.f64 (sin.f64 re) im)

series591.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

419.0ms
(*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))
62.0ms
(*.f64 1/120 (pow.f64 im 5))
58.0ms
(*.f64 1/6 (pow.f64 im 3))
51.0ms
(*.f64 (sin.f64 re) im)

simplify68.0ms (0.6%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
051871362

prune348.0ms (3.1%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1053108
Fresh268
Picked011
Done011
Total10711118

Merged error: 0.0b

Counts
118 → 11
Compiler

Compiled 6880 to 4915 computations (28.6% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))) (cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))))
13.5b
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
13.5b
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
13.5b
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))

rewrite58.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
20×associate-*r/_binary64_3461
18×cbrt-div_binary64_3551
11×pow1_binary64_3580
10×add-sqr-sqrt_binary64_3541
flip-+_binary64_3493 flip3-+_binary64_3522 pow1/3_binary64_3601
*-un-lft-identity_binary64_3519 add-cube-cbrt_binary64_3554
cbrt-prod_binary64_3550
add-exp-log_binary64_3557
add-cbrt-cube_binary64_3555 add-log-exp_binary64_3558 associate-*r*_binary64_3459 frac-times_binary64_3529 associate-*l*_binary64_3460 swap-sqr_binary64_3486
pow-prod-up_binary64_3589 associate-*l/_binary64_3462 pow-prod-down_binary64_3590 pow-sqr_binary64_3492
pow-plus_binary64_3582 prod-exp_binary64_3568 cbrt-unprod_binary64_3552 unswap-sqr_binary64_3487 *-commutative_binary64_3450 pow2_binary64_3600
Counts
4 → 72
Calls

4 calls:

11.0ms
(*.f64 (cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))) (cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))))
11.0ms
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
10.0ms
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
10.0ms
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))

series2.7s (23.7%)

Counts
4 → 12
Calls

4 calls:

951.0ms
(*.f64 (cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))) (cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))))
576.0ms
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
572.0ms
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
572.0ms
(cbrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))

simplify78.0ms (0.7%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050114064

prune378.0ms (3.3%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New84084
Fresh088
Picked011
Done022
Total841195

Merged error: 0.0b

Counts
95 → 11
Compiler

Compiled 6225 to 4839 computations (22.3% saved)

regimes217.0ms (1.9%)

Compiler

Compiled 2639 to 2086 computations (21% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
012031
112031

end0.0ms (0%)

sample4.6s (40.5%)

Algorithm
intervals
Results
2.0s4100×body1024valid
573.0ms1966×body1024invalid
464.0ms1988×body512valid
195.0ms1010×body512invalid
180.0ms2615×body128invalid
155.0ms223×body2048valid
147.0ms1018×body256valid
73.0ms509×body256invalid
48.0ms671×body128valid
1.0msbody2048invalid
Compiler

Compiled 447 to 349 computations (21.9% saved)

Profiling

Loading profile data...