Details

Time bar (total: 11.3s)

analyze2.3s (20.3%)

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)

sample47.0ms (0.4%)

Algorithm
intervals
Results
24.0ms250×body128valid
1.0msbody1024valid
1.0msbody512invalid
1.0msbody1024invalid
1.0msbody512valid
1.0msbody2048invalid
0.0msbody128invalid
0.0msbody256valid
0.0msbody256invalid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify50.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0509743

prune11.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 56 to 44 computations (21.4% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite192.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
16.7b
Rules
20×*-un-lft-identity_binary64_760
18×add-sqr-sqrt_binary64_782
11×add-cube-cbrt_binary64_795
10×add-log-exp_binary64_799 add-exp-log_binary64_798
add-cbrt-cube_binary64_796
cancel-sign-sub-inv_binary64_726
exp-prod_binary64_812 unpow-prod-down_binary64_839
pow1_binary64_821 exp-sum_binary64_806
cos-sum_binary64_894 times-frac_binary64_766
associate-/r*_binary64_704 difference-of-squares_binary64_729 distribute-lft-out--_binary64_712 rem-exp-log_binary64_800 pow-unpow_binary64_837
sub-neg_binary64_753 div-exp_binary64_811 cbrt-undiv_binary64_794 associate-*r/_binary64_702 associate-/l/_binary64_707 distribute-lft-out_binary64_711 diff-log_binary64_852
cos-diff_binary64_897 prod-exp_binary64_809 cbrt-unprod_binary64_793 frac-2neg_binary64_771 clear-num_binary64_759 div-inv_binary64_757 flip3-+_binary64_763 flip-+_binary64_734 associate-/l*_binary64_705 exp-diff_binary64_808 sum-log_binary64_851 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732
Counts
4 → 78
Calls

4 calls:

18.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
10.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
7.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
Compiler

Compiled 2923 to 1479 computations (49.4% saved)

series960.0ms (8.5%)

Error
1.3b
Counts
4 → 69
Calls

4 calls:

292.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
270.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
190.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
104.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
Compiler

Compiled 7370 to 4925 computations (33.2% saved)

simplify80.0ms (0.7%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049723168
149723168

prune229.0ms (2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1416147
Fresh000
Picked101
Done000
Total1426148
Error
1.2b
Counts
148 → 6
Compiler

Compiled 5240 to 2507 computations (52.2% saved)

localize15.0ms (0.1%)

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

rewrite133.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
1.2b
Rules
24×*-un-lft-identity_binary64_760
17×add-sqr-sqrt_binary64_782
14×add-log-exp_binary64_799
add-cube-cbrt_binary64_795 cancel-sign-sub-inv_binary64_726
exp-prod_binary64_812 unpow-prod-down_binary64_839
distribute-lft-out--_binary64_712 exp-sum_binary64_806
pow1_binary64_821 difference-of-squares_binary64_729 distribute-lft-out_binary64_711 diff-log_binary64_852 add-exp-log_binary64_798
rem-exp-log_binary64_800 add-cbrt-cube_binary64_796 pow-unpow_binary64_837
sub-neg_binary64_753 sum-log_binary64_851
exp-diff_binary64_808 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_764 flip--_binary64_735 associate--r+_binary64_696
Counts
3 → 63
Calls

3 calls:

18.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
17.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 1950 to 990 computations (49.2% saved)

series1.2s (11%)

Error
1.2b
Counts
3 → 74
Calls

3 calls:

620.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
274.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
259.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
Compiler

Compiled 6084 to 4161 computations (31.6% saved)

simplify81.0ms (0.7%)

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049993657
149993657

prune156.0ms (1.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1361137
Fresh145
Picked011
Done000
Total1376143
Error
1.2b
Counts
143 → 6
Compiler

Compiled 3816 to 1743 computations (54.3% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite117.0ms (1%)

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

4 calls:

19.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (+.f64 n m)) (cbrt.f64 2)) M))
1.0ms
(cbrt.f64 2)
1.0ms
(cbrt.f64 2)
1.0ms
(cbrt.f64 2)
Compiler

Compiled 1951 to 1260 computations (35.4% saved)

series386.0ms (3.4%)

Error
1.2b
Counts
4 → 16
Calls

4 calls:

356.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (+.f64 n m)) (cbrt.f64 2)) M))
0.0ms
(cbrt.f64 2)
0.0ms
(cbrt.f64 2)
0.0ms
(cbrt.f64 2)
Compiler

Compiled 2087 to 1543 computations (26.1% saved)

simplify58.0ms (0.5%)

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04962871
14962871

prune107.0ms (0.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New60161
Fresh134
Picked011
Done011
Total61667
Error
1.2b
Counts
67 → 6
Compiler

Compiled 2400 to 1443 computations (39.9% saved)

localize30.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite144.0ms (1.3%)

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

4 calls:

19.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (/.f64 K (*.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 (cbrt.f64 2))))) (+.f64 n m)) (cbrt.f64 2)) M))
1.0ms
(cbrt.f64 2)
1.0ms
(cbrt.f64 2)
1.0ms
(cbrt.f64 2)
Compiler

Compiled 2391 to 1700 computations (28.9% saved)

series418.0ms (3.7%)

Error
1.2b
Counts
4 → 16
Calls

4 calls:

386.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (/.f64 K (*.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 (cbrt.f64 2))))) (+.f64 n m)) (cbrt.f64 2)) M))
0.0ms
(cbrt.f64 2)
0.0ms
(cbrt.f64 2)
0.0ms
(cbrt.f64 2)
Compiler

Compiled 2087 to 1543 computations (26.1% saved)

simplify61.0ms (0.5%)

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050801339

prune133.0ms (1.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New60161
Fresh033
Picked101
Done022
Total61667
Error
1.2b
Counts
67 → 6
Compiler

Compiled 2807 to 1877 computations (33.1% saved)

regimes999.0ms (8.8%)

Accuracy

Total 0.2b remaining (18.8%)

Threshold costs 0.2b (18.8%)

Compiler

Compiled 13904 to 11400 computations (18% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06233
16233

end0.0ms (0%)

sample3.3s (29.3%)

Algorithm
intervals
Results
801.0ms7851×body128valid
37.0ms92×body1024invalid
35.0ms68×body1024valid
29.0ms292×body128invalid
28.0ms79×body512invalid
17.0ms52×body512valid
13.0ms24×body2048invalid
8.0ms42×body256invalid
6.0ms28×body256valid
1.0msbody2048valid
Compiler

Compiled 2357 to 1932 computations (18% saved)

Profiling

Loading profile data...