Details

Time bar (total: 19.3s)

analyze2.9s (14.8%)

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)

sample2.0s (10.5%)

Results
1.7s8101×body128valid
67.0ms320×body128invalid
65.0ms86×body1024invalid
52.0ms66×body1024valid
47.0ms81×body512invalid
37.0ms55×body512valid
26.0ms24×body2048invalid
24.0ms54×body256invalid
13.0ms34×body256valid
Compiler

Compiled 70 to 48 computations (31.4% saved)

preprocess51.0ms (0.3%)

Algorithm
egg-herbie
Rules
557×exp-sum_binary64
428×fma-neg_binary64
310×exp-prod_binary64
288×exp-diff_binary64
162×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0154495
1429495
21042473
33765473
055
155
Stop Event
unsound
node limit
Symmetry

(sort m n)

Compiler

Compiled 34 to 23 computations (32.4% saved)

simplify21.0ms (0.1%)

Algorithm
egg-herbie
Rules
446×fma-neg_binary64
251×times-frac_binary64
231×cancel-sign-sub-inv_binary64
219×exp-sum_binary64
202×distribute-rgt-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02245
15845
213543
344243
4175343
Stop Event
node limit
Counts
1 → 2

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
18.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
18.7b
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 128 to 83 computations (35.2% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series370.0ms (1.9%)

Counts
4 → 192
Calls

48 calls:

68.0ms
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
M
0
38.0ms
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
m
0
35.0ms
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
n
0
25.0ms
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
K
0
20.0ms
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
K
-inf

rewrite49.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
245×add-sqr-sqrt_binary64
239×pow1_binary64
238×*-un-lft-identity_binary64
229×add-log-exp_binary64
228×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02095
146295
Stop Event
node limit
Counts
4 → 71

simplify207.0ms (1.1%)

Algorithm
egg-herbie
Rules
907×fma-def_binary64
384×associate-+l+_binary64
354×*-commutative_binary64
282×associate-*r*_binary64
233×associate--r+_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
063114955
1228113390
Stop Event
node limit
Counts
263 → 211

prune346.0ms (1.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2074211
Fresh000
Picked101
Done000
Total2084212
Error
0.9b
Counts
212 → 4
Alt Table
StatusErrorProgram
25.1b
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 1/2 m) M) 2) l))))
18.7b
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))))
18.7b
(log1p.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
1.5b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 18214 to 8942 computations (50.9% saved)

localize14.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series150.0ms (0.8%)

Counts
1 → 48
Calls

12 calls:

35.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
M
0
19.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
m
0
15.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
n
0
10.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
l
0
10.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
M
-inf

rewrite26.0ms (0.1%)

Algorithm
batch-egg-rewrite
Rules
213×add-sqr-sqrt_binary64
209×pow1_binary64
208×*-un-lft-identity_binary64
200×add-log-exp_binary64
199×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01731
140029
Stop Event
node limit
Counts
1 → 15

simplify95.0ms (0.5%)

Algorithm
egg-herbie
Rules
554×associate-*r*_binary64
398×fma-def_binary64
366×times-frac_binary64
365×associate-*l*_binary64
246×fma-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02515358
19324677
243114677
Stop Event
node limit
Counts
63 → 51

prune213.0ms (1.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1530153
Fresh033
Picked011
Done000
Total1534157
Error
0.9b
Counts
157 → 4
Alt Table
StatusErrorProgram
25.1b
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 1/2 m) M) 2) l))))
18.7b
(*.f64 (cos.f64 (fma.f64 K (/.f64 (+.f64 m n) 2) (neg.f64 M))) (exp.f64 (+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))))
18.7b
(log1p.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
1.5b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 8460 to 4107 computations (51.5% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
0.0b
(pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2)
0.0b
(expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))
35.4b
(cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M)))

series1.5s (7.8%)

Counts
4 → 204
Calls

51 calls:

