Details

Time bar (total: 21.9s)

analyze4.1s (18.6%)

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

sample93.0ms (0.4%)

Algorithm
intervals
Results
45.0ms248×body128valid
6.0msbody1024invalid
3.0msbody1024valid
2.0ms13×body128invalid
2.0msbody512invalid
1.0msbody512valid
1.0msbody256valid
1.0msbody256invalid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify267.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
0509743

prune10.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 56 to 44 computations (21.4% saved)

localize39.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite325.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
14.2b
Rules
20×*-un-lft-identity_binary64_760
18×add-sqr-sqrt_binary64_782
11×add-log-exp_binary64_799
10×cancel-sign-sub-inv_binary64_726
add-cube-cbrt_binary64_795
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 distribute-lft-out--_binary64_712
sub-neg_binary64_753 pow-unpow_binary64_837 diff-log_binary64_852
flip3--_binary64_764 flip--_binary64_735 distribute-lft-out_binary64_711
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 sum-log_binary64_851 associate--r+_binary64_696
Counts
4 → 69
Calls

4 calls:

43.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
23.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
20.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
18.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
Compiler

Compiled 2698 to 1339 computations (50.4% saved)

series2.5s (11.4%)

Error
1.7b
Counts
4 → 91
Calls

4 calls:

1.2s
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
525.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
326.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
234.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
Compiler

Compiled 7843 to 5373 computations (31.5% saved)

simplify120.0ms (0.5%)

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
050503430

prune460.0ms (2.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1546160
Fresh000
Picked101
Done000
Total1556161
Error
1.6b
Counts
161 → 6
Compiler

Compiled 5387 to 2568 computations (52.3% saved)

localize37.0ms (0.2%)

Local error

Found 3 expressions with local error:

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 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

rewrite260.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
1.6b
Rules
20×*-un-lft-identity_binary64_760
18×add-sqr-sqrt_binary64_782
add-cube-cbrt_binary64_795
add-log-exp_binary64_799 cancel-sign-sub-inv_binary64_726 associate-*r*_binary64_700
unpow-prod-down_binary64_839 pow1_binary64_821
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 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 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
3 → 65
Calls

3 calls:

48.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))))
36.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
23.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 2067 to 1040 computations (49.7% saved)

series2.6s (11.7%)

Error
1.6b
Counts
3 → 73
Calls

3 calls:

1.1s
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
752.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))))
524.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 5821 to 4008 computations (31.1% saved)

simplify162.0ms (0.7%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
050203800

prune300.0ms (1.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1380138
Fresh055
Picked011
Done000
Total1386144
Error
1.6b
Counts
144 → 6
Compiler

Compiled 3854 to 1788 computations (53.6% saved)

localize38.0ms (0.2%)

Local error

Found 3 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
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
27.7b
(cos.f64 (*.f64 1/2 (*.f64 m K)))

rewrite215.0ms (1%)

Algorithm
rewrite-expression-head
Error
1.6b
Rules
15×*-un-lft-identity_binary64_760
13×add-sqr-sqrt_binary64_782
add-log-exp_binary64_799
add-cube-cbrt_binary64_795 unpow-prod-down_binary64_839
pow1_binary64_821 add-exp-log_binary64_798 cancel-sign-sub-inv_binary64_726
add-cbrt-cube_binary64_796 difference-of-squares_binary64_729 distribute-lft-out--_binary64_712 pow-unpow_binary64_837
diff-log_binary64_852 distribute-lft-out_binary64_711
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 sub-neg_binary64_753 flip--_binary64_735 associate--r+_binary64_696
Counts
3 → 48
Calls

3 calls:

37.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
23.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
5.0ms
(cos.f64 (*.f64 1/2 (*.f64 m K)))
Compiler

Compiled 1645 to 894 computations (45.7% saved)

series2.0s (9%)

Error
1.6b
Counts
3 → 68
Calls

3 calls:

1.2s
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
540.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
85.0ms
(cos.f64 (*.f64 1/2 (*.f64 m K)))
Compiler

Compiled 5226 to 3721 computations (28.8% saved)

simplify142.0ms (0.6%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
049682624
149682624

prune305.0ms (1.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1151116
Fresh044
Picked101
Done011
Total1166122
Error
1.6b
Counts
122 → 6
Compiler

Compiled 3539 to 1799 computations (49.2% saved)

localize47.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(cbrt.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))))
27.7b
(cos.f64 (*.f64 1/2 (*.f64 K m)))
27.7b
(cos.f64 (*.f64 1/2 (*.f64 K m)))
27.7b
(cos.f64 (*.f64 1/2 (*.f64 K m)))

rewrite158.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
1.6b
Rules
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
cbrt-prod_binary64_791
pow1/3_binary64_842
Counts
4 → 32
Calls

4 calls:

5.0ms
(cos.f64 (*.f64 1/2 (*.f64 K m)))
5.0ms
(cos.f64 (*.f64 1/2 (*.f64 K m)))
5.0ms
(cos.f64 (*.f64 1/2 (*.f64 K m)))
4.0ms
(cbrt.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))))
Compiler

Compiled 1545 to 909 computations (41.2% saved)

series722.0ms (3.3%)

Error
1.6b
Counts
4 → 32
Calls

4 calls:

334.0ms
(cbrt.f64 (cos.f64 (*.f64 1/2 (*.f64 K m))))
104.0ms
(cos.f64 (*.f64 1/2 (*.f64 K m)))
103.0ms
(cos.f64 (*.f64 1/2 (*.f64 K m)))
83.0ms
(cos.f64 (*.f64 1/2 (*.f64 K m)))
Compiler

Compiled 3730 to 2732 computations (26.8% saved)

simplify175.0ms (0.8%)

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (147.0ms)

IterNodesCost
04731694
14731694

prune229.0ms (1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New63164
Fresh044
Picked101
Done011
Total64670
Error
1.6b
Counts
70 → 6
Compiler

Compiled 2772 to 1592 computations (42.6% saved)

regimes1.4s (6.5%)

Accuracy

Total 0.2b remaining (15.2%)

Threshold costs 0.2b (15.2%)

Compiler

Compiled 8918 to 7608 computations (14.7% saved)

bsearch0.0ms (0%)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06231
16231

end0.0ms (0%)

sample5.2s (23.9%)

Algorithm
intervals
Results
1.5s7841×body128valid
70.0ms88×body1024invalid
68.0ms72×body1024valid
52.0ms265×body128invalid
47.0ms82×body512invalid
35.0ms56×body512valid
27.0ms53×body256invalid
12.0ms30×body256valid
12.0ms11×body2048invalid
1.0msbody2048valid
Compiler

Compiled 1525 to 1299 computations (14.8% saved)

Profiling

Loading profile data...