Details

Time bar (total: 15.0s)

analyze3.0s (19.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)

sample2.3s (15.4%)

Symmetry

(sort m n)

Results
1.9s8100×body128valid
85.0ms91×body1024invalid
69.0ms318×body128invalid
53.0ms60×body1024valid
46.0ms81×body512invalid
35.0ms63×body512valid
22.0ms52×body256invalid
20.0ms17×body2048invalid
12.0ms32×body256valid
1.0msbody2048valid
Compiler

Compiled 104 to 71 computations (31.7% saved)

simplify61.0ms (0.4%)

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
16.4b
Counts
3 → 1
Alt Table
StatusErrorProgram
16.4b
(*.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.1%)

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

series109.0ms (0.7%)

Counts
4 → 168
Calls

4 calls:

54.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
28.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
18.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
9.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)

rewrite59.0ms (0.4%)

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

4 calls:

19.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
10.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
8.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
6.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)

simplify242.0ms (1.6%)

Algorithm
egg-herbie
Rules
694×fma-neg_binary64
352×associate-*r*_binary64
328×associate-*l*_binary64
328×fma-def_binary64
260×*-commutative_binary64
Counts
324 → 312
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058211581
113189114
245259114
351149114

prune420.0ms (2.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3093312
Fresh000
Picked101
Done000
Total3103313
Error
0.4b
Counts
313 → 3
Alt Table
StatusErrorProgram
16.4b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (cbrt.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))))
16.4b
(*.f64 (cos.f64 (-.f64 (/.f64 1 (/.f64 2 (*.f64 K (+.f64 m n)))) 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 15185 to 7419 computations (51.1% saved)

localize15.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
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)

series47.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

47.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×fma-def_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
unpow-prod-down_binary64
add-log-exp_binary64
Counts
1 → 25
Calls

1 calls:

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

simplify82.0ms (0.5%)

Algorithm
egg-herbie
Rules
737×distribute-rgt-in_binary64
733×fma-neg_binary64
455×fma-def_binary64
381×associate--l+_binary64
377×associate-+l+_binary64
Counts
73 → 66
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0881735
12931532
27421518
326101516
449541516
553591516

prune332.0ms (2.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2490249
Fresh022
Picked011
Done000
Total2493252
Error
0.4b
Counts
252 → 3
Alt Table
StatusErrorProgram
16.4b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (cbrt.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))))
16.4b
(*.f64 (cos.f64 (-.f64 (/.f64 1 (/.f64 2 (*.f64 K (+.f64 m n)))) 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 9243 to 4585 computations (50.4% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))
0.4b
(*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))
0.6b
(cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
37.1b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

series4.0s (26.4%)

Counts
3 → 144
Calls

3 calls:

2.1s
(*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))
1.8s
(cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
28.0ms
(*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))))

rewrite22.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
24×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
16×pow1/3_binary64
14×*-un-lft-identity_binary64
Counts
3 → 93
Calls

3 calls:

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

simplify178.0ms (1.2%)

Algorithm
egg-herbie
Rules
534×fma-def_binary64
514×*-commutative_binary64
308×sub-neg_binary64
288×associate-+r+_binary64
244×+-commutative_binary64
Counts
237 → 205
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
05279902
117038918
243648821
351038821

prune1.1s (7.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New5371538
Fresh011
Picked101
Done011
Total5383541
Error
0.4b
Counts
541 → 3
Alt Table
StatusErrorProgram
16.4b
(*.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 2)) (cbrt.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))))
16.4b
(*.f64 (cos.f64 (-.f64 (/.f64 1 (/.f64 2 (*.f64 K (+.f64 m n)))) 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 46689 to 24166 computations (48.2% saved)

localize28.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 2))
0.6b
(cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
24.5b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))
37.1b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

series1.2s (7.8%)

Counts
2 → 48
Calls

2 calls:

1.2s
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 2))
10.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64
cos-sum_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 35
Calls

2 calls:

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

simplify105.0ms (0.7%)

Algorithm
egg-herbie
Rules
772×fma-neg_binary64
587×*-commutative_binary64
525×fma-def_binary64
421×cancel-sign-sub-inv_binary64
310×unswap-sqr_binary64
Counts
83 → 75
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02132481
14632430
215962336
342532318
449892318
548992318

prune363.0ms (2.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2002202
Fresh011
Picked101
Done011
Total2014205
Error
0.4b
Counts
205 → 4
Alt Table
StatusErrorProgram
16.4b
(*.f64 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 2)) (cbrt.f64 (-.f64 (*.f64 (cos.f64 (*.f64 M 0)) (cos.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M)))) (*.f64 (sin.f64 (*.f64 M 0)) (sin.f64 (fma.f64 (/.f64 K (sqrt.f64 2)) (/.f64 (+.f64 n m) (sqrt.f64 2)) (neg.f64 M))))))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
16.4b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 2)))) (cbrt.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))))
16.4b
(*.f64 (cos.f64 (-.f64 (/.f64 1 (/.f64 2 (*.f64 K (+.f64 m n)))) 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 15001 to 8195 computations (45.4% saved)

regimes1.2s (8.2%)

Accuracy

Total 0.1b remaining (12.1%)

Threshold costs 0.1b (12.1%)

Counts
155 → 1
Compiler

Compiled 33248 to 22500 computations (32.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
01833
13233
24733
36133
46933
57233
67233

end134.0ms (0.9%)

Remove

(sort m n)

Compiler

Compiled 299 to 214 computations (28.4% saved)

Profiling

Loading profile data...