Details

Time bar (total: 15.0s)

analyze785.0ms (5.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04998273
14998273
044
144
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
49.9%49.9%0.2%3
49.9%49.9%0.2%4
49.9%49.9%0.2%5
49.9%49.9%0.2%6
74.9%25%0.2%7
74.9%25%0.2%8
74.9%25%0.2%9
74.9%25%0.2%10
87.3%12.5%0.2%11
87.3%12.5%0.2%12
87.3%12.5%0.2%13
87.3%12.5%0.2%14
Symmetry

(sort kx ky)

Compiler

Compiled 30 to 30 computations (0% saved)

sample92.0ms (0.6%)

Algorithm
intervals
Results
34.0ms205×body128valid
24.0ms25×body1024valid
9.0ms15×body512valid
4.0ms11×body256valid
Compiler

Compiled 59 to 63 computations (-6.8% saved)

simplify47.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0532539

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
1.0b
Counts
2 → 1
Compiler

Compiled 50 to 50 computations (0% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (sin.f64 ky) 2)
0.8b
(/.f64 1/2 (sqrt.f64 (+.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))))
2.5b
(*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
8.9b
(sqrt.f64 (+.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))

rewrite309.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0.9b
Rules
33×add-sqr-sqrt_binary64_100
30×*-un-lft-identity_binary64_78
26×add-cube-cbrt_binary64_113
21×times-frac_binary64_84
19×add-exp-log_binary64_116
15×sqrt-prod_binary64_94
13×unpow-prod-down_binary64_157
12×associate-*l*_binary64_19
add-cbrt-cube_binary64_114
pow1_binary64_139 prod-exp_binary64_127 associate-/r*_binary64_22
associate-*r*_binary64_18
add-log-exp_binary64_117 sqrt-div_binary64_95 pow-exp_binary64_146 unswap-sqr_binary64_46
flip3-+_binary64_81 flip-+_binary64_52 div-exp_binary64_129 unpow2_binary64_143 sqr-pow_binary64_50 associate-/l*_binary64_23 pow-unpow_binary64_155
pow-to-exp_binary64_147 associate-*r/_binary64_20 div-inv_binary64_75 distribute-lft-out_binary64_29 associate-/r/_binary64_24
pow1/2_binary64_158 sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 cbrt-unprod_binary64_111 distribute-rgt-in_binary64_28 distribute-lft-in_binary64_27 *-commutative_binary64_9 cbrt-undiv_binary64_112 frac-2neg_binary64_89 clear-num_binary64_77 pow-pow_binary64_150
Counts
4 → 113
Calls

4 calls:

16.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
6.0ms
(/.f64 1/2 (sqrt.f64 (+.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))))
4.0ms
(sqrt.f64 (+.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
3.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 4614 to 3499 computations (24.2% saved)

series3.8s (25.6%)

Error
0.1b
Counts
4 → 61
Calls

4 calls:

2.0s
(/.f64 1/2 (sqrt.f64 (+.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))))
1.2s
(sqrt.f64 (+.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
564.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
23.0ms
(pow.f64 (sin.f64 ky) 2)
Compiler

Compiled 7222 to 6152 computations (14.8% saved)

simplify106.0ms (0.7%)

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049976592
149976592

prune393.0ms (2.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1722174
Fresh000
Picked011
Done000
Total1723175
Error
0.1b
Counts
175 → 3
Compiler

Compiled 6315 to 4526 computations (28.3% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

2.7b
(*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))
2.7b
(*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))
27.7b
(sqrt.f64 (/.f64 1/4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))))
27.9b
(sqrt.f64 (*.f64 4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))))

rewrite294.0ms (2%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
25×pow1_binary64_139
16×*-un-lft-identity_binary64_78
14×add-exp-log_binary64_116 add-cbrt-cube_binary64_114
12×pow-prod-down_binary64_149
11×add-sqr-sqrt_binary64_100
10×associate-*r/_binary64_20 sqrt-prod_binary64_94 associate-*r*_binary64_18
add-cube-cbrt_binary64_113
prod-exp_binary64_127 cbrt-unprod_binary64_111
sqrt-pow1_binary64_96
add-log-exp_binary64_117 flip3-+_binary64_81 flip-+_binary64_52 unpow-prod-down_binary64_157 distribute-lft-out_binary64_29
sqrt-div_binary64_95 times-frac_binary64_84
pow1/2_binary64_158 associate-/r/_binary64_24 unswap-sqr_binary64_46 distribute-rgt-in_binary64_28 distribute-lft-in_binary64_27 associate-*l*_binary64_19 *-commutative_binary64_9
div-inv_binary64_75 rem-sqrt-square_binary64_91
Counts
4 → 85
Calls

4 calls:

18.0ms
(*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))
15.0ms
(*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))
15.0ms
(sqrt.f64 (*.f64 4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))))
14.0ms
(sqrt.f64 (/.f64 1/4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))))
Compiler

