Details

Time bar (total: 32.5s)

analyze2.6s (8.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05547104
033
133
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
25%74.9%0.1%8
54.6%45.2%0.1%9
56.2%43.7%0.1%10
62.4%37.4%0.1%11
65.9%33.9%0.1%12
66.3%33.5%0.1%13
69%30.8%0.1%14
Compiler

Compiled 17 to 15 computations (11.8% saved)

sample285.0ms (0.9%)

Algorithm
intervals
Results
205.0ms147×body1024valid
36.0ms44×body512valid
12.0ms49×body128valid
8.0ms16×body256valid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify199.0ms (0.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (187.0ms)

IterNodesCost
0517026

prune7.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
3.7b
Counts
2 → 1
Compiler

Compiled 32 to 28 computations (12.5% saved)

localize38.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
0.2b
(pow.f64 (sin.f64 kx) 2)
0.3b
(pow.f64 (sin.f64 ky) 2)
3.5b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite80.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity_binary64_78
34×add-sqr-sqrt_binary64_100
30×associate-*l*_binary64_19
26×times-frac_binary64_84
25×add-cube-cbrt_binary64_113
21×sqrt-prod_binary64_94
14×unpow-prod-down_binary64_157
11×add-exp-log_binary64_116
add-cbrt-cube_binary64_114 pow1_binary64_139
distribute-lft-out_binary64_29
pow-unpow_binary64_155
add-log-exp_binary64_117 sqrt-div_binary64_95
associate-*r*_binary64_18 unswap-sqr_binary64_46
pow-exp_binary64_146 pow-to-exp_binary64_147 cbrt-unprod_binary64_111 prod-exp_binary64_127 flip-+_binary64_52 unpow2_binary64_143 sqr-pow_binary64_50 pow-pow_binary64_150 associate-/r/_binary64_24 flip3-+_binary64_81
*-commutative_binary64_9 sqrt-pow1_binary64_96 cbrt-undiv_binary64_112 div-exp_binary64_129 rem-sqrt-square_binary64_91 div-inv_binary64_75 associate-*l/_binary64_21 pow-prod-down_binary64_149 pow1/2_binary64_158
Counts
4 → 103
Calls

4 calls:

33.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
17.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
5.0ms
(pow.f64 (sin.f64 kx) 2)
5.0ms
(pow.f64 (sin.f64 ky) 2)

series1.6s (5%)

Counts
4 → 41
Calls

4 calls:

1.2s
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
332.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
56.0ms
(pow.f64 (sin.f64 ky) 2)
53.0ms
(pow.f64 (sin.f64 kx) 2)
Compiler

Compiled 1512 to 1199 computations (20.7% saved)

simplify225.0ms (0.7%)

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (158.0ms)

IterNodesCost
049793464
149793464

prune432.0ms (1.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New13212144
Fresh000
Picked101
Done000
Total13312145
Error
1.9b
Counts
145 → 12
Compiler

Compiled 3872 to 2158 computations (44.3% saved)

localize27.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (sin.f64 ky) 2)
0.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
0.3b
(/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
3.5b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite109.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity_binary64_78
50×times-frac_binary64_84
49×add-sqr-sqrt_binary64_100
41×sqrt-prod_binary64_94
40×add-cube-cbrt_binary64_113
30×associate-*r*_binary64_18
19×unpow-prod-down_binary64_157
16×distribute-lft-out_binary64_29
12×add-exp-log_binary64_116
11×add-cbrt-cube_binary64_114
associate-/r*_binary64_22 pow1_binary64_139
sqrt-div_binary64_95
add-log-exp_binary64_117 associate-/r/_binary64_24
associate-*l*_binary64_19 flip-+_binary64_52 associate-/l*_binary64_23 unswap-sqr_binary64_46 pow-unpow_binary64_155 flip3-+_binary64_81
cbrt-unprod_binary64_111 cbrt-undiv_binary64_112 prod-exp_binary64_127 div-exp_binary64_129 div-inv_binary64_75
*-commutative_binary64_9 pow-exp_binary64_146 pow-to-exp_binary64_147 sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 unpow2_binary64_143 frac-2neg_binary64_89 sqr-pow_binary64_50 pow-pow_binary64_150 pow-prod-down_binary64_149 associate-*r/_binary64_20 clear-num_binary64_77 pow1/2_binary64_158
Counts
4 → 134
Calls

4 calls:

37.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
23.0ms
(/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
15.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
6.0ms
(pow.f64 (sin.f64 ky) 2)

series2.8s (8.7%)

Counts
4 → 54
Calls

4 calls:

1.2s
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
951.0ms
(/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
584.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
58.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 2094 to 1637 computations (21.8% saved)

simplify176.0ms (0.5%)

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
050745672

prune539.0ms (1.7%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1871188
Fresh11011
Picked011
Done000
Total18812200
Error
1.9b
Counts
200 → 12
Compiler

Compiled 5317 to 2898 computations (45.5% saved)

localize32.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (/.f64 (sin.f64 th) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))))
0.4b
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
3.5b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.5b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite222.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
164×sqrt-prod_binary64_94
130×add-sqr-sqrt_binary64_100
123×times-frac_binary64_84
120×*-un-lft-identity_binary64_78
72×add-cube-cbrt_binary64_113
39×associate-*l*_binary64_19 associate-*r*_binary64_18
24×unpow-prod-down_binary64_157 distribute-lft-out_binary64_29
18×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
16×unswap-sqr_binary64_46 sqrt-div_binary64_95
11×associate-/r*_binary64_22
pow1_binary64_139
associate-/r/_binary64_24
cbrt-undiv_binary64_112 div-exp_binary64_129 flip-+_binary64_52 flip3-+_binary64_81
add-log-exp_binary64_117 cbrt-unprod_binary64_111 prod-exp_binary64_127
div-inv_binary64_75 associate-/l*_binary64_23
sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 pow1/2_binary64_158
*-commutative_binary64_9 frac-2neg_binary64_89 frac-times_binary64_88 associate-*l/_binary64_21 pow-prod-down_binary64_149 associate-*r/_binary64_20 clear-num_binary64_77
Counts
4 → 209
Calls

4 calls:

103.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (/.f64 (sin.f64 th) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))))
27.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
15.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
15.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

