Details

Time bar (total: 8.5s)

analyze3.0s (35%)

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)

sample122.0ms (1.4%)

Algorithm
intervals
Symmetry

(sort m n)

Results
38.0ms251×body128valid
3.0msbody1024valid
2.0msbody512invalid
1.0ms11×body128invalid
1.0msbody1024invalid
0.0msbody512valid
0.0msbody256invalid
Compiler

Compiled 74 to 52 computations (29.7% saved)

simplify78.0ms (0.9%)

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.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
13.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
13.9b
(*.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 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
33.4b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

series108.0ms (1.3%)

Counts
4 → 168
Calls

4 calls:

49.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
32.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
20.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
7.0ms
(*.f64 K (+.f64 m n))

rewrite47.0ms (0.6%)

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:

12.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
11.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
8.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
5.0ms
(*.f64 K (+.f64 m n))

simplify165.0ms (2%)

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

prune324.0ms (3.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2314235
Fresh000
Picked101
Done000
Total2324236
Error
0.9b
Counts
236 → 4
Alt Table
StatusErrorProgram
13.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))))
14.0b
(*.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))))
13.9b
(*.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))))
1.1b
(*.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 10493 to 4991 computations (52.4% saved)

localize14.0ms (0.2%)

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)

prune161.0ms (1.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1130113
Fresh033
Picked011
Done000
Total1134117
Error
0.9b
Counts
117 → 4
Alt Table
StatusErrorProgram
13.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))))
14.0b
(*.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))))
13.9b
(*.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))))
1.1b
(*.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 3475 to 1725 computations (50.4% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
0.5b
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M)) 3))
0.6b
(pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M)) 3)
33.4b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M))

series238.0ms (2.8%)

Counts
3 → 144
Calls

3 calls:

180.0ms
(pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M)) 3)
29.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M))
28.0ms
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M)) 3))

rewrite25.0ms (0.3%)

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

3 calls:

9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M))
7.0ms
(pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M)) 3)
2.0ms
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 n m)) 2) M)) 3))

simplify254.0ms (3%)

Algorithm
egg-herbie
Rules
598×associate-*l*_binary64
417×fma-def_binary64
410×*-commutative_binary64
382×fma-neg_binary64
244×sub-neg_binary64
Counts
227 → 152
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
05428711
112747517
241227499
349107499
449887499

prune413.0ms (4.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2121213
Fresh022
Picked101
Done011
Total2134217
Error
0.9b
Counts
217 → 4
Alt Table
StatusErrorProgram
33.3b
(*.f64 (cbrt.f64 (exp.f64 (*.f64 (log.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))))
13.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))))
14.0b
(*.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))))
1.1b
(*.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 12492 to 6550 computations (47.6% saved)

localize23.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))
33.4b
(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))

series97.0ms (1.1%)

Counts
4 → 132
Calls

4 calls:

33.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))
32.0ms
(*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))
23.0ms
(cbrt.f64 (+.f64 m n))
8.0ms
(*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (cbrt.f64 (+.f64 m n)))

rewrite79.0ms (0.9%)

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)))
15.0ms
(*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))
2.0ms
(cbrt.f64 (+.f64 m n))

simplify190.0ms (2.2%)

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

prune653.0ms (7.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New4201421
Fresh202
Picked011
Done011
Total4223425
Error
0.9b
Counts
425 → 3
Alt Table
StatusErrorProgram
13.8b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (/.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 2)) (neg.f64 (*.f64 M 1)))) (cos.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1)))) (*.f64 (sin.f64 (fma.f64 (/.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 (+.f64 m n)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (cbrt.f64 (+.f64 m n)) (cbrt.f64 2)) (neg.f64 (*.f64 M 1)))) (sin.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.1b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
13.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))))
Compiler

Compiled 23878 to 10561 computations (55.8% saved)

regimes518.0ms (6.1%)

Accuracy

Total 0.2b remaining (12.4%)

Threshold costs 0.2b (12.4%)

Counts
64 → 1
Compiler

Compiled 16040 to 9732 computations (39.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

end6.0ms (0.1%)

Remove

(sort m n)

Compiler

Compiled 75 to 54 computations (28% saved)

sample2.0s (23%)

Algorithm
intervals
Results
1.1s7850×body128valid
63.0ms301×body128invalid
58.0ms83×body1024invalid
55.0ms95×body512invalid
44.0ms67×body1024valid
24.0ms58×body512valid
11.0ms42×body256invalid
10.0ms12×body2048invalid
7.0ms24×body256valid
1.0msbody2048valid
Compiler

Compiled 236 to 152 computations (35.6% saved)

Profiling

Loading profile data...