Details

Time bar (total: 18.6s)

analyze3.0s (16%)

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.0s (11%)

Results
1.7s8096×body128valid
79.0ms88×body1024invalid
69.0ms346×body128invalid
53.0ms62×body1024valid
47.0ms88×body512invalid
40.0ms66×body512valid
21.0ms57×body256invalid
16.0ms15×body2048invalid
10.0ms28×body256valid
6.0msbody2048valid
Compiler

Compiled 70 to 48 computations (31.4% saved)

preprocess72.0ms (0.4%)

Algorithm
egg-herbie
Rules
1390×sqr-pow_binary64
960×pow-sqr_binary64
90×exp-prod_binary64
31×exp-diff_binary64
10×rem-sqrt-square_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0154495
1217495
2285495
3339495
4440495
5579495
6790495
71143495
81756495
92869495
103570495
113590495
123590495
055
Stop Event
saturated
node limit
Compiler

Compiled 34 to 23 computations (32.4% saved)

simplify41.0ms (0.2%)

Algorithm
egg-herbie
Rules
1596×sqr-pow_binary64
1373×pow-sqr_binary64
13×exp-prod_binary64
exp-diff_binary64
rem-sqrt-square_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02245
13045
24245
35145
46545
58245
610845
714645
821045
932445
1052845
1190745
12160845
13293945
14386445
15386645
16386645
Stop Event
node limit
Counts
1 → 1

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
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 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
Compiler

Compiled 102 to 69 computations (32.4% saved)

localize17.0ms (0.1%)

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.0b
(exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n)))))
36.6b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

series91.0ms (0.5%)

Counts
4 → 168
Calls

42 calls:

8.0ms
(exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n)))))
M
0
7.0ms
(exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n)))))
m
0
7.0ms
(exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n)))))
l
0
7.0ms
(exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n)))))
n
0
6.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
K
0

rewrite56.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
235×add-sqr-sqrt_binary64
235×prod-diff_binary64
227×log1p-expm1-u_binary64
227×expm1-log1p-u_binary64
225×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02163
142863
2489163
Stop Event
node limit
Counts
4 → 60

simplify412.0ms (2.2%)

Algorithm
egg-herbie
Rules
1412×sqr-pow_binary64
967×pow-sqr_binary64
95×fma-def_binary64
50×cube-mult_binary64
50×unpow3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03507652
15117482
25797482
36587482
47607482
58827482
610537482
712957482
816647482
922507482
1032357482
1138477482
1238637482
1338657482
1438657482
Stop Event
node limit
Counts
228 → 164

prune236.0ms (1.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1586164
Fresh000
Picked101
Done000
Total1596165
Error
1.4b
Counts
165 → 6
Alt Table
StatusErrorProgram
35.7b
(*.f64 (cos.f64 (-.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 K (+.f64 m n)) 3)) 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.1b
(*.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))))))
15.3b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 2) (cbrt.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))))))
15.3b
(*.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) 1) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
29.9b
(*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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))))))
1.8b
(*.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))))))
Compiler

Compiled 10958 to 5291 computations (51.7% saved)

localize33.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series80.0ms (0.4%)

Counts
2 → 84
Calls

21 calls:

36.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
M
inf
5.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
l
0
4.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
l
inf
4.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
l
-inf
3.0ms
(-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))
M
0

rewrite44.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
301×expm1-udef_binary64
301×log1p-udef_binary64
182×prod-diff_binary64
167×add-sqr-sqrt_binary64
164×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01536
130936
2353136
Stop Event
node limit
Counts
2 → 48

simplify5.6s (30.1%)