series3.2s (10%)

Counts
4 → 54
Calls

4 calls:

1.3s
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
1.3s
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (/.f64 (sin.f64 th) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))))
348.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
345.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
Compiler

Compiled 2756 to 2137 computations (22.5% saved)

simplify264.0ms (0.8%)

Algorithm
egg-herbie
Counts
263 → 263
Iterations

Useful iterations: 0 (93.0ms)

IterNodesCost
0532911179

prune1.3s (4.1%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New2630263
Fresh01010
Picked011
Done011
Total26312275
Error
1.9b
Counts
275 → 12
Compiler

Compiled 11073 to 6554 computations (40.8% saved)

localize36.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.4b
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
0.8b
(*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))))
3.5b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.5b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite177.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
101×sqrt-prod_binary64_94
87×*-un-lft-identity_binary64_78
66×times-frac_binary64_84
53×add-sqr-sqrt_binary64_100
51×add-cube-cbrt_binary64_113
45×add-exp-log_binary64_116
39×associate-*l*_binary64_19
27×add-cbrt-cube_binary64_114
20×prod-exp_binary64_127
18×unpow-prod-down_binary64_157 distribute-lft-out_binary64_29
12×sqrt-div_binary64_95
11×div-exp_binary64_129 associate-/r*_binary64_22 pow1_binary64_139
10×cbrt-unprod_binary64_111
cbrt-undiv_binary64_112
add-log-exp_binary64_117 flip-+_binary64_52 associate-/r/_binary64_24 flip3-+_binary64_81
1-exp_binary64_122 associate-/l*_binary64_23 rec-exp_binary64_128 pow-prod-down_binary64_149 associate-*r/_binary64_20
sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 div-inv_binary64_75 pow1/2_binary64_158
*-commutative_binary64_9 frac-2neg_binary64_89 frac-times_binary64_88 associate-*r*_binary64_18 associate-*l/_binary64_21 clear-num_binary64_77
Counts
4 → 166
Calls

4 calls:

72.0ms
(*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))))
27.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
16.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
15.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

series3.2s (9.7%)

Counts
4 → 54
Calls

4 calls:

1.3s
(*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))))
1.2s
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
346.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
346.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
Compiler

Compiled 2852 to 2233 computations (21.7% saved)

simplify220.0ms (0.7%)

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
054097924

prune1.1s (3.3%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New2200220
Fresh099
Picked011
Done022
Total22012232
Error
1.9b
Counts
232 → 12
Compiler

Compiled 8519 to 5243 computations (38.5% saved)

regimes2.5s (7.6%)

Accuracy

Total 1.4b remaining (45.7%)

Threshold costs 0b (0%)

Compiler

Compiled 13898 to 11082 computations (20.3% saved)

bsearch8.0ms (0%)

Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02365
12365

end0.0ms (0%)

sample11.1s (34.1%)

Algorithm
intervals
Results
5.8s4561×body1024valid
1.2s1438×body512valid
328.0ms1450×body128valid
284.0ms532×body256valid
43.0ms19×body2048valid
Compiler

Compiled 1536 to 1220 computations (20.6% saved)

Profiling

Loading profile data...