Details

Time bar (total: 8.5s)

analyze2.3s (27.3%)

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)

sample47.0ms (0.6%)

Algorithm
intervals
Results
26.0ms248×body128valid
2.0msbody512valid
1.0msbody1024invalid
1.0msbody512invalid
1.0msbody128invalid
1.0msbody1024valid
0.0msbody256valid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify66.0ms (0.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0496043
1496043

prune13.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.4b

Counts
2 → 2
Compiler

Compiled 142 to 112 computations (21.1% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite75.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
14×add-log-exp_binary64
11×add-cube-cbrt_binary64 cancel-sign-sub-inv_binary64
distribute-lft-out--_binary64
pow1_binary64 add-exp-log_binary64
diff-log_binary64 add-cbrt-cube_binary64 unpow-prod-down_binary64
associate--r+_binary64 associate-*r*_binary64 difference-of-squares_binary64 cos-sum_binary64
pow-unpow_binary64 sub-neg_binary64 associate-*l*_binary64
associate-*r/_binary64 distribute-rgt-neg-in_binary64 neg-log_binary64
pow-to-exp_binary64 pow-prod-down_binary64 flip3-+_binary64 flip3--_binary64 associate--l-_binary64 cbrt-unprod_binary64 distribute-lft-out_binary64 neg-sub0_binary64 unpow2_binary64 associate--r-_binary64 pow-pow_binary64 sqr-pow_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 cos-diff_binary64 prod-exp_binary64 times-frac_binary64 flip--_binary64 flip-+_binary64 pow-exp_binary64 *-commutative_binary64
Counts
4 → 86
Calls

4 calls:

29.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
14.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
12.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
7.0ms
(*.f64 K (+.f64 m n))

series566.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

278.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
142.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
97.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
49.0ms
(*.f64 K (+.f64 m n))

simplify100.0ms (1.2%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049511819
149511819

prune291.0ms (3.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New92698
Fresh101
Picked011
Done000
Total937100

Merged error: 1.6b

Counts
100 → 7
Compiler

Compiled 6326 to 3757 computations (40.6% saved)

localize18.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite47.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
12×add-log-exp_binary64
cancel-sign-sub-inv_binary64 distribute-lft-out--_binary64
diff-log_binary64 add-cube-cbrt_binary64 unpow-prod-down_binary64
associate--r+_binary64 difference-of-squares_binary64
pow-unpow_binary64 pow1_binary64 add-exp-log_binary64
sub-neg_binary64 add-cbrt-cube_binary64 distribute-rgt-neg-in_binary64 neg-log_binary64
pow-to-exp_binary64 flip3--_binary64 associate--l-_binary64 neg-sub0_binary64 unpow2_binary64 associate--r-_binary64 pow-pow_binary64 sqr-pow_binary64 times-frac_binary64 flip--_binary64 pow-exp_binary64
Counts
2 → 51
Calls

2 calls:

29.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
13.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

series367.0ms (4.3%)

Counts
2 → 6
Calls

2 calls:

256.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
112.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

simplify76.0ms (0.9%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
050221230

prune115.0ms (1.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New57057
Fresh055
Picked011
Done011
Total57764

Merged error: 1.6b

Counts
64 → 7
Compiler

Compiled 2435 to 1506 computations (38.2% saved)

localize29.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite47.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
12×cos-sum_binary64
cancel-sign-sub-inv_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
add-log-exp_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
sub-neg_binary64 cos-diff_binary64 cbrt-prod_binary64
pow1/3_binary64
Counts
4 → 47
Calls

4 calls:

14.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
12.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
12.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)))

series978.0ms (11.5%)

Counts
4 → 12
Calls

4 calls:

546.0ms
(cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
147.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
143.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
142.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

simplify78.0ms (0.9%)

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049201248
149201248

prune161.0ms (1.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New58159
Fresh044
Picked101
Done022
Total59766

Merged error: 1.6b

Counts
66 → 7
Compiler

Compiled 4059 to 2114 computations (47.9% saved)

localize31.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite48.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
12×cos-sum_binary64
cancel-sign-sub-inv_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
add-log-exp_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
sub-neg_binary64 cos-diff_binary64 cbrt-prod_binary64
pow1/3_binary64
Counts
4 → 47
Calls

4 calls:

14.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
12.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
12.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)))

series949.0ms (11.1%)

Counts
4 → 12
Calls

4 calls:

543.0ms
(cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
139.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
136.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
132.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

simplify80.0ms (0.9%)

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049201248
149201248

prune160.0ms (1.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New58159
Fresh044
Picked101
Done022
Total59766

Merged error: 1.6b

Counts
66 → 7
Compiler

Compiled 3974 to 2088 computations (47.5% saved)

regimes143.0ms (1.7%)

Compiler

Compiled 1628 to 1260 computations (22.6% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
015926
115926

end0.0ms (0%)

sample1.7s (19.7%)

Algorithm
intervals
Results
878.0ms7854×body128valid
50.0ms99×body1024invalid
34.0ms67×body1024valid
33.0ms305×body128invalid
32.0ms99×body512invalid
23.0ms51×body512valid
15.0ms21×body2048invalid
14.0ms65×body256invalid
6.0ms27×body256valid
1.0msbody2048valid
Compiler

Compiled 307 to 239 computations (22.1% saved)

Profiling

Loading profile data...