Details

Time bar (total: 8.1s)

analyze2.9s (35.2%)

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)

sample105.0ms (1.3%)

Algorithm
intervals
Symmetry

(sort m n)

Results
32.0ms249×body128valid
2.0msbody512valid
1.0ms11×body128invalid
1.0msbody1024valid
1.0msbody2048invalid
1.0msbody1024invalid
1.0msbody512invalid
1.0msbody256valid
0.0msbody256invalid
Compiler

Compiled 74 to 52 computations (29.7% saved)

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

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
17.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
17.6b
(*.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)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fabs.f64 (-.f64 m n)) (+.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.1b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

series101.0ms (1.2%)

Counts
4 → 168
Calls

4 calls:

52.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
25.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
18.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
6.0ms
(*.f64 K (+.f64 m n))

rewrite106.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity_binary64
70×add-sqr-sqrt_binary64
57×prod-diff_binary64
42×add-cube-cbrt_binary64
26×fabs-mul_binary64
Counts
4 → 156
Calls

4 calls:

69.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.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))

simplify259.0ms (3.2%)

Algorithm
egg-herbie
Rules
692×fma-neg_binary64
385×associate-*r*_binary64
362×associate-*l*_binary64
329×fma-def_binary64
268×*-commutative_binary64
Counts
324 → 305
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
057511388
112888942
244588942
350478942

prune536.0ms (6.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3005305
Fresh000
Picked101
Done000
Total3015306
Error
1.4b
Counts
306 → 5
Alt Table
StatusErrorProgram
17.6b
(*.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.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))))
17.6b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 M 1)))) (cos.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1)))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 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))))
12.3b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
17.7b
(*.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))))
Compiler

Compiled 15236 to 7403 computations (51.4% saved)

localize15.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

prune281.0ms (3.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1830183
Fresh044
Picked011
Done000
Total1835188
Error
1.4b
Counts
188 → 5
Alt Table
StatusErrorProgram
17.6b
(*.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.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))))
17.6b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 M 1)))) (cos.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1)))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 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))))
12.3b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
17.7b
(*.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))))
Compiler

Compiled 7641 to 3852 computations (49.6% saved)

localize17.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
26.6b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

series13.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

12.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
cos-sum_binary64
cancel-sign-sub-inv_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
prod-diff_binary64
Counts
1 → 17
Calls

1 calls:

5.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

simplify133.0ms (1.6%)

Algorithm
egg-herbie
Rules
690×fma-neg_binary64
649×distribute-rgt-neg-in_binary64
527×associate-*r*_binary64
509×associate-*l*_binary64
230×distribute-lft-neg-out_binary64
Counts
29 → 36
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0117810
1202773
2626723
32646701
44956701
54976701
64888701

prune416.0ms (5.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2181219
Fresh033
Picked101
Done011
Total2195224
Error
1.4b
Counts
224 → 5
Alt Table
StatusErrorProgram
12.3b
(*.f64 (cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
17.6b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 M 1)))) (cos.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1)))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 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))))
17.6b
(*.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.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))))
17.7b
(*.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))))
Compiler

Compiled 10199 to 5312 computations (47.9% 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 1/2 (*.f64 K m)) M)) 3))
0.6b
(pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3)
26.6b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

series107.0ms (1.3%)

Counts
2 → 48
Calls

2 calls:

95.0ms
(pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3)
12.0ms
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
cube-prod_binary64
Counts
2 → 48
Calls

2 calls:

4.0ms
(pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3)
2.0ms
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3))

simplify115.0ms (1.4%)

Algorithm
egg-herbie
Rules
574×cancel-sign-sub-inv_binary64
445×fma-neg_binary64
411×neg-mul-1_binary64
374×unswap-sqr_binary64
267×associate-*r*_binary64
Counts
96 → 86
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01702633
14732494
218762317
340662311
448562311
549652311

prune371.0ms (4.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1831184
Fresh033
Picked101
Done011
Total1845189
Error
1.4b
Counts
189 → 5
Alt Table
StatusErrorProgram
17.6b
(*.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.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))))
12.3b
(*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)))) 3)) (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))) 3))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
17.6b
(*.f64 (-.f64 (*.f64 (cos.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (neg.f64 (*.f64 M 1)))) (cos.f64 (fma.f64 (neg.f64 M) 1 (*.f64 M 1)))) (*.f64 (sin.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2))) (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 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))))
17.7b
(*.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))))
Compiler

Compiled 7874 to 4420 computations (43.9% saved)

regimes599.0ms (7.4%)

Accuracy

Total 0.2b remaining (14.5%)

Threshold costs 0.2b (14.5%)

Counts
76 → 1
Compiler

Compiled 15590 to 10098 computations (35.2% 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

end7.0ms (0.1%)

Remove

(sort m n)

Compiler

Compiled 75 to 54 computations (28% saved)

sample2.0s (24.1%)

Algorithm
intervals
Results
1.1s7847×body128valid
63.0ms101×body1024invalid
40.0ms62×body1024valid
36.0ms267×body128invalid
30.0ms77×body512invalid
23.0ms59×body512valid
16.0ms63×body256invalid
16.0ms18×body2048invalid
9.0ms30×body256valid
2.0msbody2048valid
Compiler

Compiled 340 to 218 computations (35.9% saved)

Profiling

Loading profile data...