Details

Time bar (total: 9.1s)

analyze2.9s (31.9%)

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)

sample107.0ms (1.2%)

Algorithm
intervals
Symmetry

(sort m n)

Results
35.0ms253×body128valid
1.0msbody512valid
1.0msbody2048invalid
1.0msbody1024valid
1.0msbody1024invalid
1.0msbody128invalid
Compiler

Compiled 74 to 52 computations (29.7% saved)

simplify63.0ms (0.7%)

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.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
16.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))))
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 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
0.0b
(*.f64 K (+.f64 m n))
35.8b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

series75.0ms (0.8%)

Counts
4 → 168
Calls

4 calls:

28.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
21.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
19.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
6.0ms
(*.f64 K (+.f64 m n))

rewrite39.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt_binary64
44×*-un-lft-identity_binary64
42×prod-diff_binary64
38×add-cube-cbrt_binary64
25×cos-sum_binary64
Counts
4 → 129
Calls

4 calls:

10.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
8.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
8.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
4.0ms
(*.f64 K (+.f64 m n))

simplify179.0ms (2%)

Algorithm
egg-herbie
Rules
528×fma-neg_binary64
341×associate-*r*_binary64
311×associate-*l*_binary64
240×distribute-rgt-neg-in_binary64
221×*-commutative_binary64
Counts
297 → 254
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04317218
18845740
230485550
348775550
450415550

prune332.0ms (3.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2513254
Fresh000
Picked101
Done000
Total2523255
Error
0.6b
Counts
255 → 3
Alt Table
StatusErrorProgram
15.9b
(*.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 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 K) (cbrt.f64 K)) (*.f64 (cbrt.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.7b
(*.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 11197 to 5212 computations (53.5% saved)

localize20.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

prune75.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New61061
Fresh022
Picked011
Done000
Total61364
Error
0.6b
Counts
64 → 3
Alt Table
StatusErrorProgram
15.9b
(*.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 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 K) (cbrt.f64 K)) (*.f64 (cbrt.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.7b
(*.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 1799 to 905 computations (49.7% saved)

localize27.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (cbrt.f64 (+.f64 m n)))
0.5b
(*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))
0.6b
(cbrt.f64 (+.f64 m n))
35.7b
(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))

series88.0ms (1%)

Counts
4 → 132
Calls

4 calls:

30.0ms
(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))
27.0ms
(*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))
23.0ms
(cbrt.f64 (+.f64 m n))
7.0ms
(*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (cbrt.f64 (+.f64 m n)))

rewrite67.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
68×cbrt-div_binary64
47×*-un-lft-identity_binary64
37×add-sqr-sqrt_binary64
34×associate-*r/_binary64
34×flip-+_binary64
Counts
4 → 159
Calls

4 calls:

18.0ms
(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))
16.0ms
(*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (cbrt.f64 (+.f64 m n)))
8.0ms
(*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))
2.0ms
(cbrt.f64 (+.f64 m n))

simplify189.0ms (2.1%)

Algorithm
egg-herbie
Rules
608×associate-*r*_binary64
579×associate-*l*_binary64
435×times-frac_binary64
356×*-commutative_binary64
267×fma-neg_binary64
Counts
291 → 305
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
05688706
112367610
242307423
353047423

prune503.0ms (5.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New4192421
Fresh101
Picked101
Done011
Total4213424
Error
0.6b
Counts
424 → 3
Alt Table
StatusErrorProgram
0.7b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
41.5b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 m n))) (cbrt.f64 (sqrt.f64 (+.f64 m n)))) (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 m n))) (cbrt.f64 (sqrt.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))))
30.8b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m)))) (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))))
Compiler

Compiled 23942 to 10594 computations (55.8% saved)

localize29.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 (+.f64 m n))
0.9b
(*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m))))
32.1b
(cbrt.f64 (*.f64 m m))
37.4b
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m)))) (cbrt.f64 (+.f64 m n))) 2) M))

series1.4s (15.6%)

Counts
3 → 96
Calls

3 calls:

804.0ms
(*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m))))
576.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m)))) (cbrt.f64 (+.f64 m n))) 2) M))
34.0ms
(cbrt.f64 (*.f64 m m))

rewrite81.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
25×cos-sum_binary64
21×add-sqr-sqrt_binary64
21×prod-diff_binary64
19×*-un-lft-identity_binary64
19×add-cube-cbrt_binary64
Counts
3 → 68
Calls

3 calls:

14.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m)))) (cbrt.f64 (+.f64 m n))) 2) M))
3.0ms
(*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m))))
2.0ms
(cbrt.f64 (*.f64 m m))

simplify186.0ms (2%)

Algorithm
egg-herbie
Rules
476×fma-def_binary64
307×*-commutative_binary64
259×associate-+r+_binary64
194×times-frac_binary64
176×associate-+l+_binary64
Counts
164 → 149
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
074413797
1191711627
2504811627

prune427.0ms (4.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2061207
Fresh011
Picked101
Done011
Total2073210
Error
0.6b
Counts
210 → 3
Alt Table
StatusErrorProgram
0.7b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
30.8b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m))))) (cbrt.f64 (*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m)))))) (cbrt.f64 (*.f64 K (fma.f64 2/3 (*.f64 n (cbrt.f64 (/.f64 1 m))) (cbrt.f64 (*.f64 m m)))))) (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))))
41.5b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 m n))) (cbrt.f64 (sqrt.f64 (+.f64 m n)))) (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 m n))) (cbrt.f64 (sqrt.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))))
Compiler

Compiled 20184 to 12076 computations (40.2% saved)

regimes476.0ms (5.2%)

Accuracy

Total 0.2b remaining (12.1%)

Threshold costs 0.2b (12.1%)

Counts
52 → 1
Compiler

Compiled 17216 to 10170 computations (40.9% 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

end6.0ms (0.1%)

Remove

(sort m n)

Compiler

Compiled 75 to 54 computations (28% saved)

sample1.8s (19.5%)

Algorithm
intervals
Results
1.1s7842×body128valid
53.0ms67×body1024valid
50.0ms74×body1024invalid
36.0ms272×body128invalid
33.0ms88×body512invalid
29.0ms66×body512valid
20.0ms21×body2048invalid
11.0ms38×body256invalid
7.0ms25×body256valid
Compiler

Compiled 228 to 144 computations (36.8% saved)

Profiling

Loading profile data...