Details

Time bar (total: 13.9s)

analyze392.0ms (2.8%)

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 13 to 12 computations (7.7% saved)

sample149.0ms (1.1%)

Algorithm
intervals
Results
74.0ms166×body1024valid
19.0ms66×body1024invalid
13.0ms53×body512valid
6.0ms28×body512invalid
6.0msbody2048valid
3.0ms21×body256valid
3.0ms22×body256invalid
1.0ms19×body128invalid
1.0msbody128valid
Compiler

Compiled 25 to 25 computations (0% saved)

simplify220.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (109.0ms)

IterNodesCost
0534018

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
57.7b
Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite85.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
57.6b
Rules
10×add-sqr-sqrt_binary64_2828 *-un-lft-identity_binary64_2806
cancel-sign-sub-inv_binary64_2772
pow1_binary64_2867 add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842
add-cube-cbrt_binary64_2841
associate-*r*_binary64_2746
add-log-exp_binary64_2845 distribute-rgt-in_binary64_2756 distribute-lft-in_binary64_2755
sub-neg_binary64_2799 pow-prod-down_binary64_2877 prod-exp_binary64_2855 cbrt-unprod_binary64_2839
flip3--_binary64_2810 flip--_binary64_2781 difference-of-squares_binary64_2775 distribute-lft-out--_binary64_2758 associate-*r/_binary64_2748
diff-log_binary64_2898 associate-*l*_binary64_2747 *-commutative_binary64_2737
Counts
2 → 46
Calls

2 calls:

12.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
7.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 925 to 309 computations (66.6% saved)

series229.0ms (1.6%)

Error
0.1b
Counts
2 → 16
Calls

2 calls:

167.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
36.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 618 to 455 computations (26.4% saved)

simplify90.0ms (0.6%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
050531131

prune73.0ms (0.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New58462
Fresh000
Picked101
Done000
Total59463
Error
0.1b
Counts
63 → 4
Compiler

Compiled 1059 to 438 computations (58.6% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 1/60 (pow.f64 im 5))
0.0b
(*.f64 1/2520 (pow.f64 im 7))
0.1b
(*.f64 1/3 (pow.f64 im 3))
0.1b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (-.f64 (-.f64 (*.f64 -2 im) (*.f64 1/3 (pow.f64 im 3))) (*.f64 1/60 (pow.f64 im 5))) (*.f64 1/2520 (pow.f64 im 7))))

rewrite330.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
32×add-sqr-sqrt_binary64_2828
29×associate-*r*_binary64_2746
24×add-exp-log_binary64_2844
15×add-cbrt-cube_binary64_2842 add-cube-cbrt_binary64_2841 *-un-lft-identity_binary64_2806
12×prod-exp_binary64_2855 associate--l+_binary64_2743 unpow-prod-down_binary64_2885
10×associate-*l*_binary64_2747 unswap-sqr_binary64_2774
pow1_binary64_2867
cbrt-unprod_binary64_2839 sub-neg_binary64_2799 distribute-rgt-in_binary64_2756 cancel-sign-sub-inv_binary64_2772 distribute-lft-in_binary64_2755 sqr-pow_binary64_2778
add-log-exp_binary64_2845 *-commutative_binary64_2737 cube-prod_binary64_2834
pow-prod-down_binary64_2877 pow-to-exp_binary64_2875 pow-exp_binary64_2874
associate-*r/_binary64_2748
flip3--_binary64_2810 flip--_binary64_2781 unpow3_binary64_2872 cube-mult_binary64_2836
Counts
4 → 113
Calls

4 calls:

15.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (-.f64 (-.f64 (*.f64 -2 im) (*.f64 1/3 (pow.f64 im 3))) (*.f64 1/60 (pow.f64 im 5))) (*.f64 1/2520 (pow.f64 im 7))))
7.0ms
(*.f64 1/3 (pow.f64 im 3))
6.0ms
(*.f64 1/60 (pow.f64 im 5))
5.0ms
(*.f64 1/2520 (pow.f64 im 7))
Compiler

Compiled 3971 to 3092 computations (22.1% saved)

series534.0ms (3.8%)

Error
0.1b
Counts
4 → 21
Calls

4 calls:

340.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (-.f64 (-.f64 (*.f64 -2 im) (*.f64 1/3 (pow.f64 im 3))) (*.f64 1/60 (pow.f64 im 5))) (*.f64 1/2520 (pow.f64 im 7))))
54.0ms
(*.f64 1/2520 (pow.f64 im 7))
53.0ms
(*.f64 1/60 (pow.f64 im 5))
44.0ms
(*.f64 1/3 (pow.f64 im 3))
Compiler

Compiled 1692 to 1380 computations (18.4% saved)

