Details

Time bar (total: 14.2s)

analyze1.4s (9.7%)

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)

sample143.0ms (1%)

Algorithm
intervals
Results
102.0ms145×body1024valid
17.0ms38×body512valid
7.0ms54×body128valid
6.0ms19×body256valid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify173.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
0517026

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.5b

Counts
2 → 1
Compiler

Compiled 32 to 28 computations (12.5% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite34.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity_binary64_78
27×add-sqr-sqrt_binary64_100
26×add-cube-cbrt_binary64_113
25×sqrt-prod_binary64_94
24×times-frac_binary64_84
16×unpow-prod-down_binary64_157
10×distribute-lft-out_binary64_29
associate-/r*_binary64_22 add-exp-log_binary64_116
pow1_binary64_139
add-cbrt-cube_binary64_114 pow-unpow_binary64_155
add-log-exp_binary64_117 sqrt-div_binary64_95
associate-/l*_binary64_23
pow-exp_binary64_146 pow-to-exp_binary64_147 flip-+_binary64_52 unpow2_binary64_143 sqr-pow_binary64_50 pow-pow_binary64_150 associate-/r/_binary64_24 flip3-+_binary64_81
sqrt-pow1_binary64_96 cbrt-undiv_binary64_112 div-exp_binary64_129 rem-sqrt-square_binary64_91 frac-2neg_binary64_89 div-inv_binary64_75 clear-num_binary64_77 pow1/2_binary64_158
Counts
4 → 102
Calls

4 calls:

12.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
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)

series275.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

158.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
88.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
15.0ms
(pow.f64 (sin.f64 kx) 2)
14.0ms
(pow.f64 (sin.f64 ky) 2)

simplify92.0ms (0.6%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049392298
149392298

prune173.0ms (1.2%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10212114
Fresh000
Picked101
Done000
Total10312115

Merged error: 4.5b

Counts
115 → 12
Compiler

Compiled 2847 to 1626 computations (42.9% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
0.3b
(pow.f64 (sin.f64 ky) 2)
0.3b
(pow.f64 (sin.f64 kx) 2)
6.0b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite55.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
180×times-frac_binary64_84
150×*-un-lft-identity_binary64_78
99×add-sqr-sqrt_binary64_100
98×add-cube-cbrt_binary64_113
65×sqrt-prod_binary64_94
32×unpow-prod-down_binary64_157
28×associate-/r*_binary64_22
26×distribute-lft-out_binary64_29
17×add-exp-log_binary64_116
add-cbrt-cube_binary64_114
pow1_binary64_139
div-exp_binary64_129
pow-unpow_binary64_155
div-inv_binary64_75
add-log-exp_binary64_117
cbrt-undiv_binary64_112 associate-/l*_binary64_23
pow-exp_binary64_146 pow-to-exp_binary64_147 unpow2_binary64_143 1-exp_binary64_122 sqr-pow_binary64_50 pow-pow_binary64_150 rec-exp_binary64_128 sqrt-div_binary64_95
sqrt-pow1_binary64_96 inv-pow_binary64_163 flip-+_binary64_52 rem-sqrt-square_binary64_91 frac-2neg_binary64_89 pow-flip_binary64_152 associate-/r/_binary64_24 clear-num_binary64_77 pow1/2_binary64_158 flip3-+_binary64_81
Counts
4 → 189
Calls

4 calls:

18.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
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)

series275.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

165.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
81.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
14.0ms
(pow.f64 (sin.f64 kx) 2)
14.0ms
(pow.f64 (sin.f64 ky) 2)

simplify120.0ms (0.8%)

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049705648
149705648

prune295.0ms (2.1%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1983201
Fresh3811
Picked011
Done000
Total20112213

Merged error: 4.5b

Counts
213 → 12
Compiler

Compiled 5644 to 3331 computations (41% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (/.f64 1 (sin.f64 ky)))
0.3b
(pow.f64 (sin.f64 ky) 2)
0.3b
(pow.f64 (sin.f64 kx) 2)
6.0b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite132.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
1005×times-frac_binary64_84
608×*-un-lft-identity_binary64_78
437×add-sqr-sqrt_binary64_100
436×add-cube-cbrt_binary64_113
215×sqrt-prod_binary64_94
92×unpow-prod-down_binary64_157
86×distribute-lft-out_binary64_29
46×div-inv_binary64_75 add-exp-log_binary64_116
32×div-exp_binary64_129
30×associate-/l*_binary64_23 sqrt-div_binary64_95
29×associate-/r/_binary64_24
16×add-cbrt-cube_binary64_114
15×flip-+_binary64_52 flip3-+_binary64_81
13×associate-/r*_binary64_22
cbrt-undiv_binary64_112 1-exp_binary64_122 rec-exp_binary64_128
pow1_binary64_139
pow-unpow_binary64_155
add-log-exp_binary64_117
pow-exp_binary64_146 pow-to-exp_binary64_147 unpow2_binary64_143 sqr-pow_binary64_50 pow-pow_binary64_150
sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 frac-2neg_binary64_89 clear-num_binary64_77 associate-/l/_binary64_25 pow1/2_binary64_158
Counts
4 → 518
Calls

4 calls:

26.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (/.f64 1 (sin.f64 ky)))
9.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)

series291.0ms (2.1%)

Counts
4 → 12
Calls

4 calls:

168.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (/.f64 1 (sin.f64 ky)))
95.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
14.0ms
(pow.f64 (sin.f64 kx) 2)
14.0ms
(pow.f64 (sin.f64 ky) 2)

