Details

Time bar (total: 5.3s)

analyze356.0ms (6.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)

sample81.0ms (1.5%)

Algorithm
intervals
Results
30.0ms76×body1024valid
17.0ms67×body1024invalid
8.0ms134×body128valid
6.0ms33×body512valid
3.0ms20×body512invalid
2.0ms29×body128invalid
2.0ms13×body256valid
1.0ms10×body256invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify255.0ms (4.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (95.0ms)

IterNodesCost
0488118
1488118

prune2.0ms (0%)

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)

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

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64_809 add-cbrt-cube_binary64_784 *-un-lft-identity_binary64_751 add-exp-log_binary64_786
add-log-exp_binary64_787 associate-*r*_binary64_693
prod-exp_binary64_797 add-cube-cbrt_binary64_783 pow-prod-down_binary64_819 cbrt-unprod_binary64_781 add-sqr-sqrt_binary64_772
distribute-lft-out_binary64_704 flip3-+_binary64_754 associate-*r/_binary64_695 flip-+_binary64_725
+-commutative_binary64_683 distribute-lft-in_binary64_702 *-commutative_binary64_684 sum-log_binary64_839 associate-*l*_binary64_694 distribute-rgt-in_binary64_703
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))

series146.0ms (2.8%)

Counts
2 → 6
Calls

2 calls:

118.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
28.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify74.0ms (1.4%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04994713
14994713

prune36.0ms (0.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh000
Picked101
Done000
Total39342

Merged error: 0b

Counts
42 → 3
Compiler

Compiled 705 to 284 computations (59.7% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

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))
0.0b
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

rewrite26.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64_784
add-exp-log_binary64_786
pow1_binary64_809
add-cube-cbrt_binary64_783 *-un-lft-identity_binary64_751 add-sqr-sqrt_binary64_772
add-log-exp_binary64_787
prod-exp_binary64_797 cbrt-unprod_binary64_781
associate-/r*_binary64_697 pow-prod-down_binary64_819 times-frac_binary64_757 associate-*r*_binary64_693
div-inv_binary64_748 cbrt-undiv_binary64_782 div-exp_binary64_799
distribute-lft-out_binary64_704 +-commutative_binary64_683 flip3-+_binary64_754 *-commutative_binary64_684 sum-log_binary64_839 frac-2neg_binary64_762 associate-*l*_binary64_694 clear-num_binary64_750 associate-/l*_binary64_698 flip-+_binary64_725
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 (5.9%)

Counts
3 → 9
Calls

3 calls:

170.0ms
(+.f64 (/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))
81.0ms
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
63.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

simplify71.0ms (1.3%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
05028959

prune56.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New59160
Fresh112
Picked011
Done000
Total60363

Merged error: 0b

Counts
63 → 3
Compiler

Compiled 1157 to 591 computations (48.9% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite30.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64_772
13×add-cube-cbrt_binary64_783 *-un-lft-identity_binary64_751
times-frac_binary64_757
add-cbrt-cube_binary64_784
add-exp-log_binary64_786
pow1_binary64_809 add-log-exp_binary64_787
associate-*r*_binary64_693
associate-/r*_binary64_697 div-inv_binary64_748 associate-*l*_binary64_694 associate-/l*_binary64_698
distribute-lft-out_binary64_704 flip3-+_binary64_754 associate-*r/_binary64_695 flip-+_binary64_725
prod-exp_binary64_797 +-commutative_binary64_683 unswap-sqr_binary64_719 distribute-lft-in_binary64_702 pow-prod-down_binary64_819 *-commutative_binary64_684 cbrt-undiv_binary64_782 sum-log_binary64_839 frac-2neg_binary64_762 cbrt-unprod_binary64_781 clear-num_binary64_750 distribute-rgt-in_binary64_703 div-exp_binary64_799
Counts
3 → 62
Calls

3 calls:

11.0ms
(*.f64 (cos.f64 re) (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im))))
8.0ms
(+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im)))
4.0ms
(/.f64 1/2 (exp.f64 im))

series249.0ms (4.7%)

Counts
3 → 9
Calls

3 calls:

130.0ms
(*.f64 (cos.f64 re) (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im))))
84.0ms
(+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im)))
35.0ms
(/.f64 1/2 (exp.f64 im))

simplify77.0ms (1.4%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
048851136
148851136

prune62.0ms (1.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New71071
Fresh011
Picked011
Done011
Total71374

Merged error: 0b

Counts
74 → 3
Compiler

Compiled 1248 to 604 computations (51.6% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (exp.f64 im) 2)
0.3b
(/.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
5.0b
(-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))
5.0b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite49.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64_772
17×*-un-lft-identity_binary64_751
15×difference-of-squares_binary64_720
13×add-cbrt-cube_binary64_784 add-exp-log_binary64_786
10×unpow-prod-down_binary64_827
add-cube-cbrt_binary64_783
sqr-pow_binary64_723 add-log-exp_binary64_787
associate-/r*_binary64_697 pow1_binary64_809 times-frac_binary64_757
distribute-lft-out--_binary64_705 unpow2_binary64_813 flip--_binary64_726 pow-pow_binary64_820 flip3--_binary64_755
prod-exp_binary64_797 exp-prod_binary64_800 cbrt-undiv_binary64_782 cbrt-unprod_binary64_781 pow-unpow_binary64_825 div-exp_binary64_799
associate-/l/_binary64_700 associate-/r/_binary64_699 associate-*r/_binary64_695 diff-log_binary64_840 sub-neg_binary64_744
pow-to-exp_binary64_817 pow-exp_binary64_816 div-inv_binary64_748 frac-2neg_binary64_762 clear-num_binary64_750 associate-/l*_binary64_698
Counts
4 → 89
Calls

4 calls:

20.0ms
(/.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
9.0ms
(-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))
6.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
4.0ms
(pow.f64 (exp.f64 im) 2)

series585.0ms (11%)

Counts
4 → 12
Calls

4 calls:

420.0ms
(/.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
100.0ms
(-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))
44.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
20.0ms
(pow.f64 (exp.f64 im) 2)

simplify48.0ms (0.9%)

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
049391945
149391945

prune105.0ms (2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1010101
Fresh000
Picked011
Done022
Total1013104

Merged error: 0b

Counts
104 → 3
Compiler

Compiled 2502 to 1077 computations (57% saved)

regimes42.0ms (0.8%)

Compiler

Compiled 208 to 172 computations (17.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01324
11324

end0.0ms (0%)

sample2.6s (48.5%)

Algorithm
intervals
Results
850.0ms2037×body1024valid
519.0ms1950×body1024invalid
266.0ms4448×body128valid
202.0ms977×body512valid
174.0ms989×body512invalid
67.0ms534×body256valid
62.0ms526×body256invalid
49.0ms702×body128invalid
3.0msbody2048valid
Compiler

Compiled 75 to 61 computations (18.7% saved)

Profiling

Loading profile data...