Details

Time bar (total: 14.2s)

analyze1.9s (13.6%)

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 20 to 15 computations (25% saved)

sample8.3s (58.7%)

Results
6.3s4758×body1024valid
1.3s1498×body512valid
366.0ms1455×body128valid
261.0ms530×body256valid
35.0ms15×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify84.0ms (0.6%)

Algorithm
egg-herbie
Rules
645×associate-/r*_binary64
634×sqr-pow_binary64
394×associate-*l*_binary64
373×cube-prod_binary64
368×*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01426
12618
24018
36818
414118
534818
6105518
7179618
8248418
9269718
10296818
11331118
12370518
13460318
14479918

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
4.7b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
Compiler

Compiled 96 to 63 computations (34.4% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
0.1b
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.1b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))

series318.0ms (2.2%)

Counts
3 → 84
Calls

3 calls:

170.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
124.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
23.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

rewrite89.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
525×log-prod_binary64
330×prod-diff_binary64
191×expm1-udef_binary64
191×log1p-udef_binary64
180×pow3_binary64
Counts
3 → 91
Calls

3 calls:

84.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
84.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
84.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01039
120339
2251439
3492339
4534839
000
100

simplify89.0ms (0.6%)

Algorithm
egg-herbie
Rules
852×fma-def_binary64
469×cancel-sign-sub-inv_binary64
357×fma-neg_binary64
281×neg-mul-1_binary64
205×sub-neg_binary64
Counts
175 → 145
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02332944
17202800
226632590
345792590
449782590

prune135.0ms (1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1396145
Fresh101
Picked011
Done000
Total1407147
Error
0b
Counts
147 → 7
Alt Table
StatusErrorProgram
5.3b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 th) (sin.f64 ky)))
1.3b
(*.f64 (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (pow.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (sin.f64 th))
4.8b
(*.f64 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 ky)) (sin.f64 th))
Compiler

Compiled 3883 to 1801 computations (53.6% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
0.1b
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))
0.1b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))

series217.0ms (1.5%)

Counts
2 → 60
Calls

2 calls:

172.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
45.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

rewrite57.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
570×log-prod_binary64
197×expm1-udef_binary64
197×log1p-udef_binary64
183×log-pow_binary64
171×prod-diff_binary64
Counts
2 → 84
Calls

2 calls:

55.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))
55.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
120931
2272831
3517631
000
100

simplify84.0ms (0.6%)

Algorithm
egg-herbie
Rules
852×times-frac_binary64
776×fma-def_binary64
346×cancel-sign-sub-inv_binary64
322×fma-neg_binary64
138×sub-neg_binary64
Counts
144 → 125
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01912346
15852158
221542148
349822146
451412146

prune156.0ms (1.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1640164
Fresh055
Picked011
Done011
Total1647171
Error
0b
Counts
171 → 7
Alt Table
StatusErrorProgram
5.3b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 th) (sin.f64 ky)))
1.3b
(*.f64 (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (pow.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (sin.f64 th))
4.8b
(*.f64 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 ky)) (sin.f64 th))
Compiler

Compiled 4325 to 1880 computations (56.5% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
0.3b
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))

series237.0ms (1.7%)

Counts
2 → 72
Calls

2 calls:

168.0ms
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
69.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))

rewrite60.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
570×log-prod_binary64
197×expm1-udef_binary64
197×log1p-udef_binary64
183×log-pow_binary64
171×prod-diff_binary64
Counts
2 → 84
Calls

2 calls:

58.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))
58.0ms
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
120931
2272831
3517631
000
100

simplify69.0ms (0.5%)

Algorithm
egg-herbie
Rules
929×associate-/l*_binary64
770×fma-def_binary64
382×cancel-sign-sub-inv_binary64
232×associate-/r/_binary64
138×fma-neg_binary64
Counts
156 → 130
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01992827
16212459
223482219
357532219

prune137.0ms (1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1672169
Fresh224
Picked011
Done022
Total1697176
Error
0b
Counts
176 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
0.5b
(/.f64 (sin.f64 ky) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2) (sin.f64 th)))
0.4b
(/.f64 (sin.f64 ky) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 th))))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
4.8b
(*.f64 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 ky)) (sin.f64 th))
5.3b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 th) (sin.f64 ky)))
Compiler

Compiled 4413 to 1862 computations (57.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
0.1b
(/.f64 1 (sin.f64 th))
0.3b
(/.f64 (sin.f64 ky) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 th))))
0.4b
(*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 th)))

series245.0ms (1.7%)

Counts
3 → 76
Calls

3 calls:

166.0ms
(/.f64 (sin.f64 ky) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 th))))
72.0ms
(*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 th)))
6.0ms
(/.f64 1 (sin.f64 th))

rewrite67.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
617×log-prod_binary64
217×expm1-udef_binary64
217×log1p-udef_binary64
202×log-pow_binary64
162×prod-diff_binary64
Counts
3 → 102
Calls

3 calls:

64.0ms
(/.f64 1 (sin.f64 th))
64.0ms
(/.f64 (sin.f64 ky) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 th))))
64.0ms
(*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 th)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01237
124537
2299037
3556137
000
100

simplify125.0ms (0.9%)

Algorithm
egg-herbie
Rules
846×fma-def_binary64
429×fma-neg_binary64
382×cancel-sign-sub-inv_binary64
232×associate-/r/_binary64
136×sub-neg_binary64
Counts
178 → 157
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02082882
16462512
224122262
346952262
449872262
549992262
649682262

prune140.0ms (1%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1960196
Fresh033
Picked011
Done033
Total1967203
Error
0b
Counts
203 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
0.5b
(/.f64 (sin.f64 ky) (/.f64 (pow.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2) (sin.f64 th)))
0.4b
(/.f64 (sin.f64 ky) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 th))))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
4.8b
(*.f64 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 ky)) (sin.f64 th))
5.3b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 th) (sin.f64 ky)))
Compiler

Compiled 4836 to 2117 computations (56.2% saved)

regimes1.5s (10.3%)

Accuracy

Total 0.2b remaining (86.7%)

Threshold costs 0.2b (86.7%)

Counts
144 → 1
Compiler

Compiled 23869 to 16435 computations (31.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01222
11322
21322

end110.0ms (0.8%)

Compiler

Compiled 149 to 104 computations (30.2% saved)

Profiling

Loading profile data...