Algorithm
egg-herbie
Rules
1623×sqr-pow_binary64
34×fma-def_binary64
fma-neg_binary64
fma-udef_binary64
rem-sqrt-square_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0791988
11191926
21451926
31591926
41721926
51811926
61901926
71991926
82081926
92171926
102261926
112351926
122441926
132531926
142621926
152711926
162801926
172891926
182981926
193071926
203161926
213251926
223341926
233431926
243521926
253611926
263701926
273791926
283881926
293971926
304061926
314151926
324241926
334331926
344421926
354511926
364601926
374691926
384781926
394871926
404961926
415051926
425141926
435231926
445321926
455411926
465501926
475591926
485681926
495771926
505861926
515951926
526041926
536131926
546221926
556311926
566401926
576491926
586581926
596671926
606761926
616851926
626941926
637031926
647121926
657211926
667301926
677391926
687481926
697571926
707661926
717751926
727841926
737931926
748021926
758111926
768201926
778291926
788381926
798471926
808561926
818651926
828741926
838831926
848921926
859011926
869101926
879191926
889281926
899371926
909461926
919551926
929641926
939731926
949821926
959911926
9610001926
9710091926
9810181926
9910271926
10010361926
10110451926
10210541926
10310631926
10410721926
10510811926
10610901926
10710991926
10811081926
10911171926
11011261926
11111351926
11211441926
11311531926
11411621926
11511711926
11611801926
11711891926
11811981926
11912071926
12012161926
12112251926
12212341926
12312431926
12412521926
12512611926
12612701926
12712791926
12812881926
12912971926
13013061926
13113151926
13213241926
13313331926
13413421926
13513511926
13613601926
13713691926
13813781926
13913871926
14013961926
14114051926
14214141926
14314231926
14414321926
14514411926
14614501926
14714591926
14814681926
14914771926
15014861926
15114951926
15215041926
15315131926
15415221926
15515311926
15615401926
15715491926
15815581926
15915671926
16015761926
16115851926
16215941926
16316031926
16416121926
16516211926
16616301926
16716391926
16816481926
16916571926
17016661926
17116751926
17216841926
17316931926
17417021926
17517111926
17617201926
17717291926
17817381926
17917471926
18017561926
18117651926
18217741926
18317831926
18417921926
18518011926
18618101926
18718191926
18818281926
18918371926
19018461926
19118551926
19218641926
19318731926
19418821926
19518911926
19619001926
19719091926
19819181926
19919271926
20019361926
20119451926
20219541926
20319631926
20419721926
20519811926
20619901926
20719991926
20820081926
20920171926
21020261926
21120351926
21220441926
21320531926
21420621926
21520711926
21620801926
21720891926
21820981926
21921071926
22021161926
22121251926
22221341926
22321431926
22421521926
22521611926
22621701926
22721791926
22821881926
22921971926
23022061926
23122151926
23222241926
23322331926
23422421926
23522511926
23622601926
23722691926
23822781926
23922871926
24022961926
24123051926
24223141926
24323231926
24423321926
24523411926
24623501926
24723591926
24823681926
24923771926
25023861926
25123951926
25224041926
25324131926
25424221926
25524311926
25624401926
25724491926
25824581926
25924671926
26024761926
26124851926
26224941926
26325031926
26425121926
26525211926
26625301926
26725391926
26825481926
26925571926
27025661926
27125751926
27225841926
27325931926
27426021926
27526111926
27626201926
27726291926
27826381926
27926471926
28026561926
28126651926
28226741926
28326831926
28426921926
28527011926
28627101926
28727191926
28827281926
28927371926
29027461926
29127551926
29227641926
29327731926
29427821926
29527911926
29628001926
29728091926
29828181926
29928271926
30028361926
30128451926
30228541926
30328631926
30428721926
30528811926
30628901926
30728991926
30829081926
30929171926
31029261926
31129351926
31229441926
31329531926
31429621926
31529711926
31629801926
31729891926
31829981926
31930071926
32030161926
32130251926
32230341926
32330431926
32430521926
32530611926
32630701926
32730791926
32830881926
32930971926
33031061926
33131151926
33231241926
33331331926
33431341926
33531421926
33631501926
33731581926
33831661926
33931741926
34031821926
34131961926
34232051926
34332141926
34432231926
34532321926
34632411926
34732501926
34832591926
34932681926
35032771926
35132861926
35232951926
35333041926
35433131926
35533221926
35633311926
35733401926
35833491926
35933581926
36033671926
36133761926
36233851926
36333941926
36434031926
36534121926
36634211926
36734301926
36834391926
36934481926
37034571926
37134661926
37234751926
37334841926
37434931926
37535021926
37635111926
37735201926
37835291926
37935381926
38035471926
38135561926
38235651926
38335741926
38435831926
38535921926
38636011926
38736101926
38836191926
38936281926
39036371926
39136461926
39236551926
39336641926
39436731926
39536821926
39636911926
39737001926
39837091926
39937181926
40037271926
40137361926
40237451926
40337541926
40437631926
40537721926
40637811926
40737901926
40837991926
40938081926
41038171926
41138261926
41238351926
41338441926
41438531926
41538621926
41638711926
41738801926
41838891926
41938981926
42039071926
42139161926
42239251926
42339341926
42439431926
42539521926
42639611926
42739701926
42839791926
42939881926
43039971926
43140061926
43240151926
43340241926
43440331926
43540421926
43640511926
43740601926
43840691926
43940781926
44040871926
44140961926
44241051926
44341141926
44441231926
44541321926
44641411926
44741501926
44841591926
44941681926
45041771926
45141861926
45241951926
45342041926
45442131926
45542221926
45642311926
45742401926
45842491926
45942581926
46042671926
46142761926
46242851926
46342941926
46443031926
46543121926
46643211926
46743301926
46843391926
46943481926
47043571926
47143661926
47243751926
47343841926
47443931926
47544021926
47644111926
47744201926
47844291926
47944381926
48044471926
48144561926
48244651926
48344741926
48444831926
48544921926
48645011926
48745101926
48845191926
48945281926
49045371926
49145461926
49245551926
49345641926
49445731926
49545821926
49645911926
49746001926
49846091926
49946181926
50046271926
50146361926
50246451926
50346541926
50446631926
50546721926
50646811926
50746901926
50846991926
50947081926
51047171926
51147261926
51247351926
51347441926
51447531926
51547621926
51647711926
51747801926
51847891926
51947981926
52048071926
52148161926
52248251926
52348341926
52448431926
52548521926
52648611926
52748701926
52848791926
52948881926
53048971926
53149061926
53249151926
53349241926
53449331926
53549421926
53649511926
53749601926
53849691926
53949781926
54049871926
54149961926
Stop Event
node limit
Counts
132 → 96

