Details

Time bar (total: 20.7s)

analyze1.3s (6.1%)

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
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)

sample153.0ms (0.7%)

Algorithm
intervals
Results
108.0ms151×body1024valid
18.0ms38×body512valid
6.0ms20×body256valid
6.0ms47×body128valid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify177.0ms (0.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
0517026

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 32 to 28 computations (12.5% saved)

localize14.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.2b
(pow.f64 (sin.f64 kx) 2)
0.1b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
0.1b
(/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
0.1b
(+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))
0.1b
(*.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)
2.9b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite43.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity_binary64_71
34×add-sqr-sqrt_binary64_93
30×associate-*l*_binary64_12
26×times-frac_binary64_77
25×add-cube-cbrt_binary64_106
21×sqrt-prod_binary64_87
14×unpow-prod-down_binary64_150
11×add-exp-log_binary64_109
add-cbrt-cube_binary64_107 pow1_binary64_132
distribute-lft-out_binary64_22
pow-unpow_binary64_148
sqrt-div_binary64_88 add-log-exp_binary64_110
unswap-sqr_binary64_39 associate-*r*_binary64_11
pow-exp_binary64_139 pow-to-exp_binary64_140 associate-/r/_binary64_17 sqr-pow_binary64_43 unpow2_binary64_136 pow-pow_binary64_143 prod-exp_binary64_120 flip-+_binary64_45 cbrt-unprod_binary64_104 flip3-+_binary64_74
div-exp_binary64_122 div-inv_binary64_68 associate-*l/_binary64_14 *-commutative_binary64_2 cbrt-undiv_binary64_105 sqrt-pow1_binary64_89 pow-prod-down_binary64_142 rem-sqrt-square_binary64_84 pow1/2_binary64_151
Counts
4 → 103
Calls

8 calls:

19.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.0ms
(pow.f64 (sin.f64 kx) 2)
3.0ms
(pow.f64 (sin.f64 ky) 2)
0.0ms
(+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))

series883.0ms (4.3%)

Counts
4 → 39
Calls

4 calls:

642.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
186.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
28.0ms
(pow.f64 (sin.f64 ky) 2)
27.0ms
(pow.f64 (sin.f64 kx) 2)
Compiler

Compiled 1385 to 1117 computations (19.4% saved)

simplify75.0ms (0.4%)

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049933140
149933140

prune299.0ms (1.4%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New12913142
Fresh000
Picked101
Done000
Total13013143
Error
1.1b
Counts
143 → 13
Compiler

Compiled 3720 to 2079 computations (44.1% saved)

localize14.0ms (0.1%)

Local error

Found 8 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.2b
(pow.f64 (sin.f64 kx) 2)
0.1b
(+.f64 (pow.f64 (sin.f64 kx) 2) (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
(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))))
2.9b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite60.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity_binary64_71
50×times-frac_binary64_77
49×add-sqr-sqrt_binary64_93
41×sqrt-prod_binary64_87
40×add-cube-cbrt_binary64_106
30×associate-*r*_binary64_11
19×unpow-prod-down_binary64_150
16×distribute-lft-out_binary64_22
12×add-exp-log_binary64_109
11×add-cbrt-cube_binary64_107
associate-/r*_binary64_15 pow1_binary64_132
sqrt-div_binary64_88
associate-/r/_binary64_17 add-log-exp_binary64_110
unswap-sqr_binary64_39 associate-*l*_binary64_12 associate-/l*_binary64_16 pow-unpow_binary64_148 flip-+_binary64_45 flip3-+_binary64_74
div-exp_binary64_122 div-inv_binary64_68 cbrt-undiv_binary64_105 prod-exp_binary64_120 cbrt-unprod_binary64_104
pow-exp_binary64_139 pow-to-exp_binary64_140 sqr-pow_binary64_43 unpow2_binary64_136 clear-num_binary64_70 pow-pow_binary64_143 *-commutative_binary64_2 sqrt-pow1_binary64_89 pow-prod-down_binary64_142 rem-sqrt-square_binary64_84 frac-2neg_binary64_82 associate-*r/_binary64_13 pow1/2_binary64_151
Counts
4 → 134
Calls

8 calls:

20.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
12.0ms
(/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
11.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.0ms
(pow.f64 (sin.f64 ky) 2)
0.0ms
(+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))

series1.4s (6.8%)

Counts
4 → 49
Calls

4 calls:

665.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
536.0ms
(/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
184.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
31.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 1875 to 1493 computations (20.4% saved)

simplify92.0ms (0.4%)

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049784875
149784875

prune263.0ms (1.3%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1821183
Fresh11112
Picked011
Done000
Total18313196
Error
1.1b
Counts
196 → 13
Compiler

Compiled 4854 to 2640 computations (45.6% saved)

localize16.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.3b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (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.2b
(/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th))
0.1b
(+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))
0.3b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th))))
0.3b
(pow.f64 (sin.f64 ky) 2)
0.3b
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th)))
2.9b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite115.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
346×times-frac_binary64_77
262×*-un-lft-identity_binary64_71
193×add-sqr-sqrt_binary64_93
171×add-cube-cbrt_binary64_106
112×sqrt-prod_binary64_87
89×associate-*r*_binary64_11
47×unpow-prod-down_binary64_150
44×distribute-lft-out_binary64_22
35×add-exp-log_binary64_109
28×associate-/r*_binary64_15
18×add-cbrt-cube_binary64_107
14×div-exp_binary64_122
div-inv_binary64_68 pow1_binary64_132
unswap-sqr_binary64_39 prod-exp_binary64_120
cbrt-undiv_binary64_105
add-log-exp_binary64_110 rec-exp_binary64_121 1-exp_binary64_115
associate-*l*_binary64_12 associate-/l*_binary64_16 pow-unpow_binary64_148 cbrt-unprod_binary64_104
sqrt-div_binary64_88 associate-/r/_binary64_17
pow-exp_binary64_139 pow-to-exp_binary64_140 inv-pow_binary64_156 sqr-pow_binary64_43 unpow2_binary64_136 clear-num_binary64_70 pow-pow_binary64_143 *-commutative_binary64_2 sqrt-pow1_binary64_89 flip-+_binary64_45 pow-prod-down_binary64_142 rem-sqrt-square_binary64_84 un-div-inv_binary64_69 frac-2neg_binary64_82 associate-*r/_binary64_13 flip3-+_binary64_74 pow1/2_binary64_151 pow-flip_binary64_145
Counts
4 → 291
Calls

8 calls:

36.0ms
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th))))
16.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th)))
12.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.0ms
(pow.f64 (sin.f64 ky) 2)
0.0ms
(+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))

series1.4s (6.9%)

Counts
4 → 49
Calls

4 calls:

665.0ms
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th))))
549.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th)))
183.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
30.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 1923 to 1541 computations (19.9% saved)

simplify148.0ms (0.7%)

Algorithm
egg-herbie
Counts
340 → 340
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
0496510541
1496510541

prune606.0ms (2.9%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New3373340
Fresh2911
Picked101
Done011
Total34013353
Error
1.1b
Counts
353 → 13
Compiler

Compiled 10077 to 5696 computations (43.5% saved)

localize14.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.2b
(pow.f64 (sin.f64 kx) 2)
0.2b
(/.f64 (sin.f64 ky) (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th)))
0.2b
(/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th))
0.1b
(+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))
0.2b
(/.f64 (sin.f64 ky) (/.f64 (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)
2.9b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite58.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
180×times-frac_binary64_77
150×*-un-lft-identity_binary64_71
99×add-sqr-sqrt_binary64_93
98×add-cube-cbrt_binary64_106
65×sqrt-prod_binary64_87
32×unpow-prod-down_binary64_150
28×associate-/r*_binary64_15
26×distribute-lft-out_binary64_22
11×add-exp-log_binary64_109
add-cbrt-cube_binary64_107
pow1_binary64_132
pow-unpow_binary64_148
div-inv_binary64_68
add-log-exp_binary64_110
div-exp_binary64_122 associate-/l*_binary64_16 cbrt-undiv_binary64_105
pow-exp_binary64_139 sqrt-div_binary64_88 pow-to-exp_binary64_140 sqr-pow_binary64_43 unpow2_binary64_136 pow-pow_binary64_143
associate-/r/_binary64_17 clear-num_binary64_70 sqrt-pow1_binary64_89 flip-+_binary64_45 rem-sqrt-square_binary64_84 frac-2neg_binary64_82 flip3-+_binary64_74 pow1/2_binary64_151
Counts
4 → 183
Calls

8 calls:

20.0ms
(/.f64 (sin.f64 ky) (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th)))
9.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.0ms
(pow.f64 (sin.f64 ky) 2)
3.0ms
(pow.f64 (sin.f64 kx) 2)
0.0ms
(+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))

series897.0ms (4.3%)

Counts
4 → 39
Calls

4 calls:

649.0ms
(/.f64 (sin.f64 ky) (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 th)))
190.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
29.0ms
(pow.f64 (sin.f64 kx) 2)
28.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 1385 to 1117 computations (19.4% saved)

simplify127.0ms (0.6%)

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049537265
149537265

prune302.0ms (1.5%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New2211222
Fresh2911
Picked011
Done011
Total22312235
Error
1.1b
Counts
235 → 12
Compiler

Compiled 5885 to 2983 computations (49.3% saved)

simplify37.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
04162678
14162678

regimes1.2s (5.8%)

Accuracy

Total 1.3b remaining (44.7%)

Threshold costs 0b (0%)

Compiler

Compiled 12994 to 10528 computations (19% saved)

bsearch4.0ms (0%)

Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03079
13079

end0.0ms (0%)

sample11.0s (53.1%)

Algorithm
intervals
Results
3.3s4581×body1024valid
689.0ms1470×body512valid
183.0ms1416×body128valid
146.0ms524×body256valid
17.0msbody2048valid
Compiler

Compiled 4870 to 3917 computations (19.6% saved)

Pareto

0.26956481384885506

Profiling

Loading profile data...