Details

Time bar (total: 11.1s)

analyze3.2s (28.7%)

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.3s (20.5%)

Symmetry

(sort m n)

Results
1.8s8069×body128valid
87.0ms103×body1024invalid
72.0ms315×body128invalid
64.0ms75×body1024valid
40.0ms72×body512invalid
37.0ms64×body512valid
28.0ms24×body2048invalid
25.0ms61×body256invalid
19.0ms47×body256valid
1.0msbody2048valid
Compiler

Compiled 104 to 71 computations (31.7% saved)

simplify66.0ms (0.6%)

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.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.2b
(*.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)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series499.0ms (4.5%)

Counts
4 → 192
Calls

4 calls:

376.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))))
78.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
26.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
17.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

rewrite103.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity_binary64
96×add-sqr-sqrt_binary64
93×prod-diff_binary64
82×exp-sum_binary64
59×add-cube-cbrt_binary64
Counts
4 → 182
Calls

4 calls:

32.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))))
20.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
9.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

simplify445.0ms (4%)

Algorithm
egg-herbie
Rules
546×*-commutative_binary64
379×associate-*r*_binary64
221×+-commutative_binary64
198×fma-def_binary64
186×cancel-sign-sub-inv_binary64
Counts
374 → 373
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0115426523
1310823458
2487223447
3500223447

prune757.0ms (6.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3685373
Fresh000
Picked101
Done000
Total3695374
Error
1.0b
Counts
374 → 5
Alt Table
StatusErrorProgram
1.4b
(*.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.1b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 0)) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 (*.f64 M 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))))
43.1b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (sqrt.f64 M) (sqrt.f64 M))))) (cos.f64 (fma.f64 (neg.f64 (sqrt.f64 M)) (sqrt.f64 M) (*.f64 (sqrt.f64 M) (sqrt.f64 M))))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (sqrt.f64 M) (sqrt.f64 M))))) (sin.f64 (fma.f64 (neg.f64 (sqrt.f64 M)) (sqrt.f64 M) (*.f64 (sqrt.f64 M) (sqrt.f64 M)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.2b
(*.f64 (*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (*.f64 (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))) (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))
15.1b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 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 (*.f64 M 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 34050 to 16839 computations (50.5% saved)

localize13.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series187.0ms (1.7%)

Counts
1 → 48
Calls

1 calls:

187.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))

rewrite42.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity_binary64
44×associate-*r*_binary64
41×exp-sum_binary64
36×prod-diff_binary64
35×add-sqr-sqrt_binary64
Counts
1 → 62
Calls

1 calls:

28.0ms
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))

simplify149.0ms (1.3%)

Algorithm
egg-herbie
Rules
665×associate-*r*_binary64
467×associate-*l*_binary64
407×fma-neg_binary64
377×fma-def_binary64
295×*-commutative_binary64
Counts
110 → 112
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03827602
110666643
245036643
350076643

prune529.0ms (4.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2790279
Fresh044
Picked011
Done000
Total2795284
Error
1.0b
Counts
284 → 5
Alt Table
StatusErrorProgram
1.4b
(*.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.1b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 0)) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 (*.f64 M 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))))
43.1b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (sqrt.f64 M) (sqrt.f64 M))))) (cos.f64 (fma.f64 (neg.f64 (sqrt.f64 M)) (sqrt.f64 M) (*.f64 (sqrt.f64 M) (sqrt.f64 M))))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 (sqrt.f64 M) (sqrt.f64 M))))) (sin.f64 (fma.f64 (neg.f64 (sqrt.f64 M)) (sqrt.f64 M) (*.f64 (sqrt.f64 M) (sqrt.f64 M)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.2b
(*.f64 (*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (*.f64 (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))) (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))
15.1b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 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 (*.f64 M 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 20369 to 10187 computations (50% saved)

localize29.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(/.f64 (+.f64 n m) (sqrt.f64 2))
0.5b
(/.f64 K (sqrt.f64 2))
32.9b
(sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
33.4b
(cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))

series118.0ms (1.1%)

Counts
4 → 64
Calls

4 calls:

52.0ms
(cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
46.0ms
(sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))
11.0ms
(/.f64 (+.f64 n m) (sqrt.f64 2))
8.0ms
(/.f64 K (sqrt.f64 2))

rewrite24.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:

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

simplify109.0ms (1%)

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

prune778.0ms (7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3272329
Fresh123
Picked101
Done011
Total3295334
Error
1.0b
Counts
334 → 5
Alt Table
StatusErrorProgram
15.3b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 0)) (cos.f64 (-.f64 (/.f64 (*.f64 n K) (pow.f64 (sqrt.f64 2) 2)) M))) (*.f64 (sin.f64 (*.f64 M 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.0b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 0)) (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))) (*.f64 (sin.f64 (*.f64 M 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.2b
(*.f64 (*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (*.f64 (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))) (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))
1.4b
(*.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.1b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 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 (*.f64 M 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 23427 to 14221 computations (39.3% saved)

localize39.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(/.f64 K (sqrt.f64 2))
1.0b
(pow.f64 (sqrt.f64 2) 2)
24.6b
(cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))
32.9b
(sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))

series25.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

25.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))
0.0ms
(pow.f64 (sqrt.f64 2) 2)

rewrite25.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
49×cos-sum_binary64
45×prod-diff_binary64
33×times-frac_binary64
33×*-un-lft-identity_binary64
33×add-sqr-sqrt_binary64
Counts
2 → 85
Calls

2 calls:

12.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))
2.0ms
(pow.f64 (sqrt.f64 2) 2)

simplify141.0ms (1.3%)

Algorithm
egg-herbie
Rules
610×fma-neg_binary64
530×associate-*r*_binary64
468×associate-*l*_binary64
243×*-commutative_binary64
227×associate-/l*_binary64
Counts
97 → 119
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03406257
13882830
29112487
342152299
449522299
549332299

prune603.0ms (5.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2122214
Fresh033
Picked101
Done011
Total2136219
Error
1.0b
Counts
219 → 6
Alt Table
StatusErrorProgram
9.3b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 0)) (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))) (*.f64 (sin.f64 (*.f64 M 0)) (sin.f64 (neg.f64 M)))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.3b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 0)) (cos.f64 (-.f64 (/.f64 (*.f64 n K) (pow.f64 (sqrt.f64 2) 2)) M))) (*.f64 (sin.f64 (*.f64 M 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.0b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 0)) (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M)))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K m) (pow.f64 (sqrt.f64 2) 2)) M))))) (*.f64 (sin.f64 (*.f64 M 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.2b
(*.f64 (*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (*.f64 (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))) (cbrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))
1.4b
(*.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.1b
(*.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 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 (*.f64 M 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 16690 to 9951 computations (40.4% saved)

regimes726.0ms (6.5%)

Accuracy

Total 0.3b remaining (17.4%)

Threshold costs 0.3b (17.4%)

Counts
81 → 1
Compiler

Compiled 25328 to 17406 computations (31.3% 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

end211.0ms (1.9%)

Remove

(sort m n)

Compiler

Compiled 458 to 326 computations (28.8% saved)

Profiling

Loading profile data...