Details

Time bar (total: 15.4s)

analyze1.7s (11.3%)

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)

sample7.7s (49.9%)

Results
5.9s4772×body1024valid
1.1s1472×body512valid
357.0ms1485×body128valid
250.0ms513×body256valid
32.0ms14×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify45.0ms (0.3%)

Algorithm
egg-herbie
Rules
389×associate-*l*_binary64
330×sqr-pow_binary64
320×*-commutative_binary64
275×associate-/r/_binary64
269×associate-*r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01426
12618
25118
37918
416018
545018
6170218
7304818
8389618
9414918
10448818
11497818
Stop Event
node limit
Counts
1 → 2

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
1.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
2.6b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
3.2b
(*.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)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series179.0ms (1.2%)

Counts
3 → 84
Calls

3 calls:

149.0ms
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
22.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
8.0ms
(*.f64 (sin.f64 ky) (sin.f64 th))

rewrite51.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
373×prod-diff_binary64
202×expm1-udef_binary64
202×log1p-udef_binary64
183×log-pow_binary64
149×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
121034
2291334
Stop Event
node limit
Counts
3 → 82
Calls

3 calls:

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

simplify48.0ms (0.3%)

Algorithm
egg-herbie
Rules
730×fma-def_binary64
504×cancel-sign-sub-inv_binary64
213×associate-/r/_binary64
186×fma-neg_binary64
168×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01952472
16372312
223952085
Stop Event
node limit
Counts
166 → 139

prune130.0ms (0.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1318139
Fresh101
Picked101
Done000
Total1338141
Error
0b
Counts
141 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))))
7.2b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (cbrt.f64 (pow.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) 3)))
27.9b
(pow.f64 (sqrt.f64 (/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))) 2)
1.2b
(*.f64 (/.f64 (sin.f64 th) (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)))))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
3.3b
(*.f64 (sin.f64 ky) (*.f64 (sin.f64 th) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2))))))
3.6b
(/.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 ky) (sin.f64 th))) 3) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
2.7b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
Compiler

Compiled 3530 to 1548 computations (56.1% 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.1b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
0.2b
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

series247.0ms (1.6%)

Counts
2 → 60
Calls

2 calls:

152.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
95.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

rewrite44.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
525×log-prod_binary64
191×expm1-udef_binary64
191×log1p-udef_binary64
178×log-pow_binary64
169×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
120331
2262331
Stop Event
node limit
Counts
2 → 66
Calls

2 calls:

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

simplify48.0ms (0.3%)

Algorithm
egg-herbie
Rules
892×times-frac_binary64
675×fma-def_binary64
333×cancel-sign-sub-inv_binary64
154×sub-neg_binary64
131×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01832390
15922374
222432361
Stop Event
node limit
Counts
126 → 107

prune134.0ms (0.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1420142
Fresh077
Picked011
Done000
Total1428150
Error
0b
Counts
150 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))))
7.2b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (cbrt.f64 (pow.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) 3)))
27.9b
(pow.f64 (sqrt.f64 (/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))) 2)
1.2b
(*.f64 (/.f64 (sin.f64 th) (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)))))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
3.3b
(*.f64 (sin.f64 ky) (*.f64 (sin.f64 th) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2))))))
3.6b
(/.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 ky) (sin.f64 th))) 3) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
2.7b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
Compiler

Compiled 3975 to 1877 computations (52.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series366.0ms (2.4%)

Counts
3 → 108
Calls

3 calls:

159.0ms
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))))
142.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
65.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))

rewrite55.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
608×log-prod_binary64
215×expm1-udef_binary64
215×log1p-udef_binary64
202×log-pow_binary64
153×prod-diff_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01247
124544
2312444
Stop Event
node limit
Counts
3 → 108
Calls

3 calls:

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

simplify72.0ms (0.5%)

Algorithm
egg-herbie
Rules
563×cancel-sign-sub-inv_binary64
229×times-frac_binary64
220×fma-def_binary64
217×fma-neg_binary64
205×sub-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02584149
18413769
233923767
Stop Event
node limit
Counts
216 → 181

prune193.0ms (1.3%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2160216
Fresh066
Picked011
Done011
Total2168224
Error
0b
Counts
224 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))))
7.2b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (cbrt.f64 (pow.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) 3)))
27.9b
(pow.f64 (sqrt.f64 (/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))) 2)
1.2b
(*.f64 (/.f64 (sin.f64 th) (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)))))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
3.3b
(*.f64 (sin.f64 ky) (*.f64 (sin.f64 th) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2))))))
3.6b
(/.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 ky) (sin.f64 th))) 3) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
2.7b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
Compiler

Compiled 6257 to 2862 computations (54.3% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
0.3b
(*.f64 (/.f64 (sin.f64 th) (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)))))
0.5b
(pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)
0.6b
(cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

series2.5s (16.1%)

Counts
4 → 108
Calls

4 calls:

856.0ms
(/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
739.0ms
(pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)
707.0ms
(cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
168.0ms
(*.f64 (/.f64 (sin.f64 th) (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)))))

rewrite66.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
259×expm1-udef_binary64
259×log1p-udef_binary64
205×prod-diff_binary64
147×add-sqr-sqrt_binary64
137×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01456
129456
2389856
Stop Event
node limit
Counts
4 → 131
Calls

4 calls:

63.0ms
(/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
63.0ms
(*.f64 (/.f64 (sin.f64 th) (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)))))
63.0ms
(pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)
63.0ms
(cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

simplify83.0ms (0.5%)

Algorithm
egg-herbie
Rules
682×times-frac_binary64
338×fma-def_binary64
324×associate-*r*_binary64
306×fma-neg_binary64
225×*-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03394030
110973937
242443935
Stop Event
node limit
Counts
239 → 208

prune201.0ms (1.3%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2500250
Fresh055
Picked011
Done022
Total2508258
Error
0b
Counts
258 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))))
7.2b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (cbrt.f64 (pow.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) 3)))
27.9b
(pow.f64 (sqrt.f64 (/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))) 2)
1.2b
(*.f64 (/.f64 (sin.f64 th) (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)))))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
3.3b
(*.f64 (sin.f64 ky) (*.f64 (sin.f64 th) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 ky) 2) (pow.f64 (sin.f64 kx) 2))))))
3.6b
(/.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 ky) (sin.f64 th))) 3) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
2.7b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
Compiler

Compiled 8756 to 4047 computations (53.8% saved)

regimes1.4s (8.8%)

Accuracy

Total 0.2b remaining (85.3%)

Threshold costs 0.2b (85.3%)

Counts
144 → 1
Compiler

Compiled 22994 to 15584 computations (32.2% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11118
Stop Event
saturated

end123.0ms (0.8%)

Compiler

Compiled 170 to 114 computations (32.9% saved)

Profiling

Loading profile data...