Details

Time bar (total: 9.8s)

analyze3.2s (32.8%)

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)

sample64.0ms (0.6%)

Algorithm
intervals
Results
31.0ms255×body128valid
2.0msbody1024invalid
1.0msbody2048invalid
1.0ms10×body128invalid
1.0msbody256invalid
1.0msbody512invalid
0.0msbody256valid
Compiler

Compiled 74 to 52 computations (29.7% saved)

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

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite286.0ms (2.9%)

Algorithm
rewrite-expression-head
Error
15.3b
Rules
42×add-cube-cbrt_binary64
22×pow1_binary64
19×add-exp-log_binary64
19×add-sqr-sqrt_binary64
18×add-cbrt-cube_binary64
Counts
4 → 174
Calls

4 calls:

17.0ms
(*.f64 K (+.f64 m n))
15.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
14.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
14.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 6377 to 2790 computations (56.2% saved)

series163.0ms (1.7%)

Error
0.2b
Counts
4 → 63
Calls

4 calls:

59.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
31.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
25.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
22.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 4691 to 3124 computations (33.4% saved)

simplify143.0ms (1.5%)

Algorithm
egg-herbie
Rules
543×fma-neg_binary64
507×cancel-sign-sub-inv_binary64
377×distribute-rgt-in_binary64
214×unswap-sqr_binary64
197×associate-*l*_binary64
Counts
237 → 153
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02634227
17323323
223423205
348663205
450713205

prune126.0ms (1.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1512153
Fresh000
Picked101
Done000
Total1522154
Error
0.2b
Counts
154 → 2
Alt Table
StatusErrorProgram
0.3b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.3b
(*.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 3900 to 1931 computations (50.5% saved)

localize14.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite203.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
29×add-cube-cbrt_binary64
13×add-sqr-sqrt_binary64
11×pow1_binary64
10×add-log-exp_binary64
add-cbrt-cube_binary64
Counts
3 → 113
Calls

3 calls:

16.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
14.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
12.0ms
(cos.f64 M)
Compiler

Compiled 2791 to 1316 computations (52.8% saved)

series104.0ms (1.1%)

Error
0.2b
Counts
3 → 48
Calls

3 calls:

52.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
27.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
6.0ms
(cos.f64 M)
Compiler

Compiled 2611 to 1787 computations (31.6% saved)

simplify98.0ms (1%)

Algorithm
egg-herbie
Rules
828×fma-neg_binary64
615×fma-def_binary64
587×associate-*l*_binary64
505×associate-*r*_binary64
416×cancel-sign-sub-inv_binary64
Counts
161 → 91
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01551911
13721842
211521758
345941758
451321758

prune59.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New91091
Fresh011
Picked011
Done000
Total91293
Error
0.2b
Counts
93 → 2
Alt Table
StatusErrorProgram
0.3b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.3b
(*.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 1628 to 822 computations (49.5% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite185.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
34×add-cube-cbrt_binary64
16×flip3-+_binary64
16×add-sqr-sqrt_binary64
16×pow1/3_binary64
15×cbrt-div_binary64
Counts
4 → 148
Calls

4 calls:

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

Compiled 8468 to 2328 computations (72.5% saved)

series204.0ms (2.1%)

Error
0.2b
Counts
4 → 42
Calls

4 calls:

48.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
45.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))
40.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
40.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
Compiler

Compiled 5974 to 3686 computations (38.3% saved)

simplify172.0ms (1.8%)

Algorithm
egg-herbie
Rules
737×fma-neg_binary64
508×fma-def_binary64
377×associate-*l*_binary64
364×cancel-sign-sub-inv_binary64
284×associate-*r*_binary64
Counts
190 → 102
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01874014
14902933
212472730
330722317
438782300
548532300
648052300

prune83.0ms (0.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1011102
Fresh000
Picked011
Done011
Total1013104
Error
0.2b
Counts
104 → 3
Alt Table
StatusErrorProgram
0.3b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.3b
(*.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))))
23.8b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (fma.f64 1/3 (/.f64 (*.f64 m (cbrt.f64 (*.f64 n K))) n) (cbrt.f64 (*.f64 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 3578 to 1485 computations (58.5% saved)

localize33.0ms (0.3%)

Local error

Found 4 expressions with local error:

16.2b
(cbrt.f64 (*.f64 n K))
16.8b
(cbrt.f64 (*.f64 K (+.f64 n m)))
16.8b
(cbrt.f64 (*.f64 K (+.f64 n m)))
39.6b
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (fma.f64 1/3 (/.f64 (*.f64 m (cbrt.f64 (*.f64 n K))) n) (cbrt.f64 (*.f64 n K)))) 2) M))

rewrite205.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
34×add-cube-cbrt_binary64
16×add-sqr-sqrt_binary64
16×pow1/3_binary64
12×log1p-expm1-u_binary64
12×expm1-log1p-u_binary64
Counts
4 → 143
Calls

4 calls:

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

Compiled 9753 to 2812 computations (71.2% saved)

series408.0ms (4.1%)

Error
0.2b
Counts
4 → 36
Calls

4 calls:

261.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (fma.f64 1/3 (/.f64 (*.f64 m (cbrt.f64 (*.f64 n K))) n) (cbrt.f64 (*.f64 n K)))) 2) M))
40.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
40.0ms
(cbrt.f64 (*.f64 K (+.f64 n m)))
33.0ms
(cbrt.f64 (*.f64 n K))
Compiler

Compiled 7263 to 4762 computations (34.4% saved)

simplify176.0ms (1.8%)

Algorithm
egg-herbie
Rules
657×fma-neg_binary64
198×cancel-sign-sub-inv_binary64
194×*-commutative_binary64
183×associate-*r*_binary64
168×fma-def_binary64
Counts
179 → 117
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03247776
18685144
221594882
346964882
450374882

prune122.0ms (1.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1170117
Fresh000
Picked011
Done022
Total1173120
Error
0.2b
Counts
120 → 3
Alt Table
StatusErrorProgram
0.3b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
15.3b
(*.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))))
23.8b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 K (+.f64 n m))) (cbrt.f64 (*.f64 K (+.f64 n m)))) (fma.f64 1/3 (/.f64 (*.f64 m (cbrt.f64 (*.f64 n K))) n) (cbrt.f64 (*.f64 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 6746 to 2413 computations (64.2% saved)

regimes1.9s (19.6%)

Accuracy

Total 0.2b remaining (16.1%)

Threshold costs 0.2b (16.1%)

Compiler

Compiled 58394 to 36144 computations (38.1% 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
01726
13026
24626
36126
47026
57326
67226

end8.0ms (0.1%)

Remove

(sort m n)

Compiler

Compiled 66 to 48 computations (27.3% saved)

sample1.7s (17.3%)

Algorithm
intervals
Results
988.0ms7830×body128valid
50.0ms79×body1024invalid
49.0ms74×body1024valid
39.0ms293×body128invalid
24.0ms67×body512invalid
24.0ms59×body512valid
22.0ms76×body256invalid
11.0ms12×body2048invalid
10.0ms36×body256valid
1.0msbody2048valid
Compiler

Compiled 191 to 121 computations (36.6% saved)

Profiling

Loading profile data...