Details

Time bar (total: 8.3s)

analyze3.4s (40.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)

sample65.0ms (0.8%)

Algorithm
intervals
Results
37.0ms252×body128valid
2.0ms14×body128invalid
1.0msbody1024valid
1.0msbody512invalid
1.0msbody512valid
1.0msbody256invalid
1.0msbody1024invalid
Compiler

Compiled 74 to 52 computations (29.7% saved)

simplify59.0ms (0.7%)

Algorithm
egg-herbie
Rules
605×exp-prod_binary64
532×exp-sum_binary64
375×associate-*l*_binary64
303×associate-*r*_binary64
251×times-frac_binary64
Counts
1 → 1
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02245
15845
212543
336143
4114143
5404443
6512143

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
14.7b
Counts
2 → 1
Alt Table
StatusErrorProgram
14.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 99 to 66 computations (33.3% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(*.f64 K (+.f64 m n))
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
35.3b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite126.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
14.6b
Rules
16×add-sqr-sqrt_binary64
15×*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
pow1_binary64
Counts
4 → 68
Calls

4 calls:

11.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
9.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))
Compiler

Compiled 2346 to 1174 computations (50% saved)

series309.0ms (3.7%)

Error
0.8b
Counts
4 → 86
Calls

4 calls:

117.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
70.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
41.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
26.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 6811 to 4450 computations (34.7% saved)

simplify145.0ms (1.8%)

Algorithm
egg-herbie
Rules
426×associate--l+_binary64
391×associate-+l+_binary64
376×distribute-rgt-in_binary64
360×distribute-lft-in_binary64
344×unswap-sqr_binary64
Counts
154 → 125
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02413114
15912877
215092757
339642757
448772757
549342757

prune80.0ms (1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1232125
Fresh000
Picked011
Done000
Total1233126
Error
0.8b
Counts
126 → 3
Alt Table
StatusErrorProgram
14.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))))
0.9b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K (+.f64 n m)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 2496 to 1222 computations (51% saved)

localize18.0ms (0.2%)

Local error

Found 2 expressions with local error:

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)

rewrite60.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
0.8b
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
unpow-prod-down_binary64
add-log-exp_binary64
add-cube-cbrt_binary64
Counts
2 → 33
Calls

2 calls:

11.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
8.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 914 to 485 computations (46.9% saved)

series227.0ms (2.7%)

Error
0.8b
Counts
2 → 60
Calls

2 calls:

124.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
65.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 3840 to 2540 computations (33.9% saved)

simplify131.0ms (1.6%)

Algorithm
egg-herbie
Rules
477×unswap-sqr_binary64
424×associate--l+_binary64
371×associate-+l+_binary64
290×sub-neg_binary64
247×log-prod_binary64
Counts
93 → 83
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01372223
13642047
29041927
330081927
443571927
548411927
649431927

prune50.0ms (0.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh011
Picked011
Done011
Total83386
Error
0.8b
Counts
86 → 3
Alt Table
StatusErrorProgram
14.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))))
0.9b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K (+.f64 n m)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 1270 to 622 computations (51% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

15.0b
(cbrt.f64 (*.f64 K (+.f64 n m)))
15.0b
(cbrt.f64 (*.f64 K (+.f64 n m)))
15.0b
(cbrt.f64 (*.f64 K (+.f64 n m)))
35.3b
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K (+.f64 n m)))) 2) M))

rewrite78.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
0.7b
Rules
cbrt-div_binary64
associate-*r/_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
4 → 45
Calls

4 calls:

9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K (+.f64 n m)))) 2) M))
5.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
3.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
3.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
Compiler

Compiled 2489 to 808 computations (67.5% saved)

series262.0ms (3.2%)

Error
0.7b
Counts
4 → 44
Calls

4 calls:

57.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
55.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K (+.f64 n m)))) 2) M))
54.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
48.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
Compiler

Compiled 6186 to 3818 computations (38.3% saved)

simplify109.0ms (1.3%)

Algorithm
egg-herbie
Rules
630×times-frac_binary64
306×div-sub_binary64
268×exp-sum_binary64
261×*-commutative_binary64
185×distribute-rgt-in_binary64
Counts
89 → 58
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01591513
13481464
27081428
315601266
431701263
548531263
649231263

prune43.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New57158
Fresh000
Picked011
Done112
Total58361
Error
0.8b
Counts
61 → 3
Alt Table
StatusErrorProgram
0.9b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K m))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K (+.f64 n m)))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 1339 to 601 computations (55.1% saved)

localize30.0ms (0.4%)

Local error

Found 4 expressions with local error:

13.3b
(cbrt.f64 (*.f64 K m))
15.0b
(cbrt.f64 (*.f64 K (+.f64 n m)))
15.0b
(cbrt.f64 (*.f64 K (+.f64 n m)))
31.8b
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K m))) 2) M))

rewrite79.0ms (1%)

Algorithm
rewrite-expression-head
Error
0.8b
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
cbrt-div_binary64
associate-*r/_binary64
Counts
4 → 43
Calls

4 calls:

8.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K m))) 2) M))
3.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
3.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
2.0ms
(cbrt.f64 (*.f64 K m))
Compiler

Compiled 2261 to 789 computations (65.1% saved)

series281.0ms (3.4%)

Error
0.8b
Counts
4 → 41
Calls

4 calls:

108.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K m))) 2) M))
46.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
46.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
38.0ms
(cbrt.f64 (*.f64 K m))
Compiler

Compiled 5762 to 3791 computations (34.2% saved)

simplify148.0ms (1.8%)

Algorithm
egg-herbie
Rules
347×associate-*l*_binary64
322×associate-*r*_binary64
301×cancel-sign-sub-inv_binary64
277×distribute-rgt-neg-in_binary64
265×exp-sum_binary64
Counts
84 → 53
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02131891
14711798
29491761
325591629
443791625
549041625
648751625
749441625

prune42.0ms (0.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New51253
Fresh000
Picked011
Done112
Total52456
Error
0.8b
Counts
56 → 4
Alt Table
StatusErrorProgram
0.9b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
14.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K m))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
46.6b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (/.f64 (cbrt.f64 (*.f64 K (+.f64 (pow.f64 n 3) (pow.f64 m 3)))) (cbrt.f64 (+.f64 (*.f64 n n) (*.f64 m (-.f64 m n))))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (cbrt.f64 (*.f64 K m))) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
34.3b
(*.f64 (*.f64 (sqrt.f64 (cos.f64 (-.f64 (*.f64 (/.f64 (cbrt.f64 (*.f64 K m)) 2) (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m))))) M))) (sqrt.f64 (cos.f64 (-.f64 (*.f64 (/.f64 (cbrt.f64 (*.f64 K m)) 2) (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m))))) M)))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 1419 to 632 computations (55.5% saved)

regimes601.0ms (7.3%)

Accuracy

Total 0.1b remaining (7.9%)

Threshold costs 0.1b (7.9%)

Compiler

Compiled 15254 to 9846 computations (35.5% saved)

simplify4.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

end8.0ms (0.1%)

Remove

(sort m n)

Compiler

Compiled 75 to 54 computations (28% saved)

sample1.9s (22.9%)

Algorithm
intervals
Results
1.1s7862×body128valid
49.0ms326×body128invalid
43.0ms71×body1024invalid
34.0ms55×body1024valid
29.0ms75×body512invalid
25.0ms29×body2048invalid
21.0ms50×body512valid
14.0ms54×body256invalid
9.0ms32×body256valid
1.0msbody2048valid
Compiler

Compiled 269 to 169 computations (37.2% saved)

Profiling

Loading profile data...