Details

Time bar (total: 10.1s)

analyze898.0ms (8.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0493636
1493636
022
122
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)

sample119.0ms (1.2%)

Algorithm
intervals
Results
35.0ms64×body1024valid
21.0ms59×body1024invalid
19.0ms146×body128valid
9.0ms31×body512valid
6.0ms25×body512invalid
3.0ms15×body256valid
3.0ms15×body256invalid
2.0ms19×body128invalid
1.0msbody2048invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify238.0ms (2.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (227.0ms)

IterNodesCost
0529018

prune9.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

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

rewrite34.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_760 add-exp-log_binary64_798 add-cbrt-cube_binary64_796 pow1_binary64_821
add-log-exp_binary64_799 associate-*r*_binary64_700
prod-exp_binary64_809 add-cube-cbrt_binary64_795 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 add-sqr-sqrt_binary64_782
distribute-lft-out_binary64_711 flip3-+_binary64_763 flip-+_binary64_734 associate-*r/_binary64_702
distribute-lft-in_binary64_709 distribute-rgt-in_binary64_710 +-commutative_binary64_690 sum-log_binary64_851 associate-*l*_binary64_701 *-commutative_binary64_691
Counts
2 → 35
Calls

2 calls:

19.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
10.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series331.0ms (3.3%)

Counts
2 → 18
Calls

2 calls:

287.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
43.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 404 to 334 computations (17.3% saved)

simplify155.0ms (1.5%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (127.0ms)

IterNodesCost
04922964
14922964

prune84.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh000
Picked011
Done000
Total51354
Error
0b
Counts
54 → 3
Compiler

Compiled 859 to 358 computations (58.3% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite66.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity_binary64_760
12×log-prod_binary64_846
11×pow1_binary64_821
add-cube-cbrt_binary64_795 add-cbrt-cube_binary64_796 add-sqr-sqrt_binary64_782
add-exp-log_binary64_798 exp-sum_binary64_806
associate-*r*_binary64_700
log-div_binary64_847 add-log-exp_binary64_799
distribute-lft-out_binary64_711 flip3-+_binary64_763 exp-prod_binary64_812 exp-diff_binary64_808 flip-+_binary64_734
prod-exp_binary64_809 cbrt-unprod_binary64_793 pow-prod-down_binary64_831
log-pow_binary64_849 associate-*r/_binary64_702
rem-exp-log_binary64_800 +-commutative_binary64_690 sum-log_binary64_851 associate-*l*_binary64_701 rem-log-exp_binary64_801 *-commutative_binary64_691
Counts
4 → 69
Calls

4 calls:

22.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 (log.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
15.0ms
(exp.f64 (log.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
10.0ms
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
9.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series923.0ms (9.2%)

Counts
4 → 29
Calls

4 calls:

547.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 (log.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
190.0ms
(exp.f64 (log.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
142.0ms
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
44.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 730 to 636 computations (12.9% saved)

simplify143.0ms (1.4%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
050051611

prune148.0ms (1.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New98098
Fresh011
Picked011
Done011
Total983101
Error
0b
Counts
101 → 3
Compiler

Compiled 1668 to 672 computations (59.7% saved)

localize24.0ms (0.2%)

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)

rewrite67.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64_760
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 pow1_binary64_821 add-sqr-sqrt_binary64_782
associate-*r/_binary64_702
add-cube-cbrt_binary64_795
add-log-exp_binary64_799
flip3-+_binary64_763 flip-+_binary64_734 associate-*r*_binary64_700 cube-div_binary64_789
associate-*l*_binary64_701 pow-unpow_binary64_837
distribute-lft-out_binary64_711 prod-exp_binary64_809 pow-exp_binary64_828 rem-cube-cbrt_binary64_783 cbrt-div_binary64_792 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 pow-pow_binary64_832
pow1/3_binary64_842 cube-mult_binary64_790 unswap-sqr_binary64_728 unpow3_binary64_826 distribute-lft-in_binary64_709 distribute-rgt-in_binary64_710 pow-to-exp_binary64_829 +-commutative_binary64_690 sum-log_binary64_851 cbrt-prod_binary64_791 sqr-pow_binary64_732 cube-prod_binary64_788 *-commutative_binary64_691 unpow-prod-down_binary64_839
Counts
4 → 70
Calls

4 calls:

18.0ms
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
18.0ms
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
11.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
8.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))

series1.2s (11.9%)

Counts
4 → 42
Calls

4 calls:

660.0ms
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
271.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))
216.0ms
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
48.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 1458 to 1158 computations (20.6% saved)

simplify165.0ms (1.6%)

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (109.0ms)

IterNodesCost
049852723
149852723

prune215.0ms (2.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh000
Picked011
Done022
Total1123115
Error
0b
Counts
115 → 3
Compiler

Compiled 2459 to 1099 computations (55.3% saved)

regimes222.0ms (2.2%)

Accuracy

Total 0.0b remaining (88.4%)

Threshold costs 0.0b (88.4%)

Compiler

Compiled 722 to 614 computations (15% saved)

bsearch0.0ms (0%)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02322
12322

end0.0ms (0%)

sample5.0s (49.6%)

Algorithm
intervals
Results
1.3s1955×body1024valid
852.0ms2005×body1024invalid
471.0ms4530×body128valid
344.0ms1028×body512valid
304.0ms970×body512invalid
106.0ms483×body256valid
101.0ms498×body256invalid
80.0ms715×body128invalid
5.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 137 to 118 computations (13.9% saved)

Profiling

Loading profile data...