Details

Time bar (total: 16.8s)

analyze1.3s (7.5%)

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)

sample158.0ms (0.9%)

Algorithm
intervals
Results
110.0ms148×body1024valid
26.0ms57×body512valid
5.0ms38×body128valid
4.0ms13×body256valid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify174.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
0517026

prune7.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
3.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 (/.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 ky) 2)
0.2b
(pow.f64 (sin.f64 kx) 2)
3.2b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite281.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
3.3b
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
pow1_binary64_139 add-cbrt-cube_binary64_114
distribute-lft-out_binary64_29
pow-unpow_binary64_155
add-log-exp_binary64_117 sqrt-div_binary64_95
unswap-sqr_binary64_46 associate-*r*_binary64_18
flip3-+_binary64_81 flip-+_binary64_52 pow-pow_binary64_150 pow-to-exp_binary64_147 pow-exp_binary64_146 unpow2_binary64_143 sqr-pow_binary64_50 prod-exp_binary64_127 cbrt-unprod_binary64_111 associate-/r/_binary64_24
pow1/2_binary64_158 sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 pow-prod-down_binary64_149 div-exp_binary64_129 cbrt-undiv_binary64_112 associate-*l/_binary64_21 div-inv_binary64_75 *-commutative_binary64_9
Counts
4 → 103
Calls

4 calls:

18.0ms
(*.f64 (/.f64 (sin.f64 ky) (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)
Compiler

Compiled 2766 to 1522 computations (45% saved)

series1.1s (6.4%)

Error
1.3b
Counts
4 → 40
Calls

4 calls:

669.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
263.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
46.0ms
(pow.f64 (sin.f64 kx) 2)
42.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 2561 to 1798 computations (29.8% saved)

simplify59.0ms (0.4%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051503386

prune201.0ms (1.2%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1349143
Fresh000
Picked011
Done000
Total13410144
Error
1.2b
Counts
144 → 10
Compiler

Compiled 3753 to 2075 computations (44.7% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite136.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
1.2b
Rules
25×*-un-lft-identity_binary64_78
15×sqrt-prod_binary64_94
14×add-sqr-sqrt_binary64_100
13×add-cube-cbrt_binary64_113
12×unpow-prod-down_binary64_157
11×add-exp-log_binary64_116
add-cbrt-cube_binary64_114
times-frac_binary64_84 associate-/r*_binary64_22
pow1_binary64_139
distribute-lft-out_binary64_29 pow-unpow_binary64_155
add-log-exp_binary64_117 sqrt-div_binary64_95
flip3-+_binary64_81 flip-+_binary64_52 div-exp_binary64_129 cbrt-undiv_binary64_112 associate-/r/_binary64_24 pow-pow_binary64_150 pow-to-exp_binary64_147 pow-exp_binary64_146 unpow2_binary64_143 sqr-pow_binary64_50
pow1/2_binary64_158 sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 prod-exp_binary64_127 cbrt-unprod_binary64_111 frac-2neg_binary64_89 clear-num_binary64_77 div-inv_binary64_75 sin-mult_binary64_233 associate-/l/_binary64_25 associate-/l*_binary64_23
Counts
4 → 87
Calls

4 calls:

14.0ms
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (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 ky) 2)
3.0ms
(pow.f64 (sin.f64 kx) 2)
Compiler

Compiled 2170 to 1157 computations (46.7% saved)

series958.0ms (5.7%)

Error
1.2b
Counts
4 → 40
Calls

4 calls:

658.0ms
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
183.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
29.0ms
(pow.f64 (sin.f64 kx) 2)
29.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 2561 to 1775 computations (30.7% saved)

simplify58.0ms (0.3%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050672868

prune147.0ms (0.9%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1270127
Fresh088
Picked011
Done011
Total12710137
Error
1.2b
Counts
137 → 10
Compiler

Compiled 3093 to 1633 computations (47.2% saved)

localize24.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (sin.f64 ky))
3.6b
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.6b
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.6b
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite178.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
1.2b
Rules
20×*-un-lft-identity_binary64_78
18×cbrt-prod_binary64_109
add-cube-cbrt_binary64_113 add-sqr-sqrt_binary64_100
cbrt-div_binary64_110 unpow-prod-down_binary64_157 distribute-lft-out_binary64_29
pow1/3_binary64_160 pow1_binary64_139 add-log-exp_binary64_117 add-exp-log_binary64_116 add-cbrt-cube_binary64_114
flip3-+_binary64_81 flip-+_binary64_52
Counts
4 → 56
Calls

4 calls:

8.0ms
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
8.0ms
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
8.0ms
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
1.0ms
(cbrt.f64 (sin.f64 ky))
Compiler

Compiled 3320 to 1799 computations (45.8% saved)

series1.5s (9.1%)

Error
1.2b
Counts
4 → 42
Calls

4 calls:

448.0ms
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
439.0ms
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
432.0ms
(cbrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
87.0ms
(cbrt.f64 (sin.f64 ky))
Compiler

Compiled 6548 to 4398 computations (32.8% saved)

simplify97.0ms (0.6%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049412702
149412702

prune274.0ms (1.6%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New98098
Fresh077
Picked011
Done022
Total9810108
Error
1.2b
Counts
108 → 10
Compiler

Compiled 5934 to 3318 computations (44.1% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (sin.f64 ky) 2)
0.2b
(pow.f64 (sin.f64 kx) 2)
1.6b
(*.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
3.2b
(sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))

rewrite190.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
1.2b
Rules
52×*-un-lft-identity_binary64_78
42×sqrt-prod_binary64_94
32×times-frac_binary64_84
31×add-sqr-sqrt_binary64_100
27×add-cube-cbrt_binary64_113
24×associate-*r*_binary64_18
18×unpow-prod-down_binary64_157
13×pow1_binary64_139
12×distribute-lft-out_binary64_29
11×add-exp-log_binary64_116
add-cbrt-cube_binary64_114
pow-unpow_binary64_155
add-log-exp_binary64_117 associate-/r/_binary64_24
sqrt-pow1_binary64_96 sqrt-div_binary64_95 rem-sqrt-square_binary64_91 pow-prod-down_binary64_149 prod-exp_binary64_127 cbrt-unprod_binary64_111
div-inv_binary64_75 flip3-+_binary64_81 flip-+_binary64_52 sin-mult_binary64_233 pow-pow_binary64_150 pow-to-exp_binary64_147 pow-exp_binary64_146 unpow2_binary64_143 sqr-pow_binary64_50
pow1/2_binary64_158 inv-pow_binary64_163 pow-flip_binary64_152 frac-times_binary64_88 associate-*l/_binary64_21 associate-*r/_binary64_20 associate-*l*_binary64_19 *-commutative_binary64_9
Counts
4 → 114
Calls

4 calls:

19.0ms
(*.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
10.0ms
(sqrt.f64 (/.f64 1 (+.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)
Compiler

Compiled 3209 to 1893 computations (41% saved)

series1.1s (6.3%)

Error
1.2b
Counts
4 → 40
Calls

4 calls:

663.0ms
(*.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
290.0ms
(sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
29.0ms
(pow.f64 (sin.f64 kx) 2)
27.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 2721 to 1935 computations (28.9% saved)

simplify102.0ms (0.6%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049583643
149583643

prune195.0ms (1.2%)

Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New1540154
Fresh066
Picked011
Done033
Total15410164
Error
1.2b
Counts
164 → 10
Compiler

Compiled 3909 to 2182 computations (44.2% saved)

regimes1.7s (10%)

Accuracy

Total 1.5b remaining (44.1%)

Threshold costs 0b (0%)

Compiler

Compiled 20964 to 16108 computations (23.2% saved)

bsearch6.0ms (0%)

Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02055
12055

end0.0ms (0%)

sample6.9s (41.1%)

Algorithm
intervals
Results
3.3s4561×body1024valid
662.0ms1450×body512valid
187.0ms585×body256valid
183.0ms1399×body128valid
6.0msbody2048valid
Compiler

Compiled 2371 to 1820 computations (23.2% saved)

Profiling

Loading profile data...