prune297.0ms (1.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1872189
Fresh055
Picked101
Done000
Total1887195
Error
1.4b
Counts
195 → 7
Alt Table
StatusErrorProgram
35.7b
(*.f64 (cos.f64 (-.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 K (+.f64 m n)) 3)) 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.1b
(*.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))))))
33.6b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (pow.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 (/.f64 (+.f64 m n) 2) M)) 2) (cbrt.f64 (-.f64 (/.f64 (+.f64 m n) 2) M)) (fma.f64 (neg.f64 (sqrt.f64 M)) (sqrt.f64 M) M)) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
1.8b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (sqrt.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 4))) (-.f64 l (fabs.f64 (-.f64 m n))))))
15.3b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 2) (cbrt.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))))))
15.3b
(*.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) 1) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
29.9b
(*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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 9799 to 4603 computations (53% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series148.0ms (0.8%)

Counts
4 → 168
Calls

42 calls:

8.0ms
(exp.f64 (-.f64 (neg.f64 (sqrt.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 4))) (-.f64 l (fabs.f64 (-.f64 m n)))))
M
0
7.0ms
(exp.f64 (-.f64 (neg.f64 (sqrt.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 4))) (-.f64 l (fabs.f64 (-.f64 m n)))))
l
0
7.0ms
(exp.f64 (-.f64 (neg.f64 (sqrt.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 4))) (-.f64 l (fabs.f64 (-.f64 m n)))))
m
0
7.0ms
(exp.f64 (-.f64 (neg.f64 (sqrt.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 4))) (-.f64 l (fabs.f64 (-.f64 m n)))))
n
0
7.0ms
(-.f64 (neg.f64 (sqrt.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 4))) (-.f64 l (fabs.f64 (-.f64 m n))))
l
inf

rewrite67.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
338×expm1-udef_binary64
338×log1p-udef_binary64
188×add-sqr-sqrt_binary64
187×log1p-expm1-u_binary64
187×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01880
136380
2402580
Stop Event
node limit
Counts
4 → 74

simplify521.0ms (2.8%)

