Details

Time bar (total: 6.4s)

analyze2.4s (37.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)

sample48.0ms (0.7%)

Algorithm
intervals
Results
25.0ms249×body80valid
2.0msbody640valid
1.0msbody1280valid
1.0msbody80invalid
1.0msbody320invalid
1.0msbody1280invalid
1.0msbody640invalid
0.0msbody160invalid
0.0msbody320valid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify63.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
0536443

prune9.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 13.1b

Counts
2 → 1
Compiler

Compiled 56 to 44 computations (21.4% saved)

localize26.0ms (0.4%)

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

rewrite45.0ms (0.7%)

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

4 calls:

16.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)
9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
7.0ms
(*.f64 K (+.f64 m n))

series88.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

41.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
23.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
17.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
7.0ms
(*.f64 K (+.f64 m n))

simplify89.0ms (1.4%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049621487
149621487

prune102.0ms (1.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New76581
Fresh000
Picked101
Done000
Total77582

Merged error: 1.4b

Counts
82 → 5
Compiler

Compiled 2860 to 1420 computations (50.3% saved)

localize13.0ms (0.2%)

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

rewrite54.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
13×add-log-exp_binary64
add-cube-cbrt_binary64 unpow-prod-down_binary64
pow1_binary64 add-exp-log_binary64 difference-of-squares_binary64
add-cbrt-cube_binary64 distribute-lft-out--_binary64
pow-unpow_binary64 diff-log_binary64
sub-neg_binary64 flip3--_binary64 distribute-lft-out_binary64 times-frac_binary64 flip--_binary64 sum-log_binary64
pow-to-exp_binary64 flip3-+_binary64 associate--r+_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 +-commutative_binary64 flip-+_binary64 pow-exp_binary64
Counts
4 → 63
Calls

4 calls:

16.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
14.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
11.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)

series100.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

40.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
37.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
16.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
6.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)

simplify89.0ms (1.4%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
050671586

prune73.0ms (1.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New75075
Fresh044
Picked011
Done000
Total75580

Merged error: 1.4b

Counts
80 → 5
Compiler

Compiled 2010 to 1114 computations (44.6% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
12×cbrt-prod_binary64
add-cube-cbrt_binary64 add-sqr-sqrt_binary64
cbrt-div_binary64
add-log-exp_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
flip3-+_binary64 distribute-lft-out_binary64 pow1/3_binary64 flip-+_binary64
sub-neg_binary64 cos-diff_binary64 cos-sum_binary64
Counts
4 → 51
Calls

4 calls:

18.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (cbrt.f64 (+.f64 m n))) 2) M))
3.0ms
(cbrt.f64 (+.f64 m n))
3.0ms
(cbrt.f64 (+.f64 m n))
3.0ms
(cbrt.f64 (+.f64 m n))

series122.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

32.0ms
(cbrt.f64 (+.f64 m n))
30.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (cbrt.f64 (+.f64 m n))) 2) M))
30.0ms
(cbrt.f64 (+.f64 m n))
30.0ms
(cbrt.f64 (+.f64 m n))

simplify85.0ms (1.3%)

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04894897
14894897

prune81.0ms (1.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New61263
Fresh033
Picked011
Done011
Total61768

Merged error: 1.4b

Counts
68 → 7
Compiler

Compiled 2894 to 1262 computations (56.4% saved)

localize33.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

rewrite43.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
12×cbrt-prod_binary64
add-cube-cbrt_binary64 add-sqr-sqrt_binary64
cbrt-div_binary64
add-log-exp_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
flip3-+_binary64 distribute-lft-out_binary64 pow1/3_binary64 flip-+_binary64
sub-neg_binary64 cos-diff_binary64 cos-sum_binary64
Counts
4 → 51
Calls

4 calls:

31.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (+.f64 m n))) (cbrt.f64 (cbrt.f64 (+.f64 m n)))) (cbrt.f64 (cbrt.f64 (+.f64 m n))))) 2) M))
3.0ms
(cbrt.f64 (+.f64 m n))
3.0ms
(cbrt.f64 (+.f64 m n))
3.0ms
(cbrt.f64 (+.f64 m n))

series122.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

34.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (+.f64 m n))) (cbrt.f64 (cbrt.f64 (+.f64 m n)))) (cbrt.f64 (cbrt.f64 (+.f64 m n))))) 2) M))
30.0ms
(cbrt.f64 (+.f64 m n))
29.0ms
(cbrt.f64 (+.f64 m n))
29.0ms
(cbrt.f64 (+.f64 m n))

simplify77.0ms (1.2%)

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
05604861

prune65.0ms (1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New62163
Fresh134
Picked011
Done022
Total63770

Merged error: 1.3b

Counts
70 → 7
Compiler

Compiled 3385 to 1209 computations (64.3% saved)

regimes307.0ms (4.8%)

Compiler

Compiled 1305 to 930 computations (28.7% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06326
16326

end0.0ms (0%)

sample2.2s (34.2%)

Algorithm
intervals
Results
831.0ms7820×body80valid
47.0ms83×body1280invalid
37.0ms88×body640invalid
36.0ms75×body640valid
32.0ms45×body1280valid
29.0ms291×body80invalid
19.0ms61×body320invalid
12.0ms38×body320valid
6.0ms30×body160invalid
5.0ms22×body160valid
4.0msbody2560invalid
Compiler

Compiled 306 to 221 computations (27.8% saved)

Profiling

Loading profile data...