Details

Time bar (total: 9.4s)

analyze3.4s (36.1%)

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 35 to 24 computations (31.4% saved)

sample75.0ms (0.8%)

Algorithm
intervals
Results
43.0ms248×body128valid
2.0msbody1024valid
2.0msbody512invalid
1.0ms10×body128invalid
1.0msbody512valid
1.0msbody1024invalid
1.0msbody256valid
0.0msbody256invalid
Compiler

Compiled 74 to 52 computations (29.7% saved)

simplify74.0ms (0.8%)

Algorithm
egg-herbie
Rules
691×exp-prod_binary64
507×exp-sum_binary64
446×fma-neg_binary64
375×associate-*l*_binary64
251×times-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02245
15845
212943
338443
4126643
5402343
6494543
7501943

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
15.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.9b
(*.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))))
Compiler

Compiled 128 to 80 computations (37.5% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series96.0ms (1%)

Counts
4 → 168
Calls

4 calls:

47.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
27.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
16.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
6.0ms
(*.f64 K (+.f64 m n))

rewrite42.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt_binary64
32×*-un-lft-identity_binary64
25×cos-sum_binary64
24×add-cube-cbrt_binary64
21×prod-diff_binary64
Counts
4 → 108
Calls

4 calls:

11.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
7.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
4.0ms
(*.f64 K (+.f64 m n))

simplify145.0ms (1.5%)

Algorithm
egg-herbie
Rules
326×associate-*r*_binary64
293×fma-neg_binary64
288×associate-*l*_binary64
269×fma-def_binary64
238×distribute-rgt-neg-in_binary64
Counts
276 → 235
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04617167
19835956
232645823
349335823

prune397.0ms (4.2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2296235
Fresh000
Picked101
Done000
Total2306236
Error
1.6b
Counts
236 → 6
Alt Table
StatusErrorProgram
37.3b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (sqrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sqrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 M 1)))) (cos.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1)))) (*.f64 (sin.f64 (fma.f64 (sqrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sqrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 M 1)))) (sin.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (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)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.9b
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M)) 3)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.8b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 10813 to 5229 computations (51.6% saved)

localize17.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

prune203.0ms (2.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1130113
Fresh055
Picked011
Done000
Total1136119
Error
1.6b
Counts
119 → 6
Alt Table
StatusErrorProgram
37.3b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (sqrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sqrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 M 1)))) (cos.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1)))) (*.f64 (sin.f64 (fma.f64 (sqrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (sqrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 M 1)))) (sin.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (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)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.9b
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M)) 3)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.8b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 3795 to 1963 computations (48.3% saved)

localize29.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (+.f64 n m) (sqrt.f64 2))
0.4b
(/.f64 K (sqrt.f64 2))
36.4b
(cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
36.8b
(sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))

series112.0ms (1.2%)

Counts
4 → 64
Calls

4 calls:

47.0ms
(cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
45.0ms
(sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
13.0ms
(/.f64 (+.f64 n m) (sqrt.f64 2))
7.0ms
(/.f64 K (sqrt.f64 2))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity_binary64
42×times-frac_binary64
36×add-sqr-sqrt_binary64
36×add-cube-cbrt_binary64
27×sqrt-prod_binary64
Counts
4 → 111
Calls

4 calls:

5.0ms
(/.f64 (+.f64 n m) (sqrt.f64 2))
3.0ms
(/.f64 K (sqrt.f64 2))
1.0ms
(sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
1.0ms
(cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))

simplify161.0ms (1.7%)

Algorithm
egg-herbie
Rules
501×fma-def_binary64
294×associate-*r*_binary64
274×cancel-sign-sub-inv_binary64
211×associate-*l*_binary64
196×sub-neg_binary64
Counts
175 → 216
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03644556
19704388
232844239
351154239

prune888.0ms (9.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3236329
Fresh314
Picked101
Done011
Total3278335
Error
1.5b
Counts
335 → 8
Alt Table
StatusErrorProgram
40.7b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (exp.f64 (-.f64 (log.f64 K) (log.f64 (sqrt.f64 2)))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 K) (cbrt.f64 K)) (fabs.f64 (cbrt.f64 2))) (/.f64 (cbrt.f64 K) (sqrt.f64 (cbrt.f64 2)))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
38.5b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (exp.f64 (log.f64 (/.f64 (+.f64 m n) (sqrt.f64 2)))) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.7b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.9b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (/.f64 K (sqrt.f64 (sqrt.f64 2)))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.8b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 22471 to 13857 computations (38.3% saved)

localize40.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 K (sqrt.f64 2))
1.0b
(cbrt.f64 2)
36.3b
(cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
36.8b
(sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))

series84.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

84.0ms
(cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
0.0ms
(cbrt.f64 2)

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 23
Calls

2 calls:

1.0ms
(cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
1.0ms
(cbrt.f64 2)

simplify90.0ms (1%)

Algorithm
egg-herbie
Rules
523×fma-def_binary64
390×times-frac_binary64
343×cancel-sign-sub-inv_binary64
211×associate-*r*_binary64
205×associate-/l*_binary64
Counts
71 → 67
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01873779
16073478
231833467
351853467

prune677.0ms (7.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1742176
Fresh066
Picked101
Done011
Total1759184
Error
1.5b
Counts
184 → 9
Alt Table
StatusErrorProgram
40.7b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (exp.f64 (-.f64 (log.f64 K) (log.f64 (sqrt.f64 2)))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (+.f64 n m) (cbrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.8b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 K) (cbrt.f64 K)) (fabs.f64 (cbrt.f64 2))) (/.f64 (cbrt.f64 K) (sqrt.f64 (cbrt.f64 2)))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
38.5b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (exp.f64 (log.f64 (/.f64 (+.f64 m n) (sqrt.f64 2)))) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
34.7b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (*.f64 (sqrt.f64 (cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (sqrt.f64 (cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.7b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (cbrt.f64 (cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (cbrt.f64 (cos.f64 (fma.f64 (/.f64 (/.f64 K (fabs.f64 (cbrt.f64 2))) (sqrt.f64 (cbrt.f64 2))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.9b
(*.f64 (-.f64 (*.f64 (cos.f64 0) (cos.f64 (fma.f64 (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (/.f64 K (sqrt.f64 (sqrt.f64 2)))) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 0) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.8b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 14674 to 9860 computations (32.8% saved)

regimes869.0ms (9.2%)

Accuracy

Total 0.2b remaining (17.8%)

Threshold costs 0.2b (17.8%)

Counts
101 → 1
Compiler

Compiled 28766 to 19218 computations (33.2% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
12×+-commutative_binary64
10×sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01731
12831
24531
36031
46931
57231
67231

end7.0ms (0.1%)

Remove

(sort m n)

Compiler

Compiled 75 to 54 computations (28% saved)

sample2.0s (21%)

Algorithm
intervals
Results
1.0s7839×body128valid
46.0ms74×body1024invalid
41.0ms303×body128invalid
37.0ms93×body512invalid
37.0ms57×body1024valid
30.0ms72×body512valid
19.0ms21×body2048invalid
14.0ms55×body256invalid
8.0ms32×body256valid
Compiler

Compiled 656 to 484 computations (26.2% saved)

Profiling

Loading profile data...