Details

Time bar (total: 19.0s)

analyze3.0s (15.7%)

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

Results
1.8s8110×body128valid
70.0ms84×body1024invalid
68.0ms315×body128invalid
67.0ms78×body512invalid
53.0ms58×body1024valid
36.0ms64×body512valid
29.0ms17×body2048invalid
22.0ms59×body256invalid
14.0ms24×body256valid
Compiler

Compiled 104 to 71 computations (31.7% saved)

simplify48.0ms (0.3%)

Algorithm
egg-herbie
Rules
1058×fma-neg_binary64
716×fma-def_binary64
379×exp-prod_binary64
190×exp-diff_binary64
108×rules-33_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02245
15045
213844
347743
4237343
5462343
6499243

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series338.0ms (1.8%)

Counts
4 → 180
Calls

4 calls:

289.0ms
(*.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))))
25.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
15.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
8.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)

rewrite45.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
243×add-sqr-sqrt_binary64
235×log1p-expm1-u_binary64
235×expm1-log1p-u_binary64
225×add-log-exp_binary64
224×add-cbrt-cube_binary64
Counts
4 → 88
Calls

4 calls:

43.0ms
(*.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))))
43.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)
43.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
43.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02181
153081
2499581
000
100

simplify187.0ms (1%)

Algorithm
egg-herbie
Rules
598×rules-21_binary64
367×rules-20_binary64
292×rules-1_binary64
275×rules-1-rev_binary64
261×rules-7-rev_binary64
Counts
268 → 194
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062513476
1276312302
2513512302

prune351.0ms (1.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1895194
Fresh000
Picked101
Done000
Total1905195
Error
0.8b
Counts
195 → 5
Alt Table
StatusErrorProgram
13.0b
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 3) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.1b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
13.0b
(*.f64 (log1p.f64 (expm1.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))))
29.0b
(*.f64 (cos.f64 (-.f64 (expm1.f64 (log1p.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))))
13.0b
(*.f64 (cos.f64 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) 3) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 17148 to 8543 computations (50.2% saved)

localize13.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (-.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)

series57.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

57.0ms
(exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))

rewrite70.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
290×expm1-udef_binary64
290×log1p-udef_binary64
170×add-sqr-sqrt_binary64
167×log1p-expm1-u_binary64
167×expm1-log1p-u_binary64
Counts
1 → 32
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01526
137724
2448124
3525024
000
100

simplify76.0ms (0.4%)

Algorithm
egg-herbie
Rules
709×fma-def_binary64
541×rules-13_binary64
344×rules-20_binary64
256×rules-21_binary64
147×rules-7-rev_binary64
Counts
80 → 70
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02344963
19754187
250274187

prune188.0ms (1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1122114
Fresh134
Picked101
Done000
Total1145119
Error
0.8b
Counts
119 → 5
Alt Table
StatusErrorProgram
13.0b
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 3) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.1b
(*.f64 (cos.f64 M) (*.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2)))
1.1b
(*.f64 (cos.f64 M) (pow.f64 (sqrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2))
29.0b
(*.f64 (cos.f64 (-.f64 (expm1.f64 (log1p.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))))
13.0b
(*.f64 (cos.f64 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) 3) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 7105 to 3508 computations (50.6% saved)

localize14.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (-.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)

series59.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

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

rewrite88.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
288×log1p-udef_binary64
160×add-sqr-sqrt_binary64
158×log1p-expm1-u_binary64
158×expm1-log1p-u_binary64
149×add-log-exp_binary64
Counts
1 → 33
Calls

1 calls:

87.0ms
(exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01424
135424
2481624
3521524
000
100

simplify78.0ms (0.4%)

Algorithm
egg-herbie
Rules
969×fma-def_binary64
799×rules-13_binary64
416×rules-20_binary64
388×rules-21_binary64
91×rules-1_binary64
Counts
81 → 68
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02705175
112444660
251414660

prune210.0ms (1.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1120112
Fresh044
Picked011
Done000
Total1125117
Error
0.8b
Counts
117 → 5
Alt Table
StatusErrorProgram
13.0b
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 3) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.1b
(*.f64 (cos.f64 M) (*.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2)))
1.1b
(*.f64 (cos.f64 M) (pow.f64 (sqrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2))
29.0b
(*.f64 (cos.f64 (-.f64 (expm1.f64 (log1p.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))))
13.0b
(*.f64 (cos.f64 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) 3) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 8047 to 4447 computations (44.7% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series10.0s (52.3%)

Counts
3 → 144
Calls

3 calls:

5.1s
(cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
4.8s
(pow.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2)
63.0ms
(*.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2))

rewrite93.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
631×prod-diff_binary64
177×add-sqr-sqrt_binary64
175×log1p-expm1-u_binary64
175×expm1-log1p-u_binary64
165×add-cbrt-cube_binary64
Counts
3 → 87
Calls

3 calls:

90.0ms
(cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
90.0ms
(*.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2))
90.0ms
(pow.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01779
140177
2466277
3579277
000
100

simplify221.0ms (1.2%)

Algorithm
egg-herbie
Rules
416×rules-20_binary64
324×rules-1_binary64
303×rules-1-rev_binary64
272×rules-11_binary64
255×rules-21_binary64
Counts
231 → 192
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
078217370
1356115843
2505915843

prune846.0ms (4.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3470347
Fresh033
Picked011
Done011
Total3475352
Error
0.8b
Counts
352 → 5
Alt Table
StatusErrorProgram
13.0b
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 3) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.1b
(*.f64 (cos.f64 M) (*.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2)))
1.1b
(*.f64 (cos.f64 M) (pow.f64 (sqrt.f64 (exp.f64 (-.f64 (-.f64 m n) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))) 2))
29.0b
(*.f64 (cos.f64 (-.f64 (expm1.f64 (log1p.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))))
13.0b
(*.f64 (cos.f64 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (*.f64 K (+.f64 m n)) 2)) 3) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
Compiler

Compiled 35347 to 20061 computations (43.2% saved)

regimes656.0ms (3.5%)

Accuracy

Total 0.2b remaining (15.1%)

Threshold costs 0.2b (15.1%)

Counts
91 → 1
Compiler

Compiled 17894 to 12504 computations (30.1% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01834
11834

end125.0ms (0.7%)

Compiler

Compiled 233 to 164 computations (29.6% saved)

Profiling

Loading profile data...