Details

Time bar (total: 7.2s)

analyze3.2s (44.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)

sample56.0ms (0.8%)

Algorithm
intervals
Results
31.0ms254×body128valid
4.0ms12×body128invalid
1.0msbody1024valid
0.0msbody256invalid
0.0msbody512valid
0.0msbody512invalid
Compiler

Compiled 74 to 52 computations (29.7% saved)

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

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
16.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
16.5b
(*.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)

localize17.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite91.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
16.4b
Rules
15×add-sqr-sqrt_binary64
12×*-un-lft-identity_binary64
add-cube-cbrt_binary64
unpow-prod-down_binary64
add-exp-log_binary64
Counts
3 → 56
Calls

3 calls:

10.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
7.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
5.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 1897 to 941 computations (50.4% saved)

series138.0ms (1.9%)

Error
0.4b
Counts
3 → 48
Calls

3 calls:

61.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
31.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
20.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 3777 to 2500 computations (33.8% saved)

simplify129.0ms (1.8%)

Algorithm
egg-herbie
Rules
540×unswap-sqr_binary64
498×associate-*l*_binary64
412×associate-*r*_binary64
306×distribute-rgt-in_binary64
297×distribute-lft-in_binary64
Counts
104 → 81
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01781845
14111689
210061641
331041638
444081638
549301638
649491638

prune52.0ms (0.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh000
Picked101
Done000
Total79382
Error
0.4b
Counts
82 → 3
Alt Table
StatusErrorProgram
16.5b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 n m)) (cbrt.f64 (+.f64 n 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))))
16.5b
(*.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))))
0.5b
(*.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 1810 to 903 computations (50.1% saved)

localize14.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite41.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
unpow-prod-down_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
2 → 28
Calls

2 calls:

8.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
1.0ms
(cos.f64 M)
Compiler

Compiled 722 to 375 computations (48.1% saved)

series89.0ms (1.2%)

Error
0.4b
Counts
2 → 30
Calls

2 calls:

57.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
13.0ms
(cos.f64 M)
Compiler

Compiled 1858 to 1242 computations (33.2% saved)

simplify129.0ms (1.8%)

Algorithm
egg-herbie
Rules
510×cancel-sign-sub-inv_binary64
416×unswap-sqr_binary64
402×distribute-rgt-in_binary64
402×exp-prod_binary64
380×distribute-lft-in_binary64
Counts
58 → 44
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0921088
1221983
2516935
31663923
44186923
54270923
64580923
74987923
84967923

prune30.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New44044
Fresh022
Picked011
Done000
Total44347
Error
0.4b
Counts
47 → 3
Alt Table
StatusErrorProgram
16.5b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 n m)) (cbrt.f64 (+.f64 n 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))))
16.5b
(*.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))))
0.5b
(*.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 789 to 407 computations (48.4% saved)

localize25.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite94.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
14×*-un-lft-identity_binary64
12×cbrt-prod_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
cbrt-div_binary64
Counts
4 → 54
Calls

4 calls:

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

Compiled 2536 to 956 computations (62.3% saved)

series105.0ms (1.4%)

Error
0.4b
Counts
4 → 30
Calls

4 calls:

37.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 n m)) (cbrt.f64 (+.f64 n m)))) (cbrt.f64 (+.f64 m n))) 2) M))
19.0ms
(cbrt.f64 (+.f64 m n))
18.0ms
(cbrt.f64 (+.f64 n m))
17.0ms
(cbrt.f64 (+.f64 n m))
Compiler

Compiled 3419 to 2282 computations (33.3% saved)

simplify113.0ms (1.6%)

Algorithm
egg-herbie
Rules
440×times-frac_binary64
426×associate-*l*_binary64
417×associate-*r*_binary64
284×div-sub_binary64
245×cancel-sign-sub-inv_binary64
Counts
84 → 56
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01291071
12241013
23611013
37061013
414461013
538061013
649541013
749341013

prune37.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New56056
Fresh011
Picked011
Done011
Total56359
Error
0.4b
Counts
59 → 3
Alt Table
StatusErrorProgram
16.5b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 n m)) (cbrt.f64 (+.f64 n 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))))
16.5b
(*.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))))
0.5b
(*.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 1374 to 619 computations (54.9% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

16.9b
(cbrt.f64 (*.f64 K (+.f64 n m)))
16.9b
(cbrt.f64 (*.f64 K (+.f64 n m)))
16.9b
(cbrt.f64 (*.f64 K (+.f64 n m)))
37.7b
(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))

rewrite89.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.4b
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:

14.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))
3.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)

series201.0ms (2.8%)

Error
0.4b
Counts
4 → 39
Calls

4 calls:

53.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))
41.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
38.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
38.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
Compiler

Compiled 5482 to 3357 computations (38.8% saved)

simplify126.0ms (1.7%)

Algorithm
egg-herbie
Rules
340×exp-sum_binary64
271×sub-neg_binary64
250×associate-*l*_binary64
243×unsub-neg_binary64
242×div-sub_binary64
Counts
84 → 54
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01451278
13061229
25921193
312601103
427191103
542091103
649101103
749911103

prune25.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New54054
Fresh000
Picked011
Done022
Total54357
Error
0.4b
Counts
57 → 3
Alt Table
StatusErrorProgram
16.5b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 K (*.f64 (cbrt.f64 (+.f64 n m)) (cbrt.f64 (+.f64 n 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))))
16.5b
(*.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))))
0.5b
(*.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 953 to 439 computations (53.9% saved)

regimes491.0ms (6.8%)

Accuracy

Total 0.2b remaining (16%)

Threshold costs 0.2b (16%)

Compiler

Compiled 14414 to 9090 computations (36.9% saved)

simplify4.0ms (0.1%)

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
01726
13026
24626
36126
47026
57326
67226

end6.0ms (0.1%)

Remove

(sort m n)

Compiler

Compiled 66 to 48 computations (27.3% saved)

sample1.8s (25%)

Algorithm
intervals
Results
1.1s7825×body128valid
50.0ms88×body512invalid
45.0ms67×body1024valid
43.0ms76×body1024invalid
37.0ms285×body128invalid
32.0ms80×body512valid
20.0ms58×body256invalid
17.0ms20×body2048invalid
7.0ms28×body256valid
Compiler

Compiled 179 to 116 computations (35.2% saved)

Profiling

Loading profile data...