Details

Time bar (total: 4.7s)

analyze347.0ms (7.4%)

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)

sample76.0ms (1.6%)

Algorithm
intervals
Results
24.0ms61×body1024valid
18.0ms57×body1024invalid
8.0ms148×body128valid
5.0ms31×body512invalid
5.0ms27×body512valid
2.0ms20×body256valid
2.0ms22×body128invalid
1.0ms10×body256invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify272.0ms (5.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
0488118
1488118

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

localize11.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-exp-log_binary64_805 pow1_binary64_828 *-un-lft-identity_binary64_767 add-cbrt-cube_binary64_803
associate-*r*_binary64_707 add-log-exp_binary64_806
cbrt-unprod_binary64_800 prod-exp_binary64_816 add-sqr-sqrt_binary64_789 pow-prod-down_binary64_838 add-cube-cbrt_binary64_802
distribute-lft-out_binary64_718 flip-+_binary64_741 associate-*r/_binary64_709 flip3-+_binary64_770
associate-*l*_binary64_708 *-commutative_binary64_698 distribute-rgt-in_binary64_717 +-commutative_binary64_697 sum-log_binary64_858 distribute-lft-in_binary64_716
Counts
2 → 35
Calls

2 calls:

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

series156.0ms (3.3%)

Counts
2 → 6
Calls

2 calls:

126.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
30.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify71.0ms (1.5%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04890713
14890713

prune44.0ms (0.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0b

Counts
42 → 2
Compiler

Compiled 850 to 390 computations (54.1% 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))

rewrite26.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64_803
add-exp-log_binary64_805
pow1_binary64_828
add-sqr-sqrt_binary64_789 *-un-lft-identity_binary64_767 add-cube-cbrt_binary64_802
add-log-exp_binary64_806
cbrt-unprod_binary64_800 prod-exp_binary64_816
associate-*r*_binary64_707 associate-/r*_binary64_711 times-frac_binary64_773 pow-prod-down_binary64_838
cbrt-undiv_binary64_801 div-exp_binary64_818 div-inv_binary64_764
associate-*l*_binary64_708 frac-2neg_binary64_778 distribute-lft-out_binary64_718 *-commutative_binary64_698 flip-+_binary64_741 associate-/l*_binary64_712 +-commutative_binary64_697 sum-log_binary64_858 flip3-+_binary64_770 clear-num_binary64_766
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))

series312.0ms (6.7%)

Counts
3 → 9
Calls

3 calls:

169.0ms
(+.f64 (/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))
82.0ms
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
60.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

simplify70.0ms (1.5%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04937972
14937972

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 1146 to 582 computations (49.2% saved)

localize12.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_767
add-exp-log_binary64_805 pow1_binary64_828 add-sqr-sqrt_binary64_789 add-cbrt-cube_binary64_803
associate-*r/_binary64_709
add-cube-cbrt_binary64_802
add-log-exp_binary64_806
associate-*r*_binary64_707 flip-+_binary64_741 cube-div_binary64_796 flip3-+_binary64_770
associate-*l*_binary64_708 pow-unpow_binary64_844
distribute-lft-out_binary64_718 cbrt-unprod_binary64_800 pow-exp_binary64_835 prod-exp_binary64_816 rem-cube-cbrt_binary64_790 cbrt-div_binary64_799 pow-prod-down_binary64_838 pow-pow_binary64_839
pow-to-exp_binary64_836 unswap-sqr_binary64_735 pow1/3_binary64_849 sqr-pow_binary64_739 cube-prod_binary64_795 *-commutative_binary64_698 unpow-prod-down_binary64_846 distribute-rgt-in_binary64_717 cube-mult_binary64_797 +-commutative_binary64_697 sum-log_binary64_858 cbrt-prod_binary64_798 distribute-lft-in_binary64_716 unpow3_binary64_833
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)))

series450.0ms (9.6%)

Counts
4 → 12
Calls

4 calls:

219.0ms
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
121.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))
85.0ms
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
24.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify76.0ms (1.6%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
052331496

prune80.0ms (1.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done011
Total82284

Merged error: 0b

Counts
84 → 2
Compiler

Compiled 1631 to 689 computations (57.8% 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.4%)

Algorithm
intervals
Results
805.0ms1938×body1024valid
500.0ms1896×body1024invalid
265.0ms4511×body128valid
216.0ms1029×body512valid
173.0ms960×body512invalid
64.0ms516×body256valid
57.0ms488×body256invalid
49.0ms701×body128invalid
5.0msbody2048valid
Compiler

Compiled 56 to 48 computations (14.3% saved)

Profiling

Loading profile data...