Algorithm
egg-herbie
Rules
1359×sqr-pow_binary64
942×pow-sqr_binary64
168×fma-def_binary64
42×exp-prod_binary64
40×cube-mult_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
040010009
16229777
27009777
37719777
48619777
59709777
611259777
713499777
816979777
922609777
1032199777
1138239777
1238379777
1338399777
1438399777
Stop Event
node limit
Counts
242 → 218

prune361.0ms (1.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2180218
Fresh066
Picked011
Done000
Total2187225
Error
1.4b
Counts
225 → 7
Alt Table
StatusErrorProgram
35.7b
(*.f64 (cos.f64 (-.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 K (+.f64 m n)) 3)) 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.1b
(*.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))))))
33.6b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (pow.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 (/.f64 (+.f64 m n) 2) M)) 2) (cbrt.f64 (-.f64 (/.f64 (+.f64 m n) 2) M)) (fma.f64 (neg.f64 (sqrt.f64 M)) (sqrt.f64 M) M)) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
1.8b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (sqrt.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 4))) (-.f64 l (fabs.f64 (-.f64 m n))))))
15.3b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 2) (cbrt.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))))))
15.3b
(*.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))) 1) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
29.9b
(*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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 12639 to 6302 computations (50.1% saved)

localize20.0ms (0.1%)

Local error

Found 4 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)
0.0b
(exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n)))))
27.7b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))

series9.0ms (0%)

Counts
1 → 12
Calls

9 calls:

2.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
n
0
2.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
K
0
1.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
M
0
1.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
n
-inf
1.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M))
n
inf

rewrite34.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
817×log1p-expm1-u_binary64
817×expm1-log1p-u_binary64
101×add-sqr-sqrt_binary64
95×add-cbrt-cube_binary64
94×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
118212
2202312
Stop Event
node limit
Counts
1 → 18

simplify201.0ms (1.1%)

Algorithm
egg-herbie
Rules
1800×sqr-pow_binary64
822×pow-sqr_binary64
99×cube-prod_binary64
99×cube-mult_binary64
99×unpow3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046368
180368
2100368
3128368
4171368
5218368
6274368
7335368
8406368
9482368
10568368
11659368
12760368
13866368
14982368
151103368
161234368
171370368
181516368
191667368
201828368
211994368
222170368
232182368
242188368
252188368
262366368
272551368
282747368
292953368
303164368
313385368
323611368
333847368
344088368
354100368
364106368
374106368
384354368
394604368
404870368
Stop Event
node limit
Counts
30 → 32

prune330.0ms (1.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1813184
Fresh145
Picked101
Done011
Total1838191
Error
1.4b
Counts
191 → 8
Alt Table
StatusErrorProgram
1.8b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (sqrt.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 4))) (-.f64 l (fabs.f64 (-.f64 m n))))))
11.1b
(*.f64 (-.f64 (exp.f64 (log1p.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 n K)) M)))) 1) (exp.f64 (-.f64 (neg.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
33.6b
(*.f64 (cos.f64 M) (exp.f64 (-.f64 (neg.f64 (pow.f64 (fma.f64 (pow.f64 (cbrt.f64 (-.f64 (/.f64 (+.f64 m n) 2) M)) 2) (cbrt.f64 (-.f64 (/.f64 (+.f64 m n) 2) M)) (fma.f64 (neg.f64 (sqrt.f64 M)) (sqrt.f64 M) M)) 2)) (-.f64 l (fabs.f64 (-.f64 m n))))))
11.1b
(*.f64 (log.f64 (exp.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))))))
11.3b
(*.f64 (sqrt.f64 (pow.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))))))
15.3b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) 2) (cbrt.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))))))
29.9b
(*.f64 (cos.f64 (-.f64 (/.f64 (expm1.f64 (log1p.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))))))
35.7b
(*.f64 (cos.f64 (-.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 K (+.f64 m n)) 3)) 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 10741 to 5211 computations (51.5% saved)

regimes4.7s (25.3%)

Accuracy

Total 0.2b remaining (15.3%)

Threshold costs 0.2b (15.3%)

Counts
117 → 1
Compiler

Compiled 20354 to 14652 computations (28% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02138
Stop Event
saturated

end190.0ms (1%)

Stop Event
fuel
Compiler

Compiled 357 to 255 computations (28.6% saved)

Profiling

Loading profile data...