Details

Time bar (total: 12.1s)

analyze2.6s (21.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
15.6%84.3%0.1%8
15.6%84.3%0.1%9
15.6%84.3%0.1%10
30.4%69.4%0.1%11
30.4%69.4%0.1%12
30.4%69.4%0.1%13
39.6%60.3%0.1%14
Compiler

Compiled 28 to 23 computations (17.9% saved)

sample4.3s (35.9%)

Results
2.3s2135×body1024valid
964.0ms4569×body128valid
680.0ms1048×body512valid
229.0ms501×body256valid
6.0msbody2048valid
1.0msbody128invalid
Compiler

Compiled 83 to 68 computations (18.1% saved)

simplify79.0ms (0.7%)

Algorithm
egg-herbie
Rules
1043×associate-*l/_binary64
692×associate-/l/_binary64
651×associate-/r/_binary64
474×associate-/l*_binary64
398×times-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01837
13732
28332
320832
474232
5227332
6247432
7287532
8301532
9312632
10323432
11483532
12495332
13488032

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
9.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
9.1b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
Compiler

Compiled 96 to 76 computations (20.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))
0.1b
(*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2))
0.1b
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))
8.5b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))

series157.0ms (1.3%)

Counts
4 → 120
Calls

4 calls:

94.0ms
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
41.0ms
(/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))
12.0ms
(*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2))
10.0ms
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))

rewrite110.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
258×prod-diff_binary64
250×expm1-udef_binary64
250×log1p-udef_binary64
219×log-pow_binary64
161×add-sqr-sqrt_binary64
Counts
4 → 100
Calls

4 calls:

108.0ms
(/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))
108.0ms
(*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2))
108.0ms
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))
107.0ms
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01671
133271
2356471
3497071
4513471
000
100

simplify96.0ms (0.8%)

Algorithm
egg-herbie
Rules
826×fma-def_binary64
616×fma-neg_binary64
345×cancel-sign-sub-inv_binary64
218×neg-mul-1_binary64
192×associate-/r/_binary64
Counts
220 → 141
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01963231
15593137
221043011
346173003
450653003

prune134.0ms (1.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1356141
Fresh000
Picked011
Done000
Total1357142
Error
0.0b
Counts
142 → 7
Alt Table
StatusErrorProgram
10.1b
(pow.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 3)
47.4b
(neg.f64 U)
9.1b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
37.4b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 2)
34.9b
(*.f64 (-.f64 (*.f64 1/4 (*.f64 (pow.f64 K 2) J)) (*.f64 2 J)) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
47.7b
U
42.9b
(*.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 -2 J) 3) (pow.f64 (cos.f64 (/.f64 K 2)) 3))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
Compiler

Compiled 4696 to 3527 computations (24.9% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))
0.5b
(cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))))))
0.7b
(pow.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 3)
8.5b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))

series2.1s (17.6%)

Counts
3 → 108
Calls

3 calls:

1.2s
(pow.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 3)
854.0ms
(cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))))))
98.0ms
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))

rewrite78.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
275×expm1-udef_binary64
275×log1p-udef_binary64
157×add-sqr-sqrt_binary64
151×log1p-expm1-u_binary64
151×expm1-log1p-u_binary64
Counts
3 → 87
Calls

3 calls:

76.0ms
(cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))))))
76.0ms
(pow.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 3)
76.0ms
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01798
133898
2391198
3489998
000
100

simplify127.0ms (1.1%)

Algorithm
egg-herbie
Rules
437×fma-def_binary64
387×times-frac_binary64
331×associate-/l*_binary64
295×associate-/r*_binary64
250×*-commutative_binary64
Counts
195 → 215
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
06149058
118488304
249608304

prune401.0ms (3.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2710271
Fresh055
Picked011
Done011
Total2717278
Error
0.0b
Counts
278 → 7
Alt Table
StatusErrorProgram
10.1b
(pow.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 3)
47.4b
(neg.f64 U)
9.1b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
37.4b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 2)
34.9b
(*.f64 (-.f64 (*.f64 1/4 (*.f64 (pow.f64 K 2) J)) (*.f64 2 J)) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
47.7b
U
42.9b
(*.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 -2 J) 3) (pow.f64 (cos.f64 (/.f64 K 2)) 3))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
Compiler