324.0ms
(expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))
M
0
291.0ms
(expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))
n
0
280.0ms
(expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))
m
0
100.0ms
(expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))
K
0
38.0ms
(log1p.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
m
0

rewrite42.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
258×add-sqr-sqrt_binary64
253×pow1_binary64
251×*-un-lft-identity_binary64
243×expm1-log1p-u_binary64
242×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023116
1498116
Stop Event
node limit
Counts
4 → 47

simplify507.0ms (2.6%)

Algorithm
egg-herbie
Rules
824×fma-def_binary64
419×+-commutative_binary64
352×associate-+r+_binary64
195×sub-neg_binary64
86×sqr-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0185047726
1391045278
Stop Event
node limit
Counts
251 → 205

prune957.0ms (4.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2014205
Fresh202
Picked101
Done011
Total2045209
Error
0.9b
Counts
209 → 5
Alt Table
StatusErrorProgram
18.7b
(log1p.f64 (log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))))))
33.9b
(log1p.f64 (-.f64 (+.f64 (*.f64 1/2 (*.f64 (pow.f64 l 2) (*.f64 (pow.f64 (exp.f64 (-.f64 (+.f64 (*.f64 m M) (+.f64 (*.f64 n M) (fabs.f64 (-.f64 n m)))) (+.f64 (*.f64 1/4 (pow.f64 m 2)) (+.f64 (pow.f64 M 2) (+.f64 (*.f64 1/2 (*.f64 n m)) (*.f64 1/4 (pow.f64 n 2))))))) 2) (*.f64 (exp.f64 (*.f64 (exp.f64 (-.f64 (+.f64 (*.f64 m M) (+.f64 (*.f64 n M) (fabs.f64 (-.f64 n m)))) (+.f64 (*.f64 1/4 (pow.f64 m 2)) (+.f64 (pow.f64 M 2) (+.f64 (*.f64 1/2 (*.f64 n m)) (*.f64 1/4 (pow.f64 n 2))))))) (cos.f64 (-.f64 (+.f64 (*.f64 1/2 (*.f64 n K)) (*.f64 1/2 (*.f64 K m))) M)))) (pow.f64 (cos.f64 (-.f64 (+.f64 (*.f64 1/2 (*.f64 n K)) (*.f64 1/2 (*.f64 K m))) M)) 2))))) (+.f64 (exp.f64 (*.f64 (exp.f64 (-.f64 (+.f64 (*.f64 m M) (+.f64 (*.f64 n M) (fabs.f64 (-.f64 n m)))) (+.f64 (*.f64 1/4 (pow.f64 m 2)) (+.f64 (pow.f64 M 2) (+.f64 (*.f64 1/2 (*.f64 n m)) (*.f64 1/4 (pow.f64 n 2))))))) (cos.f64 (-.f64 (+.f64 (*.f64 1/2 (*.f64 n K)) (*.f64 1/2 (*.f64 K m))) M)))) (*.f64 1/2 (*.f64 (pow.f64 l 2) (*.f64 (exp.f64 (-.f64 (+.f64 (*.f64 m M) (+.f64 (*.f64 n M) (fabs.f64 (-.f64 n m)))) (+.f64 (*.f64 1/4 (pow.f64 m 2)) (+.f64 (pow.f64 M 2) (+.f64 (*.f64 1/2 (*.f64 n m)) (*.f64 1/4 (pow.f64 n 2))))))) (*.f64 (exp.f64 (*.f64 (exp.f64 (-.f64 (+.f64 (*.f64 m M) (+.f64 (*.f64 n M) (fabs.f64 (-.f64 n m)))) (+.f64 (*.f64 1/4 (pow.f64 m 2)) (+.f64 (pow.f64 M 2) (+.f64 (*.f64 1/2 (*.f64 n m)) (*.f64 1/4 (pow.f64 n 2))))))) (cos.f64 (-.f64 (+.f64 (*.f64 1/2 (*.f64 n K)) (*.f64 1/2 (*.f64 K m))) M)))) (cos.f64 (-.f64 (+.f64 (*.f64 1/2 (*.f64 n K)) (*.f64 1/2 (*.f64 K m))) M)))))))) (+.f64 1 (*.f64 l (*.f64 (exp.f64 (-.f64 (+.f64 (*.f64 m M) (+.f64 (*.f64 n M) (fabs.f64 (-.f64 n m)))) (+.f64 (*.f64 1/4 (pow.f64 m 2)) (+.f64 (pow.f64 M 2) (+.f64 (*.f64 1/2 (*.f64 n m)) (*.f64 1/4 (pow.f64 n 2))))))) (*.f64 (exp.f64 (*.f64 (exp.f64 (-.f64 (+.f64 (*.f64 m M) (+.f64 (*.f64 n M) (fabs.f64 (-.f64 n m)))) (+.f64 (*.f64 1/4 (pow.f64 m 2)) (+.f64 (pow.f64 M 2) (+.f64 (*.f64 1/2 (*.f64 n m)) (*.f64 1/4 (pow.f64 n 2))))))) (cos.f64 (-.f64 (+.f64 (*.f64 1/2 (*.f64 n K)) (*.f64 1/2 (*.f64 K m))) M)))) (cos.f64 (-.f64 (+.f64 (*.f64 1/2 (*.f64 n K)) (*.f64 1/2 (*.f64 K m))) M))))))))
18.7b
(log1p.f64 (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))) 3)))
1.5b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
25.1b
(log1p.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 1/2 m) M) 2) l))))))
Compiler