Compiled 4687 to 2990 computations (36.2% saved)

series1.6s (10.6%)

Error
0.1b
Counts
4 → 43
Calls

4 calls:

587.0ms
(sqrt.f64 (/.f64 1/4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))))
382.0ms
(sqrt.f64 (*.f64 4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))))
276.0ms
(*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))
254.0ms
(*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2)))
Compiler

Compiled 5517 to 4303 computations (22% saved)

simplify69.0ms (0.5%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049712869
149712869

prune300.0ms (2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1280128
Fresh011
Picked011
Done011
Total1283131
Error
0.1b
Counts
131 → 3
Compiler

Compiled 6222 to 4009 computations (35.6% saved)

localize26.0ms (0.2%)

Local error

Found 4 expressions with local error:

9.3b
(/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om))
9.3b
(/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om))
29.9b
(sqrt.f64 (*.f64 4 (+.f64 (/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om)) (/.f64 (pow.f64 (sin.f64 kx) 2) (*.f64 Om Om)))))
30.3b
(sqrt.f64 (/.f64 1/4 (+.f64 (/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om)) (/.f64 (pow.f64 (sin.f64 kx) 2) (*.f64 Om Om)))))

rewrite464.0ms (3.1%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
50×times-frac_binary64_84
41×*-un-lft-identity_binary64_78
30×add-exp-log_binary64_116
29×sqrt-prod_binary64_94
26×add-sqr-sqrt_binary64_100
23×add-cube-cbrt_binary64_113
18×unpow-prod-down_binary64_157
16×associate-/l*_binary64_23
14×add-cbrt-cube_binary64_114
12×div-exp_binary64_129
div-inv_binary64_75 distribute-lft-out_binary64_29
pow1_binary64_139
prod-exp_binary64_127
add-log-exp_binary64_117 sqrt-div_binary64_95 pow-to-exp_binary64_147 pow-exp_binary64_146 cbrt-undiv_binary64_112 unpow2_binary64_143 sqr-pow_binary64_50
sqrt-pow1_binary64_96 distribute-rgt-out_binary64_31 associate-/r/_binary64_24 associate-*r/_binary64_20
pow1/2_binary64_158 frac-add_binary64_86 flip3-+_binary64_81 flip-+_binary64_52 rem-sqrt-square_binary64_91 cbrt-unprod_binary64_111 frac-2neg_binary64_89 clear-num_binary64_77 associate-/r*_binary64_22
pow-prod-down_binary64_149
Counts
4 → 124
Calls

4 calls:

21.0ms
(sqrt.f64 (*.f64 4 (+.f64 (/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om)) (/.f64 (pow.f64 (sin.f64 kx) 2) (*.f64 Om Om)))))
21.0ms
(sqrt.f64 (/.f64 1/4 (+.f64 (/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om)) (/.f64 (pow.f64 (sin.f64 kx) 2) (*.f64 Om Om)))))
7.0ms
(/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om))
7.0ms
(/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om))
Compiler

Compiled 7750 to 4531 computations (41.5% saved)

series1.5s (10.2%)

Error
0.1b
Counts
4 → 35
Calls

4 calls:

730.0ms
(sqrt.f64 (/.f64 1/4 (+.f64 (/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om)) (/.f64 (pow.f64 (sin.f64 kx) 2) (*.f64 Om Om)))))
493.0ms
(sqrt.f64 (*.f64 4 (+.f64 (/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om)) (/.f64 (pow.f64 (sin.f64 kx) 2) (*.f64 Om Om)))))
118.0ms
(/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om))
114.0ms
(/.f64 (pow.f64 (sin.f64 ky) 2) (*.f64 Om Om))
Compiler

Compiled 5207 to 3760 computations (27.8% saved)

simplify80.0ms (0.5%)

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050043565

prune626.0ms (4.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1590159
Fresh000
Picked011
Done022
Total1593162
Error
0.1b
Counts
162 → 3
Compiler

Compiled 8843 to 5318 computations (39.9% saved)

regimes1.1s (7.2%)

Accuracy

Total 0.8b remaining (81.1%)

Threshold costs 0.8b (81.1%)

Compiler

Compiled 13585 to 12315 computations (9.3% saved)

bsearch0.0ms (0%)

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02839
12839
Remove

(sort kx ky)

Compiler

Compiled 50 to 50 computations (0% saved)

end0.0ms (0%)

sample3.3s (22.2%)

Algorithm
intervals
Results
1.1s6339×body128valid
697.0ms797×body1024valid
328.0ms546×body512valid
118.0ms317×body256valid
1.0msbody2048valid
Compiler

Compiled 730 to 662 computations (9.3% saved)

Profiling

Loading profile data...