simplify246.0ms (1.7%)

Algorithm
egg-herbie
Counts
530 → 530
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0502622008

prune1.4s (9.6%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New5300530
Fresh01010
Picked011
Done011
Total53012542

Merged error: 4.5b

Counts
542 → 12
Compiler

Compiled 17121 to 10624 computations (37.9% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (sin.f64 kx) 2)
0.3b
(*.f64 (/.f64 (*.f64 (cbrt.f64 1) (cbrt.f64 1)) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (/.f64 (cbrt.f64 1) (/.f64 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 ky))))
6.0b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
6.0b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite227.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
554×times-frac_binary64_84
387×add-sqr-sqrt_binary64_100
332×sqrt-prod_binary64_94
313×*-un-lft-identity_binary64_78
227×associate-*r*_binary64_18
213×add-cube-cbrt_binary64_113
143×cbrt-prod_binary64_109
52×unswap-sqr_binary64_46
45×unpow-prod-down_binary64_157
42×distribute-lft-out_binary64_29
41×add-exp-log_binary64_116
28×add-cbrt-cube_binary64_114
17×associate-*l*_binary64_19
15×cbrt-undiv_binary64_112 div-exp_binary64_129
12×cbrt-unprod_binary64_111 prod-exp_binary64_127
pow1_binary64_139
div-inv_binary64_75 sqrt-div_binary64_95
add-log-exp_binary64_117
flip-+_binary64_52 pow-unpow_binary64_155 associate-/r/_binary64_24 flip3-+_binary64_81
sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 pow1/2_binary64_158
*-commutative_binary64_9 pow-exp_binary64_146 pow-to-exp_binary64_147 unpow2_binary64_143 sqr-pow_binary64_50 frac-times_binary64_88 pow-pow_binary64_150 associate-*l/_binary64_21 pow-prod-down_binary64_149 associate-*r/_binary64_20
Counts
4 → 378
Calls

4 calls:

119.0ms
(*.f64 (/.f64 (*.f64 (cbrt.f64 1) (cbrt.f64 1)) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (/.f64 (cbrt.f64 1) (/.f64 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 ky))))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
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)

series370.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

177.0ms
(*.f64 (/.f64 (*.f64 (cbrt.f64 1) (cbrt.f64 1)) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (/.f64 (cbrt.f64 1) (/.f64 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 ky))))
98.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
80.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
14.0ms
(pow.f64 (sin.f64 kx) 2)

simplify238.0ms (1.7%)

Algorithm
egg-herbie
Counts
390 → 390
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
0497920479
1497920479

prune1.7s (11.7%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New3900390
Fresh099
Picked011
Done022
Total39012402

Merged error: 4.5b

Counts
402 → 12
Compiler

Compiled 20149 to 13462 computations (33.2% saved)

regimes848.0ms (6%)

Compiler

Compiled 9566 to 7704 computations (19.5% saved)

bsearch2.0ms (0%)

Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06267
16267

end0.0ms (0%)

sample5.7s (40.3%)

Algorithm
intervals
Results
3.3s4639×body1024valid
654.0ms1403×body512valid
176.0ms1417×body128valid
156.0ms525×body256valid
27.0ms16×body2048valid
Compiler

Compiled 1095 to 878 computations (19.8% saved)

Profiling

Loading profile data...