Compiled 13424 to 10789 computations (19.6% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))
0.1b
(*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2))
5.4b
(*.f64 (-.f64 (*.f64 1/4 (*.f64 (pow.f64 K 2) J)) (*.f64 2 J)) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
7.7b
(*.f64 (pow.f64 K 2) J)

series103.0ms (0.9%)

Counts
2 → 36
Calls

2 calls:

95.0ms
(*.f64 (-.f64 (*.f64 1/4 (*.f64 (pow.f64 K 2) J)) (*.f64 2 J)) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
7.0ms
(*.f64 (pow.f64 K 2) J)

rewrite72.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
335×log1p-udef_binary64
189×add-sqr-sqrt_binary64
182×log1p-expm1-u_binary64
182×expm1-log1p-u_binary64
179×add-log-exp_binary64
Counts
2 → 38
Calls

2 calls:

71.0ms
(*.f64 (-.f64 (*.f64 1/4 (*.f64 (pow.f64 K 2) J)) (*.f64 2 J)) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
71.0ms
(*.f64 (pow.f64 K 2) J)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01943
139440
2486940
3530240
000
100

simplify98.0ms (0.8%)

Algorithm
egg-herbie
Rules
470×fma-neg_binary64
436×cancel-sign-sub-inv_binary64
280×sub-neg_binary64
213×unswap-sqr_binary64
210×fma-def_binary64
Counts
74 → 88
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02723459
17313361
230052970
347682959
449682959

prune159.0ms (1.3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1500150
Fresh044
Picked011
Done022
Total1507157
Error
0.0b
Counts
157 → 7
Alt Table
StatusErrorProgram
10.1b
(pow.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 3)
47.4b
(neg.f64 U)
9.1b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
37.4b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 2)
34.9b
(*.f64 (-.f64 (*.f64 1/4 (*.f64 (pow.f64 K 2) J)) (*.f64 2 J)) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
47.7b
U
42.9b
(*.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 -2 J) 3) (pow.f64 (cos.f64 (/.f64 K 2)) 3))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
Compiler

Compiled 6457 to 4686 computations (27.4% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))
0.1b
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))
0.2b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 2)
8.5b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))

series223.0ms (1.8%)

Counts
2 → 56
Calls

2 calls:

180.0ms
(pow.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 2)
42.0ms
(/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))

rewrite126.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
260×expm1-udef_binary64
260×log1p-udef_binary64
216×fma-neg_binary64
153×prod-diff_binary64
147×add-sqr-sqrt_binary64
Counts
2 → 85
Calls

2 calls:

124.0ms
(/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))
124.0ms
(pow.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01647
131547
2368747
3491147
4499047
5501547
000
100

simplify63.0ms (0.5%)

Algorithm
egg-herbie
Rules
930×associate-/l*_binary64
866×fma-def_binary64
220×cancel-sign-sub-inv_binary64
214×associate-/r/_binary64
151×fma-neg_binary64
Counts
141 → 120
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02022333
15642074
221371971
359331971

prune249.0ms (2.1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2301231
Fresh033
Picked011
Done123
Total2317238
Error
0.0b
Counts
238 → 7
Alt Table
StatusErrorProgram
47.4b
(neg.f64 U)
9.1b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
37.4b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) 2)
34.9b
(*.f64 (-.f64 (*.f64 1/4 (*.f64 (pow.f64 K 2) J)) (*.f64 2 J)) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
47.7b
U
42.9b
(*.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 -2 J) 3) (pow.f64 (cos.f64 (/.f64 K 2)) 3))) (hypot.f64 1 (/.f64 U (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J 2)))))
37.6b
(*.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))))))) (cbrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))))))) (cbrt.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (hypot.f64 1 (/.f64 U (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))))))))
Compiler

Compiled 8764 to 6679 computations (23.8% saved)

regimes453.0ms (3.8%)

Accuracy

Total 9.3b remaining (99.5%)

Threshold costs 0b (0%)

Counts
55 → 2
Compiler

Compiled 7124 to 5730 computations (19.6% saved)

bsearch46.0ms (0.4%)

Steps
ItersRangePoint
5
1.8496974450358866e+172
7.358482293982686e+172
7.165885222303086e+172
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02141
13141
23341
33441
43341

end141.0ms (1.2%)

Compiler

Compiled 248 to 196 computations (21% saved)

Profiling

Loading profile data...