Details

Time bar (total: 14.6s)

analyze2.3s (15.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05136473
055
155
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
12.5%87.3%0.2%9
12.5%87.3%0.2%10
18.7%81.1%0.2%11
18.7%81.1%0.2%12
18.7%81.1%0.2%13
20.5%79.3%0.2%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample51.0ms (0.3%)

Algorithm
intervals
Results
29.0ms253×body128valid
3.0msbody1024invalid
1.0ms11×body128invalid
0.0msbody2048invalid
0.0msbody256valid
0.0msbody512valid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify50.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0509743

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 56 to 44 computations (21.4% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
33.3b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite150.0ms (1%)

Algorithm
rewrite-expression-head
Error
13.9b
Rules
15×add-sqr-sqrt_binary64_782
14×*-un-lft-identity_binary64_760
add-cube-cbrt_binary64_795 add-log-exp_binary64_799
cancel-sign-sub-inv_binary64_726 unpow-prod-down_binary64_839
pow1_binary64_821 add-exp-log_binary64_798
cos-sum_binary64_894 add-cbrt-cube_binary64_796
difference-of-squares_binary64_729 pow-unpow_binary64_837
sub-neg_binary64_753 distribute-lft-out--_binary64_712
cos-diff_binary64_897 times-frac_binary64_766 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 diff-log_binary64_852 flip3--_binary64_764 flip--_binary64_735 sum-log_binary64_851 flip3-+_binary64_763 flip-+_binary64_734 distribute-lft-out_binary64_711 +-commutative_binary64_690
Counts
4 → 61
Calls

4 calls:

15.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
15.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
9.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
Compiler

Compiled 2347 to 1174 computations (50% saved)

series1.5s (10.1%)

Error
0.6b
Counts
4 → 97
Calls

4 calls:

623.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
299.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
267.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
142.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
Compiler

Compiled 8426 to 5727 computations (32% saved)

simplify77.0ms (0.5%)

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049993021
149993021

prune216.0ms (1.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1544158
Fresh000
Picked101
Done000
Total1554159
Error
0.6b
Counts
159 → 4
Compiler

Compiled 5290 to 2451 computations (53.7% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
0.0b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
0.0b
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

rewrite173.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
23×*-un-lft-identity_binary64_760
19×add-sqr-sqrt_binary64_782
11×add-log-exp_binary64_799
10×add-cube-cbrt_binary64_795
associate-*r*_binary64_700 cancel-sign-sub-inv_binary64_726
pow1_binary64_821
unpow-prod-down_binary64_839 add-exp-log_binary64_798 add-cbrt-cube_binary64_796
exp-sum_binary64_806
distribute-lft-out_binary64_711
difference-of-squares_binary64_729 distribute-lft-out--_binary64_712 pow-unpow_binary64_837 associate-*l*_binary64_701
sum-log_binary64_851 sub-neg_binary64_753 diff-log_binary64_852
times-frac_binary64_766 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 flip3-+_binary64_763 flip-+_binary64_734 +-commutative_binary64_690 pow-prod-down_binary64_831 prod-exp_binary64_809 cbrt-unprod_binary64_793 unswap-sqr_binary64_728 exp-diff_binary64_808 associate-*r/_binary64_702 *-commutative_binary64_691 flip3--_binary64_764 flip--_binary64_735 associate--r+_binary64_696
Counts
4 → 77
Calls

4 calls:

23.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
16.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
15.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
13.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 2450 to 1239 computations (49.4% saved)

series2.0s (13.9%)

Error
0.6b
Counts
4 → 105
Calls

4 calls:

628.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
595.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
396.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
280.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 7966 to 5513 computations (30.8% saved)

simplify90.0ms (0.6%)

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050154772

prune204.0ms (1.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1811182
Fresh033
Picked101
Done000
Total1824186
Error
0.6b
Counts
186 → 4
Compiler

Compiled 4938 to 2239 computations (54.7% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))
0.0b
(log.f64 (exp.f64 (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))))
0.0b
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)

rewrite176.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
22×*-un-lft-identity_binary64_760
20×add-sqr-sqrt_binary64_782
11×add-cube-cbrt_binary64_795
10×add-log-exp_binary64_799
pow1_binary64_821 cancel-sign-sub-inv_binary64_726 associate-*r*_binary64_700
unpow-prod-down_binary64_839 add-exp-log_binary64_798 add-cbrt-cube_binary64_796
exp-sum_binary64_806
difference-of-squares_binary64_729 distribute-lft-out--_binary64_712 pow-unpow_binary64_837 distribute-lft-out_binary64_711 log-pow_binary64_849 log-prod_binary64_846 associate-*l*_binary64_701
diff-log_binary64_852 sub-neg_binary64_753
times-frac_binary64_766 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 sum-log_binary64_851 flip3--_binary64_764 flip--_binary64_735 associate--r+_binary64_696 exp-to-pow_binary64_822 exp-prod_binary64_812 rem-log-exp_binary64_801 pow-prod-down_binary64_831 prod-exp_binary64_809 cbrt-unprod_binary64_793 unswap-sqr_binary64_728 exp-diff_binary64_808 associate-*r/_binary64_702 *-commutative_binary64_691
Counts
4 → 79
Calls

4 calls:

26.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))
17.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)
2.0ms
(log.f64 (exp.f64 (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))))
Compiler