simplify57.0ms (0.4%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
051892814

prune322.0ms (2.3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1286134
Fresh033
Picked101
Done000
Total1299138
Error
0.1b
Counts
138 → 9
Compiler

Compiled 4751 to 3666 computations (22.8% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (pow.f64 im 5) 1/120)
0.1b
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
0.1b
(*.f64 (cos.f64 re) (+.f64 im (*.f64 (pow.f64 im 5) 1/120)))
0.2b
(*.f64 (cos.f64 re) -1/6)

rewrite188.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
26×add-exp-log_binary64_2844
25×associate-*l*_binary64_2747
23×add-sqr-sqrt_binary64_2828
15×add-cbrt-cube_binary64_2842
14×prod-exp_binary64_2855 add-cube-cbrt_binary64_2841 *-un-lft-identity_binary64_2806
10×associate-*r*_binary64_2746
pow1_binary64_2867
unpow-prod-down_binary64_2885
cbrt-unprod_binary64_2839
unswap-sqr_binary64_2774
add-log-exp_binary64_2845 *-commutative_binary64_2737
pow-to-exp_binary64_2875 pow-exp_binary64_2874 cube-prod_binary64_2834 sqr-pow_binary64_2778
pow-prod-down_binary64_2877 associate-*r/_binary64_2748
distribute-rgt-in_binary64_2756 distribute-lft-in_binary64_2755 flip3-+_binary64_2809 flip-+_binary64_2780 unpow3_binary64_2872 cube-mult_binary64_2836
Counts
4 → 94
Calls

4 calls:

7.0ms
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
6.0ms
(*.f64 (cos.f64 re) (+.f64 im (*.f64 (pow.f64 im 5) 1/120)))
5.0ms
(*.f64 (pow.f64 im 5) 1/120)
5.0ms
(*.f64 (cos.f64 re) -1/6)
Compiler

Compiled 2432 to 1593 computations (34.5% saved)

series559.0ms (4%)

Error
0.1b
Counts
4 → 24
Calls

4 calls:

306.0ms
(*.f64 (cos.f64 re) (+.f64 im (*.f64 (pow.f64 im 5) 1/120)))
144.0ms
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
50.0ms
(*.f64 (pow.f64 im 5) 1/120)
27.0ms
(*.f64 (cos.f64 re) -1/6)
Compiler

Compiled 1432 to 1065 computations (25.6% saved)

simplify89.0ms (0.6%)

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049381564
149381564

prune189.0ms (1.4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1126118
Fresh448
Picked011
Done000
Total11611127
Error
0.0b
Counts
127 → 11
Compiler

Compiled 3120 to 2081 computations (33.3% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))
0.3b
(cbrt.f64 (cos.f64 re))
0.3b
(cbrt.f64 (cos.f64 re))
0.3b
(cbrt.f64 (cos.f64 re))

rewrite173.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
25×cbrt-prod_binary64_2837
23×add-sqr-sqrt_binary64_2828
15×add-cube-cbrt_binary64_2841 *-un-lft-identity_binary64_2806
11×pow1_binary64_2867
pow1/3_binary64_2888
add-exp-log_binary64_2844 swap-sqr_binary64_2773 associate-*l*_binary64_2747 associate-*r*_binary64_2746
add-log-exp_binary64_2845 add-cbrt-cube_binary64_2842 unswap-sqr_binary64_2774
pow-prod-down_binary64_2877 pow-prod-up_binary64_2876 pow-sqr_binary64_2779
pow2_binary64_2887 pow-plus_binary64_2869 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 *-commutative_binary64_2737
Counts
4 → 73
Calls

4 calls:

10.0ms
(*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))
3.0ms
(cbrt.f64 (cos.f64 re))
3.0ms
(cbrt.f64 (cos.f64 re))
1.0ms
(cbrt.f64 (cos.f64 re))
Compiler

Compiled 2460 to 1110 computations (54.9% saved)

series462.0ms (3.3%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

149.0ms
(*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))
99.0ms
(cbrt.f64 (cos.f64 re))
84.0ms
(cbrt.f64 (cos.f64 re))
83.0ms
(cbrt.f64 (cos.f64 re))
Compiler

Compiled 1772 to 1229 computations (30.6% saved)

simplify97.0ms (0.7%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
04952928
14952928

prune170.0ms (1.2%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New92597
Fresh279
Picked101
Done011
Total9513108
Error
0.0b
Counts
108 → 13
Compiler

Compiled 3015 to 1584 computations (47.5% saved)

regimes1.5s (10.8%)

Accuracy

Total 0.6b remaining (98.6%)

Threshold costs 0.6b (98.6%)

Compiler

Compiled 18612 to 14418 computations (22.5% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
018541
118541

end0.0ms (0%)

sample7.9s (57%)

Algorithm
intervals
Results
2.2s4812×body1024valid
565.0ms2037×body1024invalid
481.0ms1758×body512valid
275.0ms404×body2048valid
211.0ms1040×body512invalid
107.0ms657×body256valid
63.0ms471×body256invalid
58.0ms712×body128invalid
28.0ms369×body128valid
Compiler

Compiled 3175 to 2460 computations (22.5% saved)

Profiling

Loading profile data...