Details

Time bar (total: 9.7s)

analyze3.7s (37.6%)

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 (23.6%)

Symmetry

(sort m n)

Results
1.9s8116×body128valid
65.0ms276×body128invalid
65.0ms82×body1024invalid
50.0ms87×body512invalid
49.0ms59×body1024valid
32.0ms48×body512valid
29.0ms23×body2048invalid
22.0ms53×body256invalid
13.0ms33×body256valid
Compiler

Compiled 104 to 71 computations (31.7% saved)

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

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series102.0ms (1%)

Counts
4 → 168
Calls

4 calls:

52.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
25.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
16.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
10.0ms
(*.f64 K (+.f64 m n))

rewrite252.0ms (2.6%)

Algorithm
egg-rewrite
Rules
49×egg
40×egg
36×egg
31×egg
Counts
4 → 156
Calls

4 calls:

78.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
64.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
57.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
48.0ms
(*.f64 K (+.f64 m n))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01115
126115
2356115
3492115
0913
121013
2267613
3505513
01424
134022
2457822
3497822
067
11347
217887
357107

simplify123.0ms (1.3%)

Algorithm
egg-herbie
Rules
718×cancel-sign-sub-inv_binary64
639×fma-neg_binary64
483×neg-mul-1_binary64
355×sub-neg_binary64
239×fma-def_binary64
Counts
324 → 248
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02034112
16733845
225153844
343933836
451903836

prune402.0ms (4.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2417248
Fresh000
Picked101
Done000
Total2427249
Error
1.2b
Counts
249 → 7
Alt Table
StatusErrorProgram
9.4b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.3b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.4b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 2)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
40.4b
(*.f64 (cos.f64 (-.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 K (+.f64 m n)) 3) 1/3) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
37.9b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (sqrt.f64 K) (*.f64 (sqrt.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))))
14.4b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) (pow.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) 2)) 2) M)) (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))))
Compiler

Compiled 10503 to 5256 computations (50% saved)

localize14.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
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)

prune199.0ms (2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1370137
Fresh066
Picked011
Done000
Total1377144
Error
1.2b
Counts
144 → 7
Alt Table
StatusErrorProgram
9.4b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.3b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.4b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 2)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
40.4b
(*.f64 (cos.f64 (-.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 K (+.f64 m n)) 3) 1/3) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
37.9b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (sqrt.f64 K) (*.f64 (sqrt.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))))
14.4b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) (pow.f64 (cbrt.f64 (*.f64 K (+.f64 m n))) 2)) 2) M)) (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))))
Compiler

Compiled 4669 to 2386 computations (48.9% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series17.0ms (0.2%)

Counts
2 → 21
Calls

2 calls:

10.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
7.0ms
(-.f64 (*.f64 1/2 (*.f64 n K)) M)

rewrite189.0ms (1.9%)

Algorithm
egg-rewrite
Rules
105×egg
52×egg
Counts
2 → 157
Calls

2 calls:

129.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
56.0ms
(-.f64 (*.f64 1/2 (*.f64 n K)) M)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
119912
2251212
3467812
4460112
5506512
0810
117310
2213910
3495810

simplify68.0ms (0.7%)

Algorithm
egg-herbie
Rules
572×neg-mul-1_binary64
514×fma-neg_binary64
401×distribute-rgt-neg-in_binary64
397×distribute-lft-neg-in_binary64
329×associate-*r*_binary64
Counts
178 → 175
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
048415
1144409
2451378
31854356
44722356
55182356

prune485.0ms (5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3102312
Fresh235
Picked011
Done011
Total3127319
Error
1.2b
Counts
319 → 7
Alt Table
StatusErrorProgram
9.4b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.3b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
28.7b
(*.f64 (cos.f64 (expm1.f64 (log1p.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
44.2b
(*.f64 (cos.f64 (*.f64 (-.f64 (*.f64 1/8 (pow.f64 (*.f64 n K) 3)) (pow.f64 M 3)) (/.f64 1 (+.f64 (*.f64 1/4 (pow.f64 (*.f64 n K) 2)) (*.f64 M (fma.f64 1/2 (*.f64 n K) M)))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
40.4b
(*.f64 (cos.f64 (-.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 K (+.f64 m n)) 3) 1/3) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
37.9b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (sqrt.f64 K) (*.f64 (sqrt.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))))
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))))
Compiler

Compiled 12148 to 6185 computations (49.1% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K))
0.5b
(pow.f64 (cbrt.f64 (+.f64 m n)) 2)
0.5b
(cbrt.f64 (+.f64 m n))
32.9b
(cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M))

series95.0ms (1%)

Counts
4 → 132
Calls

4 calls:

35.0ms
(pow.f64 (cbrt.f64 (+.f64 m n)) 2)
27.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M))
22.0ms
(cbrt.f64 (+.f64 m n))
10.0ms
(*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K))

rewrite310.0ms (3.2%)

Algorithm
egg-rewrite
Rules
44×egg
28×egg
23×egg
21×egg
Counts
4 → 116
Calls

4 calls:

133.0ms
(cbrt.f64 (+.f64 m n))
70.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M))
61.0ms
(*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K))
43.0ms
(pow.f64 (cbrt.f64 (+.f64 m n)) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01415
131515
2403015
3505115
056
11066
213726
348386
448216
549926
649356
079
11497
216847
350587
0107
12097
224217
349687

simplify95.0ms (1%)

Algorithm
egg-herbie
Rules
834×times-frac_binary64
353×associate-*r*_binary64
237×associate-*l*_binary64
237×fma-def_binary64
228×fma-neg_binary64
Counts
248 → 211
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02813531
18863471
231463176
351903176

prune353.0ms (3.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2595264
Fresh404
Picked101
Done112
Total2656271
Error
1.1b
Counts
271 → 6
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))))
23.1b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (cbrt.f64 (*.f64 n n)) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
10.2b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (cbrt.f64 m) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
48.1b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (cbrt.f64 (+.f64 m n)) 2) (*.f64 (log.f64 (exp.f64 (cbrt.f64 (+.f64 m n)))) K)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
36.4b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (pow.f64 (pow.f64 (pow.f64 (+.f64 m n) 1/6) 2) 2) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
27.9b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (fma.f64 2/3 (/.f64 (pow.f64 (*.f64 1 (exp.f64 (log.f64 n))) 2/3) (/.f64 n m)) (pow.f64 (*.f64 1 (exp.f64 (log.f64 n))) 2/3)) (*.f64 (cbrt.f64 (+.f64 m n)) K)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 12851 to 6974 computations (45.7% saved)

regimes764.0ms (7.9%)

Accuracy

Total 0.2b remaining (16.4%)

Threshold costs 0.2b (16.4%)

Counts
109 → 1
Compiler

Compiled 20138 to 13968 computations (30.6% 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
01833
13233
24733
36133
46933
57233
67233

end157.0ms (1.6%)

Remove

(sort m n)

Compiler

Compiled 349 to 243 computations (30.4% saved)

Profiling

Loading profile data...