Details

Time bar (total: 4.8s)

analyze346.0ms (7.2%)

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
23.0ms55×body1024valid
15.0ms59×body1024invalid
9.0ms150×body128valid
6.0ms38×body512invalid
6.0ms30×body512valid
3.0ms21×body256valid
1.0ms12×body256invalid
1.0ms21×body128invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify263.0ms (5.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (100.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)

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

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:

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 (3%)

Counts
2 → 6
Calls

2 calls:

114.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
32.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify73.0ms (1.5%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04890713
14890713

prune57.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342

Merged error: 0b

Counts
42 → 3
Compiler

Compiled 982 to 482 computations (50.9% saved)

localize9.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_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))

series328.0ms (6.8%)

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

simplify76.0ms (1.6%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04937972
14937972

prune72.0ms (1.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New59160
Fresh101
Picked011
Done011
Total60363

Merged error: 0b

Counts
63 → 3
Compiler

Compiled 1326 to 717 computations (45.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite52.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64_773
55×add-sqr-sqrt_binary64_789 *-un-lft-identity_binary64_767 add-cube-cbrt_binary64_802
16×associate-/r*_binary64_711 add-cbrt-cube_binary64_803
12×add-exp-log_binary64_805
pow1_binary64_828
add-log-exp_binary64_806 associate-/l*_binary64_712 div-inv_binary64_764
cbrt-undiv_binary64_801 div-exp_binary64_818
associate-*r*_binary64_707 cbrt-unprod_binary64_800 prod-exp_binary64_816 pow-prod-down_binary64_838
frac-2neg_binary64_778 clear-num_binary64_766
associate-*l*_binary64_708 associate-/r/_binary64_713 *-commutative_binary64_698 flip-+_binary64_741 +-commutative_binary64_697 sum-log_binary64_858 flip3-+_binary64_770
Counts
4 → 126
Calls

4 calls:

19.0ms
(+.f64 (/.f64 1/2 (/.f64 (exp.f64 im) (cos.f64 re))) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))
7.0ms
(/.f64 1/2 (/.f64 (exp.f64 im) (cos.f64 re)))
7.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
5.0ms
(/.f64 (exp.f64 im) (cos.f64 re))

series407.0ms (8.4%)

Counts
4 → 12
Calls

4 calls:

171.0ms
(+.f64 (/.f64 1/2 (/.f64 (exp.f64 im) (cos.f64 re))) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))
102.0ms
(/.f64 1/2 (/.f64 (exp.f64 im) (cos.f64 re)))
69.0ms
(/.f64 (exp.f64 im) (cos.f64 re))
65.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

simplify109.0ms (2.3%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049242682
149242682

prune141.0ms (2.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1380138
Fresh000
Picked011
Done022
Total1383141

Merged error: 0b

Counts
141 → 3
Compiler

Compiled 3080 to 1298 computations (57.9% saved)

regimes60.0ms (1.2%)

Compiler

Compiled 296 to 248 computations (16.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01324
11324

end0.0ms (0%)

sample2.5s (52.6%)

Algorithm
intervals
Results
828.0ms2002×body1024valid
518.0ms1960×body1024invalid
264.0ms4476×body128valid
206.0ms998×body512valid
173.0ms983×body512invalid
64.0ms517×body256valid
58.0ms475×body256invalid
48.0ms727×body128invalid
6.0msbody2048valid
Compiler

Compiled 68 to 56 computations (17.6% saved)

Profiling

Loading profile data...