Details

Time bar (total: 7.2s)

analyze2.3s (32.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)

sample51.0ms (0.7%)

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

Compiled 59 to 52 computations (11.9% saved)

simplify50.0ms (0.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0505343

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 14.5b

Counts
2 → 1
Compiler

Compiled 56 to 44 computations (21.4% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (*.f64 K (+.f64 m n)) 2)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
0.0b
(*.f64 K (+.f64 m n))
32.2b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite49.0ms (0.7%)

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

4 calls:

12.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
10.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
8.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
7.0ms
(*.f64 K (+.f64 m n))

series396.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

156.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
118.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
76.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
47.0ms
(*.f64 K (+.f64 m n))

simplify76.0ms (1.1%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
050521189

prune143.0ms (2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New83588
Fresh000
Picked101
Done000
Total84589

Merged error: 1.4b

Counts
89 → 5
Compiler

Compiled 3025 to 1531 computations (49.4% saved)

localize14.0ms (0.2%)

Local error

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

rewrite33.0ms (0.5%)

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

2 calls:

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

series383.0ms (5.3%)

Counts
2 → 6
Calls

2 calls:

280.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
103.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

simplify36.0ms (0.5%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
051731008

prune58.0ms (0.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh044
Picked011
Done000
Total43548

Merged error: 1.4b

Counts
48 → 5
Compiler

Compiled 1239 to 707 computations (42.9% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 K (+.f64 m n))
0.5b
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) 3))
0.6b
(pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) 3)
32.2b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite32.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64 cbrt-prod_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
unpow-prod-down_binary64 cube-prod_binary64
add-log-exp_binary64 associate-*r*_binary64
pow-unpow_binary64 associate-*l*_binary64
associate-*r/_binary64 sqr-pow_binary64 unpow3_binary64 cube-mult_binary64
pow-to-exp_binary64 pow-prod-down_binary64 flip3-+_binary64 sub-neg_binary64 rem-cbrt-cube_binary64 cbrt-unprod_binary64 distribute-lft-out_binary64 pow1/3_binary64 pow-pow_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 cos-diff_binary64 rem-cube-cbrt_binary64 prod-exp_binary64 cos-sum_binary64 flip-+_binary64 pow-exp_binary64 *-commutative_binary64
Counts
4 → 76
Calls

4 calls:

10.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
7.0ms
(*.f64 K (+.f64 m n))
4.0ms
(pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) 3)
3.0ms
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) 3))

series822.0ms (11.4%)

Counts
4 → 12
Calls

4 calls:

482.0ms
(pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) 3)
150.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
145.0ms
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) 3))
46.0ms
(*.f64 K (+.f64 m n))

simplify53.0ms (0.7%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049571522
149571522

prune138.0ms (1.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh033
Picked011
Done011
Total87693

Merged error: 1.4b

Counts
93 → 6
Compiler

Compiled 3305 to 1769 computations (46.5% saved)

localize31.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 (*.f64 (cos.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cos.f64 M)) (*.f64 (sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sin.f64 M)))
0.2b
(*.f64 (sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sin.f64 M))
37.5b
(cos.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))
37.6b
(sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-*r*_binary64 associate-*l*_binary64
sin-mult_binary64
pow-prod-down_binary64 flip3-+_binary64 cbrt-unprod_binary64 cos-mult_binary64 frac-add_binary64 unswap-sqr_binary64 prod-exp_binary64 +-commutative_binary64 flip-+_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 45
Calls

4 calls:

7.0ms
(+.f64 (*.f64 (cos.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cos.f64 M)) (*.f64 (sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sin.f64 M)))
6.0ms
(*.f64 (sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sin.f64 M))
3.0ms
(sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))
2.0ms
(cos.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))

series511.0ms (7.1%)

Counts
4 → 12
Calls

4 calls:

304.0ms
(+.f64 (*.f64 (cos.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cos.f64 M)) (*.f64 (sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sin.f64 M)))
119.0ms
(*.f64 (sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sin.f64 M))
47.0ms
(sin.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))
41.0ms
(cos.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))

simplify82.0ms (1.1%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
053221403

prune102.0ms (1.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New56157
Fresh033
Picked101
Done022
Total57663

Merged error: 1.4b

Counts
63 → 6
Compiler

Compiled 2711 to 1251 computations (53.9% saved)

regimes104.0ms (1.4%)

Compiler

Compiled 1035 to 870 computations (15.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06226
16226

end0.0ms (0%)

sample1.6s (22.6%)

Algorithm
intervals
Results
855.0ms7825×body128valid
39.0ms72×body1024valid
39.0ms332×body128invalid
35.0ms75×body1024invalid
27.0ms83×body512invalid
25.0ms73×body512valid
19.0ms22×body2048invalid
14.0ms64×body256invalid
7.0ms30×body256valid
Compiler

Compiled 252 to 209 computations (17.1% saved)

Profiling

Loading profile data...