Compiled 2710 to 1439 computations (46.9% saved)

series2.6s (17.9%)

Error
0.6b
Counts
4 → 84
Calls

4 calls:

1.2s
(log.f64 (exp.f64 (*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))))
653.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))
397.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))
281.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)
Compiler

Compiled 7558 to 5348 computations (29.2% saved)

simplify91.0ms (0.6%)

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
051134875

prune209.0ms (1.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1630163
Fresh033
Picked011
Done000
Total1634167
Error
0.6b
Counts
167 → 4
Compiler

Compiled 4893 to 2352 computations (51.9% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
33.3b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
33.3b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
33.3b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite151.0ms (1%)

Algorithm
rewrite-expression-head
Error
0.6b
Rules
12×cos-sum_binary64_894
cancel-sign-sub-inv_binary64_726
add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782 *-un-lft-identity_binary64_760
pow1_binary64_821 add-log-exp_binary64_799 add-exp-log_binary64_798 add-cbrt-cube_binary64_796
cos-diff_binary64_897 sub-neg_binary64_753 cbrt-prod_binary64_791
pow1/3_binary64_842
Counts
4 → 47
Calls

4 calls:

12.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
2.0ms
(cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
Compiler

Compiled 3113 to 1533 computations (50.8% saved)

series1.2s (7.9%)

Error
0.6b
Counts
4 → 54
Calls

4 calls:

563.0ms
(cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
160.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
159.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
150.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
Compiler

Compiled 9295 to 5925 computations (36.3% saved)

simplify127.0ms (0.9%)

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (103.0ms)

IterNodesCost
048462076
148462076

prune217.0ms (1.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh112
Picked101
Done011
Total1023105
Error
0.6b
Counts
105 → 3
Compiler

Compiled 5818 to 2893 computations (50.3% saved)

regimes560.0ms (3.8%)

Accuracy

Total 0.2b remaining (17.9%)

Threshold costs 0.2b (17.9%)

Compiler

Compiled 6740 to 5754 computations (14.6% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06435
16435

end0.0ms (0%)

sample2.4s (16.6%)

Algorithm
intervals
Results
785.0ms7837×body128valid
34.0ms84×body1024invalid
29.0ms65×body1024valid
28.0ms288×body128invalid
26.0ms89×body512invalid
24.0ms62×body512valid
15.0ms19×body2048invalid
12.0ms59×body256invalid
8.0ms35×body256valid
1.0msbody2048valid
Compiler

Compiled 1164 to 992 computations (14.8% saved)

Profiling

Loading profile data...