Details

Time bar (total: 10.9s)

analyze2.9s (26.3%)

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 (20.8%)

Results
1.9s8085×body128valid
73.0ms71×body1024valid
73.0ms89×body1024invalid
69.0ms299×body128invalid
37.0ms70×body512invalid
37.0ms64×body512valid
23.0ms20×body2048invalid
22.0ms59×body256invalid
14.0ms36×body256valid
Compiler

Compiled 104 to 71 computations (31.7% saved)

simplify96.0ms (0.9%)

Algorithm
egg-herbie
Rules
1713×rules-43_binary64
966×rules-42_binary64
924×fma-neg_binary64
499×rules-40_binary64
485×rules-41_binary64
Counts
1 → 2
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
02245
113345
244245
3182643
4390428
5434315
6467815
7490615

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
18.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
18.3b
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
Compiler

Compiled 112 to 73 computations (34.8% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series56.0ms (0.5%)

Counts
4 → 156
Calls

4 calls:

24.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
16.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
9.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
7.0ms
(*.f64 K (+.f64 m n))

rewrite91.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
292×log1p-udef_binary64
162×add-sqr-sqrt_binary64
157×log1p-expm1-u_binary64
157×expm1-log1p-u_binary64
151×egg-rr
Counts
4 → 151
Calls

4 calls:

88.0ms
(*.f64 K (+.f64 m n))
88.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
88.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
88.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01445
135345
2476645
3517545
000
100

simplify68.0ms (0.6%)

Algorithm
egg-herbie
Rules
508×fma-neg_binary64
429×fma-def_binary64
390×rules-7-rev_binary64
360×rules-20_binary64
329×rules-13_binary64
Counts
307 → 216
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01592838
112052734
254422734

prune241.0ms (2.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2124216
Fresh000
Picked101
Done000
Total2134217
Error
0.8b
Counts
217 → 4
Alt Table
StatusErrorProgram
46.0b
(*.f64 (cos.f64 (-.f64 (log.f64 (+.f64 1 (expm1.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)))) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
11.4b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
1.2b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
18.3b
(*.f64 (log1p.f64 (expm1.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
Compiler

Compiled 8616 to 4245 computations (50.7% saved)

localize14.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series128.0ms (1.2%)

Counts
1 → 48
Calls

1 calls:

128.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))

rewrite93.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
970×prod-diff_binary64
172×add-sqr-sqrt_binary64
169×log1p-expm1-u_binary64
169×expm1-log1p-u_binary64
159×add-cbrt-cube_binary64
Counts
1 → 103
Calls

1 calls:

89.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01526
137824
2452724
3631624
000
100

simplify69.0ms (0.6%)

Algorithm
egg-herbie
Rules
717×rules-40_binary64
717×rules-41_binary64
717×rules-42_binary64
717×rules-43_binary64
327×rules-21_binary64
Counts
151 → 137
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0721645
14311514
223381514
349701514

prune327.0ms (3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1990199
Fresh033
Picked011
Done000
Total1994203
Error
0.8b
Counts
203 → 4
Alt Table
StatusErrorProgram
46.0b
(*.f64 (cos.f64 (-.f64 (log.f64 (+.f64 1 (expm1.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)))) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
11.4b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
1.2b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
18.3b
(*.f64 (log1p.f64 (expm1.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
Compiler

Compiled 7496 to 3411 computations (54.5% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 1/2 (*.f64 n K)) M)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
0.2b
(*.f64 1/2 (*.f64 n K))
28.6b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))

series23.0ms (0.2%)

Counts
3 → 21
Calls

3 calls:

12.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
6.0ms
(-.f64 (*.f64 1/2 (*.f64 n K)) M)
4.0ms
(*.f64 1/2 (*.f64 n K))

rewrite74.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
856×fma-neg_binary64
709×prod-diff_binary64
188×expm1-udef_binary64
188×log1p-udef_binary64
138×egg-rr
Counts
3 → 138
Calls

3 calls:

72.0ms
(-.f64 (*.f64 1/2 (*.f64 n K)) M)
72.0ms
(*.f64 1/2 (*.f64 n K))
71.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
122529
2297829
3534329
000
100

simplify43.0ms (0.4%)

Algorithm
egg-herbie
Rules
764×rules-11_binary64
682×fma-def_binary64
355×rules-40_binary64
355×rules-41_binary64
355×rules-42_binary64
Counts
159 → 156
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048419
1339413
21461413
36164413

prune467.0ms (4.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2162218
Fresh022
Picked101
Done011
Total2175222
Error
0.8b
Counts
222 → 5
Alt Table
StatusErrorProgram
11.4b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) 2)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
46.0b
(*.f64 (cos.f64 (-.f64 (log.f64 (+.f64 1 (expm1.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)))) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
33.8b
(*.f64 (cos.f64 (-.f64 (pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 n K))) 2) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
1.2b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
18.3b
(*.f64 (log1p.f64 (expm1.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
Compiler

Compiled 7962 to 4134 computations (48.1% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) 2))
0.4b
(pow.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) 2)
0.4b
(cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)))
28.6b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))

series2.0s (18.6%)

Counts
3 → 108
Calls

3 calls:

1.1s
(pow.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) 2)
954.0ms
(cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)))
13.0ms
(*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) 2))

rewrite90.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
770×prod-diff_binary64
133×egg-rr
130×add-sqr-sqrt_binary64
125×log1p-expm1-u_binary64
125×expm1-log1p-u_binary64
Counts
3 → 133
Calls

3 calls:

86.0ms
(*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) 2))
86.0ms
(pow.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) 2)
86.0ms
(cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01343
129641
2360641
3490241
000
100

simplify76.0ms (0.7%)

Algorithm
egg-herbie
Rules
438×fma-neg_binary64
365×rules-20_binary64
318×fma-def_binary64
309×rules-7-rev_binary64
277×rules-40_binary64
Counts
241 → 182
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01813170
112873131
249053131

prune559.0ms (5.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3521353
Fresh033
Picked101
Done011
Total3535358
Error
0.8b
Counts
358 → 5
Alt Table
StatusErrorProgram
11.4b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))) (pow.f64 (-.f64 (exp.f64 (log1p.f64 (cbrt.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))))) 1) 2)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
46.0b
(*.f64 (cos.f64 (-.f64 (log.f64 (+.f64 1 (expm1.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)))) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
33.8b
(*.f64 (cos.f64 (-.f64 (pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 n K))) 2) M)) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
1.2b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
18.3b
(*.f64 (log1p.f64 (expm1.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
Compiler

Compiled 19686 to 11310 computations (42.5% saved)

regimes1.0s (9.4%)

Accuracy

Total 0.2b remaining (17.1%)

Threshold costs 0.2b (17.1%)

Counts
149 → 1
Compiler

Compiled 27872 to 20274 computations (27.3% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01731
11731

end120.0ms (1.1%)

Compiler

Compiled 234 to 169 computations (27.8% saved)

Profiling

Loading profile data...