Details

Time bar (total: 4.9s)

analyze351.0ms (7.1%)

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.5%)

Algorithm
intervals
Results
22.0ms53×body1024valid
16.0ms63×body1024invalid
9.0ms156×body128valid
7.0ms34×body512valid
5.0ms32×body512invalid
2.0ms29×body128invalid
2.0ms13×body256valid
2.0ms13×body256invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify266.0ms (5.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

series148.0ms (3%)

Counts
2 → 6
Calls

2 calls:

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

simplify71.0ms (1.4%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04994713
14994713

prune34.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342

Merged error: 0.0b

Counts
42 → 3
Compiler

Compiled 693 to 275 computations (60.3% saved)

localize20.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (exp.f64 im) -2)
0.1b
(pow.f64 (exp.f64 im) 3)
0.1b
(pow.f64 (exp.f64 im) -3)
4.6b
(+.f64 (pow.f64 (exp.f64 im) 2) -1)

rewrite25.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity_binary64_751 add-sqr-sqrt_binary64_772
14×add-cube-cbrt_binary64_783
12×pow-pow_binary64_820
10×unpow-prod-down_binary64_827
exp-prod_binary64_800 pow-unpow_binary64_825
pow1_binary64_809
add-log-exp_binary64_787
add-cbrt-cube_binary64_784
sqr-pow_binary64_723 difference-of-sqr--1_binary64_722 add-exp-log_binary64_786
pow-to-exp_binary64_817 pow-exp_binary64_816 cube-prod_binary64_776
cube-mult_binary64_778 distribute-lft-out_binary64_704 +-commutative_binary64_683 unpow2_binary64_813 flip3-+_binary64_754 rem-cube-cbrt_binary64_773 sum-log_binary64_839 unpow3_binary64_814 flip-+_binary64_725
Counts
4 → 82
Calls

4 calls:

6.0ms
(+.f64 (pow.f64 (exp.f64 im) 2) -1)
4.0ms
(pow.f64 (exp.f64 im) 3)
4.0ms
(pow.f64 (exp.f64 im) -3)
4.0ms
(pow.f64 (exp.f64 im) -2)

series202.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

75.0ms
(pow.f64 (exp.f64 im) -3)
55.0ms
(pow.f64 (exp.f64 im) -2)
38.0ms
(pow.f64 (exp.f64 im) 3)
34.0ms
(+.f64 (pow.f64 (exp.f64 im) 2) -1)

simplify62.0ms (1.3%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05039821

prune141.0ms (2.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh011
Picked011
Done011
Total94397

Merged error: 0.0b

Counts
97 → 3
Compiler

Compiled 2776 to 1741 computations (37.3% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b
(exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.1b
(pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cos.f64 re))
0.4b
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cos.f64 re)))

rewrite41.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64_751
14×unpow-prod-down_binary64_827
12×add-cube-cbrt_binary64_783 add-sqr-sqrt_binary64_772
11×log-prod_binary64_834
add-log-exp_binary64_787
exp-prod_binary64_800 sqrt-prod_binary64_766
pow-pow_binary64_820 add-exp-log_binary64_786
pow1_binary64_809
sqrt-pow1_binary64_768
add-cbrt-cube_binary64_784
distribute-lft-out_binary64_704 rem-log-exp_binary64_789 exp-sum_binary64_794 pow-unpow_binary64_825
pow-to-exp_binary64_817 pow-exp_binary64_816 sqr-pow_binary64_723 sum-log_binary64_839 rem-exp-log_binary64_788
+-commutative_binary64_683 flip3-+_binary64_754 pow1/2_binary64_828 log-pow_binary64_837 sqrt-pow2_binary64_769 flip-+_binary64_725
Counts
4 → 76
Calls

4 calls:

9.0ms
(pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cos.f64 re))
9.0ms
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cos.f64 re)))
8.0ms
(exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
6.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series634.0ms (12.9%)

Counts
4 → 12
Calls

4 calls:

307.0ms
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cos.f64 re)))
244.0ms
(pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cos.f64 re))
59.0ms
(exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
24.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify103.0ms (2.1%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
048781865
148781865

prune67.0ms (1.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh000
Picked011
Done022
Total88391

Merged error: 0.0b

Counts
91 → 3
Compiler

Compiled 1592 to 334 computations (79% saved)

regimes66.0ms (1.3%)

Compiler

Compiled 344 to 302 computations (12.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02118
12118

end0.0ms (0%)

sample2.6s (52.2%)

Algorithm
intervals
Results
839.0ms2017×body1024valid
519.0ms1922×body1024invalid
257.0ms4426×body128valid
212.0ms1013×body512valid
171.0ms974×body512invalid
70.0ms537×body256valid
62.0ms504×body256invalid
46.0ms695×body128invalid
6.0msbody2048valid
Compiler

Compiled 72 to 64 computations (11.1% saved)

Profiling

Loading profile data...