Details

Time bar (total: 9.2s)

analyze2.3s (24.7%)

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)

sample48.0ms (0.5%)

Algorithm
intervals
Results
26.0ms254×body128valid
1.0msbody1024valid
1.0ms10×body128invalid
1.0msbody512invalid
0.0msbody1024invalid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify206.0ms (2.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0535343

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 14.8b

Counts
2 → 1
Compiler

Compiled 56 to 44 computations (21.4% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
0.0b
(exp.f64 (-.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)
34.0b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite60.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64_760
19×add-sqr-sqrt_binary64_782
12×add-log-exp_binary64_799
10×cancel-sign-sub-inv_binary64_726 add-cube-cbrt_binary64_795
exp-prod_binary64_812 unpow-prod-down_binary64_839
add-exp-log_binary64_798 exp-sum_binary64_806 pow1_binary64_821
cos-sum_binary64_894 difference-of-squares_binary64_729 add-cbrt-cube_binary64_796 distribute-lft-out--_binary64_712
diff-log_binary64_852 rem-exp-log_binary64_800 sub-neg_binary64_753 pow-unpow_binary64_837
distribute-lft-out_binary64_711
unpow2_binary64_825 exp-diff_binary64_808 pow-exp_binary64_828 pow-to-exp_binary64_829 sum-log_binary64_851 sqr-pow_binary64_732 cos-diff_binary64_897 times-frac_binary64_766 flip--_binary64_735 pow-pow_binary64_832 flip3--_binary64_764
Counts
4 → 71
Calls

4 calls:

20.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
13.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
10.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
10.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)

series601.0ms (6.5%)

Counts
4 → 12
Calls

4 calls:

262.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
153.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
98.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
88.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)

simplify53.0ms (0.6%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
051851713

prune122.0ms (1.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New81283
Fresh000
Picked101
Done000
Total82284

Merged error: 0.4b

Counts
84 → 2
Compiler

Compiled 2911 to 1413 computations (51.5% saved)

localize16.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
(exp.f64 (-.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)

rewrite57.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_760
17×add-sqr-sqrt_binary64_782
14×add-log-exp_binary64_799
cancel-sign-sub-inv_binary64_726 add-cube-cbrt_binary64_795
exp-prod_binary64_812 unpow-prod-down_binary64_839
distribute-lft-out--_binary64_712 exp-sum_binary64_806
diff-log_binary64_852 distribute-lft-out_binary64_711 add-exp-log_binary64_798 difference-of-squares_binary64_729 pow1_binary64_821
rem-exp-log_binary64_800 add-cbrt-cube_binary64_796 pow-unpow_binary64_837
sum-log_binary64_851 sub-neg_binary64_753
unpow2_binary64_825 exp-diff_binary64_808 pow-exp_binary64_828 pow-to-exp_binary64_829 associate--r+_binary64_696 sqr-pow_binary64_732 times-frac_binary64_766 flip--_binary64_735 pow-pow_binary64_832 flip3--_binary64_764
Counts
3 → 63
Calls

3 calls:

20.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
19.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
12.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

series825.0ms (9%)

Counts
3 → 9
Calls

3 calls:

473.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
251.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
101.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

simplify57.0ms (0.6%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
054171705

prune84.0ms (0.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh011
Picked011
Done000
Total72274

Merged error: 0.4b

Counts
74 → 2
Compiler

Compiled 1863 to 1005 computations (46.1% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
2.2b
(exp.f64 (log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
7.3b
(log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
23.7b
(cos.f64 (exp.f64 (log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))

rewrite50.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64_782
15×*-un-lft-identity_binary64_760
10×log-prod_binary64_846
add-cube-cbrt_binary64_795
pow1_binary64_821
add-exp-log_binary64_798 unpow-prod-down_binary64_839
exp-sum_binary64_806
log-div_binary64_847 exp-prod_binary64_812 add-log-exp_binary64_799 difference-of-squares_binary64_729 add-cbrt-cube_binary64_796
distribute-lft-out--_binary64_712 pow-unpow_binary64_837
exp-diff_binary64_808 log-pow_binary64_849 flip--_binary64_735 flip3--_binary64_764
unpow2_binary64_825 pow-exp_binary64_828 rem-exp-log_binary64_800 pow-to-exp_binary64_829 rem-log-exp_binary64_801 sqr-pow_binary64_732 times-frac_binary64_766 pow-pow_binary64_832
Counts
4 → 63
Calls

4 calls:

12.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
11.0ms
(cos.f64 (exp.f64 (log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))
10.0ms
(exp.f64 (log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
9.0ms
(log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

series1.6s (16.9%)

Counts
4 → 12
Calls

4 calls:

1.0s
(cos.f64 (exp.f64 (log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))
292.0ms
(exp.f64 (log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
149.0ms
(log.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
97.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

simplify44.0ms (0.5%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
055651393

prune107.0ms (1.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New73275
Fresh000
Picked011
Done011
Total73477

Merged error: 0.4b

Counts
77 → 4
Compiler

Compiled 2701 to 1406 computations (47.9% saved)

localize19.0ms (0.2%)

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
(exp.f64 (-.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.2b
(cos.f64 (*.f64 K (*.f64 m 1/2)))

rewrite62.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity_binary64_760
18×add-sqr-sqrt_binary64_782
15×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
add-exp-log_binary64_798 distribute-lft-out--_binary64_712 exp-sum_binary64_806 pow1_binary64_821
diff-log_binary64_852 distribute-lft-out_binary64_711 difference-of-squares_binary64_729 add-cbrt-cube_binary64_796
rem-exp-log_binary64_800 pow-unpow_binary64_837
sum-log_binary64_851 sub-neg_binary64_753
unpow2_binary64_825 exp-diff_binary64_808 pow-exp_binary64_828 pow-to-exp_binary64_829 associate--r+_binary64_696 sqr-pow_binary64_732 times-frac_binary64_766 flip--_binary64_735 pow-pow_binary64_832 flip3--_binary64_764
Counts
4 → 70
Calls

4 calls:

20.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
19.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
12.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
4.0ms
(cos.f64 (*.f64 K (*.f64 m 1/2)))

series647.0ms (7%)

Counts
4 → 12
Calls

4 calls:

267.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
252.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
109.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
19.0ms
(cos.f64 (*.f64 K (*.f64 m 1/2)))

simplify58.0ms (0.6%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
054401815

prune111.0ms (1.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh011
Picked101
Done022
Total82486

Merged error: 0.4b

Counts
86 → 4
Compiler

Compiled 2465 to 1355 computations (45% saved)

regimes259.0ms (2.8%)

Compiler

Compiled 3104 to 2502 computations (19.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06231
16231

end0.0ms (0%)

sample1.8s (20%)

Algorithm
intervals
Results
846.0ms7835×body128valid
40.0ms87×body1024invalid
33.0ms292×body128invalid
32.0ms65×body1024valid
24.0ms72×body512valid
21.0ms66×body512invalid
11.0ms52×body256invalid
10.0ms15×body2048invalid
6.0ms28×body256valid
Compiler

Compiled 556 to 448 computations (19.4% saved)

Profiling

Loading profile data...