Compiled 60816 to 29832 computations (50.9% saved)

localize26.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
0.0b
(pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2)
0.0b
(expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))
35.4b
(cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M)))

series4.8s (24.9%)

Counts
1 → 60
Calls

15 calls:

1.5s
(expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
M
0
1.3s
(expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
m
0
1.3s
(expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
n
0
324.0ms
(expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
K
0
95.0ms
(expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))
l
0

rewrite28.0ms (0.1%)

Algorithm
batch-egg-rewrite
Rules
266×add-sqr-sqrt_binary64
260×pow1_binary64
259×*-un-lft-identity_binary64
249×log1p-expm1-u_binary64
249×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02347
151247
Stop Event
node limit
Counts
1 → 10

simplify839.0ms (4.3%)

Algorithm
egg-herbie
Rules
876×fma-def_binary64
451×+-commutative_binary64
418×associate-+r+_binary64
47×sub-neg_binary64
46×sqr-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0264378906
1478774855
Stop Event
node limit
Counts
70 → 58

prune3.0s (15.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2002202
Fresh123
Picked011
Done011
Total2016207
Error
0.9b
Counts
207 → 6
Alt Table
StatusErrorProgram
19.2b
(log1p.f64 (log.f64 (+.f64 1 (*.f64 (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))))) (sqrt.f64 (expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))))))))
18.7b
(log1p.f64 (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l))))) 3)))
18.7b
(log1p.f64 (log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 (+.f64 m n) 1/2) M) 2) l)))))))))
33.7b
(log1p.f64 (log.f64 (+.f64 1 (+.f64 (exp.f64 (expm1.f64 (*.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))))) (-.f64 (fma.f64 1/2 (fma.f64 (exp.f64 (expm1.f64 (*.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))))) (*.f64 (*.f64 l l) (*.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) (*.f64 (pow.f64 (exp.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m)))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))))) (*.f64 (exp.f64 (expm1.f64 (*.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))))) (*.f64 (*.f64 l l) (*.f64 (pow.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) 2) (*.f64 (pow.f64 (pow.f64 (exp.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m)))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))) 2) (pow.f64 (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M))) 2)))))) (*.f64 1/2 (*.f64 (exp.f64 (expm1.f64 (*.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))))) (*.f64 (*.f64 l l) (*.f64 (pow.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) 2) (*.f64 (pow.f64 (exp.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m)))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))) (pow.f64 (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M))) 2))))))) (fma.f64 (exp.f64 (expm1.f64 (*.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))))) (*.f64 l (*.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m))))))) (*.f64 (pow.f64 (exp.f64 (exp.f64 (-.f64 (fma.f64 m M (fma.f64 n M (fabs.f64 (-.f64 n m)))) (fma.f64 1/4 (*.f64 m m) (fma.f64 M M (fma.f64 1/4 (*.f64 n n) (*.f64 1/2 (*.f64 n m)))))))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))) (cos.f64 (fma.f64 1/2 (fma.f64 n K (*.f64 K m)) (neg.f64 M)))))) 1))))))
1.5b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
25.1b
(log1p.f64 (expm1.f64 (*.f64 (cos.f64 (fma.f64 K (*.f64 (+.f64 m n) 1/2) (neg.f64 M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 n m)) (+.f64 (pow.f64 (-.f64 (*.f64 1/2 m) M) 2) l))))))
Compiler

Compiled 152810 to 76788 computations (49.7% saved)

regimes858.0ms (4.4%)

Accuracy

Total 0.1b remaining (11.2%)

Threshold costs 0.1b (11.2%)

Counts
91 → 1
Compiler

Compiled 27842 to 17040 computations (38.8% 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
Stop Event
saturated

end314.0ms (1.6%)

Stop Event
fuel
Remove

(sort m n)

Compiler

Compiled 915 to 447 computations (51.1% saved)

Profiling

Loading profile data...