Details

Time bar (total: 33.1s)

analyze3.6s (11%)

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

Symmetry

(sort m n)

Results
2.1s8059×body128valid
90.0ms85×body1024valid
87.0ms323×body128invalid
85.0ms90×body1024invalid
64.0ms102×body512invalid
50.0ms70×body512valid
33.0ms23×body2048invalid
27.0ms57×body256invalid
18.0ms41×body256valid
1.0msbody2048valid
Compiler

Compiled 104 to 71 computations (31.7% saved)

simplify74.0ms (0.2%)

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

Local error

Found 4 expressions with local error:

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

series96.0ms (0.3%)

Counts
4 → 168
Calls

4 calls:

44.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
29.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
16.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
7.0ms
(*.f64 K (+.f64 m n))

rewrite46.0ms (0.1%)

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)
10.0ms
(*.f64 K (+.f64 m n))
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))

simplify139.0ms (0.4%)

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

prune542.0ms (1.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2287235
Fresh000
Picked101
Done000
Total2297236
Error
1.7b
Counts
236 → 7
Alt Table
StatusErrorProgram
16.6b
(*.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))))
9.3b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
31.8b
(*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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))))
16.7b
(*.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))))
34.2b
(*.f64 (cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.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))))
16.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) (cbrt.f64 (*.f64 K (+.f64 m n)))) (cbrt.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))))
2.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))))
Compiler

Compiled 10707 to 5135 computations (52% saved)

localize15.0ms (0%)

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)

prune201.0ms (0.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1121113
Fresh066
Picked101
Done000
Total1137120
Error
1.7b
Counts
120 → 7
Alt Table
StatusErrorProgram
16.6b
(*.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))))
9.3b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
31.8b
(*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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))))
16.7b
(*.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))))
2.0b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (log.f64 (exp.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))))
34.2b
(*.f64 (cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.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))))
16.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) (cbrt.f64 (*.f64 K (+.f64 m n)))) (cbrt.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 3718 to 1891 computations (49.1% saved)

localize15.0ms (0%)

Local error

Found 3 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)
1.0b
(log.f64 (exp.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))

series46.0ms (0.1%)

Counts
1 → 48
Calls

1 calls:

46.0ms
(log.f64 (exp.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))

rewrite12.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
log-pow_binary64
log-prod_binary64
exp-prod_binary64
add-sqr-sqrt_binary64
Counts
1 → 19
Calls

1 calls:

11.0ms
(log.f64 (exp.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))

simplify86.0ms (0.3%)

Algorithm
egg-herbie
Rules
826×sub-neg_binary64
389×associate-+l-_binary64
384×fma-def_binary64
378×associate--l+_binary64
364×associate-+l+_binary64
Counts
67 → 65
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0981825
12561605
26311594
320961592
442781592
554391592

prune335.0ms (1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1771178
Fresh066
Picked101
Done000
Total1787185
Error
1.7b
Counts
185 → 7
Alt Table
StatusErrorProgram
16.6b
(*.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))))
9.3b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
31.8b
(*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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))))
16.7b
(*.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))))
2.0b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))) (log.f64 (cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))))))
34.2b
(*.f64 (cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.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))))
16.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) (cbrt.f64 (*.f64 K (+.f64 m n)))) (cbrt.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 5821 to 3050 computations (47.6% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series20.1s (60.8%)

Counts
4 → 180
Calls

4 calls:

14.2s
(log.f64 (cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))
5.9s
(cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2))))
46.0ms
(+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2))
21.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)

rewrite47.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
14×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
cbrt-prod_binary64
log-prod_binary64
Counts
4 → 73
Calls

4 calls:

13.0ms
(cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2))))
12.0ms
(+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2))
11.0ms
(log.f64 (cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))
8.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)

simplify200.0ms (0.6%)

Algorithm
egg-herbie
Rules
508×fma-def_binary64
474×associate-*r*_binary64
328×associate-*l*_binary64
291×associate-+r+_binary64
286×fma-neg_binary64
Counts
253 → 226
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041710631
112459399
244479286
349759286

prune1.1s (3.2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4511452
Fresh066
Picked101
Done000
Total4527459
Error
1.7b
Counts
459 → 7
Alt Table
StatusErrorProgram
16.6b
(*.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))))
9.3b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
31.8b
(*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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))))
16.7b
(*.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))))
34.2b
(*.f64 (cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.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))))
16.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) (cbrt.f64 (*.f64 K (+.f64 m n)))) (cbrt.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))))
2.0b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (*.f64 2 (log.f64 (*.f64 (sqrt.f64 (cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2))))) (sqrt.f64 (cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))))) (log.f64 (cbrt.f64 (exp.f64 (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 n m) 2) M) 2)))))))))
Compiler

Compiled 29411 to 17539 computations (40.4% saved)

regimes3.5s (10.7%)

Accuracy

Total 0.2b remaining (15%)

Threshold costs 0.2b (15%)

Counts
378 → 1
Compiler

Compiled 95666 to 69042 computations (27.8% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02961
13861
25561
37761
49561
510661
611561
712061
812261
912061

end195.0ms (0.6%)

Remove

(sort m n)

Compiler

Compiled 472 to 320 computations (32.2% saved)

Profiling

Loading profile data...