Details

Time bar (total: 4.4s)

analyze2.3s (52.4%)

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)

sample54.0ms (1.2%)

Algorithm
intervals
Results
30.0ms246×body80valid
2.0msbody320invalid
1.0msbody1280valid
1.0msbody640valid
1.0msbody320valid
1.0msbody80invalid
1.0msbody1280invalid
0.0msbody160invalid
0.0msbody160valid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify85.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
0493443
1493443

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 16.7b

Counts
2 → 1
Compiler

Compiled 56 to 44 computations (21.4% saved)

localize28.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

rewrite61.0ms (1.4%)

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

4 calls:

26.0ms
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
11.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
8.0ms
(*.f64 K (+.f64 m n))

series1.3s (28.6%)

Counts
4 → 12
Calls

4 calls:

952.0ms
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
149.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
108.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
50.0ms
(*.f64 K (+.f64 m n))

simplify95.0ms (2.2%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
057252036

prune159.0ms (3.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New81889
Fresh000
Picked101
Done000
Total82890

Merged error: 2.0b

Counts
90 → 8
Compiler

Compiled 3343 to 1687 computations (49.5% saved)

localize13.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
unpow-prod-down_binary64
*-un-lft-identity_binary64
pow-unpow_binary64 add-cube-cbrt_binary64
pow1_binary64 add-exp-log_binary64 difference-of-squares_binary64
pow-to-exp_binary64 add-log-exp_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 add-cbrt-cube_binary64 distribute-lft-out--_binary64 times-frac_binary64 insert-posit16 pow-exp_binary64
Counts
1 → 22
Calls

1 calls:

13.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

series109.0ms (2.5%)

Counts
1 → 3
Calls

1 calls:

109.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

simplify129.0ms (2.9%)

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 0 (110.0ms)

IterNodesCost
04970417
14970417

prune43.0ms (1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New24125
Fresh077
Picked011
Done000
Total24933

Merged error: 2.0b

Counts
33 → 9
Compiler

Compiled 880 to 537 computations (39% saved)

localize16.0ms (0.4%)

Local error

Found 2 expressions with local error:

0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
22.2b
(posit16->binary64 (binary64->posit16 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 unpow-prod-down_binary64
add-cube-cbrt_binary64
pow-unpow_binary64 pow1_binary64 add-exp-log_binary64
add-log-exp_binary64 add-cbrt-cube_binary64 difference-of-squares_binary64 insert-posit16
pow-to-exp_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 remove-posit16 distribute-lft-out--_binary64 times-frac_binary64 pow-exp_binary64
Counts
2 → 31
Calls

2 calls:

13.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
1.0ms
(posit16->binary64 (binary64->posit16 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)))

series8.0ms (0.2%)

Profiling

Loading profile data...