Details

Time bar (total: 19.7s)

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

sample8.2s (41.6%)

Results
6.2s4777×body1024valid
1.2s1485×body512valid
391.0ms1422×body128valid
297.0ms557×body256valid
44.0ms15×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify80.0ms (0.4%)

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))
1.9b
(*.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)

localize10.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.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))

series374.0ms (1.9%)

Counts
3 → 84
Calls

3 calls:

201.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
144.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
28.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
19×times-frac_binary64
19×*-un-lft-identity_binary64
19×add-cube-cbrt_binary64
13×associate-*l*_binary64
Counts
3 → 73
Calls

3 calls:

5.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
2.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

simplify104.0ms (0.5%)

Algorithm
egg-herbie
Rules
894×fma-def_binary64
479×cancel-sign-sub-inv_binary64
212×sub-neg_binary64
168×fma-neg_binary64
164×*-commutative_binary64
Counts
157 → 182
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03244580
19034251
231454236
350434236

prune180.0ms (0.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1748182
Fresh101
Picked101
Done000
Total1768184
Error
0.0b
Counts
184 → 8
Alt Table
StatusErrorProgram
2.7b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (*.f64 (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
28.5b
(cbrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (sin.f64 ky)) (*.f64 (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (*.f64 (sin.f64 th) (sin.f64 th)) (sin.f64 th))))
0.3b
(expm1.f64 (log1p.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
0.4b
(*.f64 (sin.f64 ky) (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
0.8b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
2.2b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
1.5b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
Compiler

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

series378.0ms (1.9%)

Counts
3 → 84
Calls

3 calls:

200.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
123.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
54.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

rewrite40.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
156×times-frac_binary64
103×add-sqr-sqrt_binary64
91×*-un-lft-identity_binary64
89×add-cube-cbrt_binary64
44×associate-*l*_binary64
Counts
3 → 181
Calls

3 calls:

12.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
5.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
2.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

simplify162.0ms (0.8%)

Algorithm
egg-herbie
Rules
453×cancel-sign-sub-inv_binary64
248×associate-*r*_binary64
232×fma-def_binary64
219×sub-neg_binary64
198×*-commutative_binary64
Counts
265 → 344
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03697761
110017004
236706977
349596977

prune400.0ms (2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3752377
Fresh257
Picked011
Done000
Total3778385
Error
0b
Counts
385 → 8
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sin.f64 ky) (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
0.8b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
2.2b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
1.5b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
28.5b
(cbrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (sin.f64 ky)) (*.f64 (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (*.f64 (sin.f64 th) (sin.f64 th)) (sin.f64 th))))
0.4b
(*.f64 (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (/.f64 1 (sin.f64 ky)))) (sin.f64 th))
32.2b
(*.f64 (/.f64 1 (sqrt.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))) (/.f64 (sin.f64 th) (sqrt.f64 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 ky)))))
Compiler

Compiled 10777 to 3918 computations (63.6% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series430.0ms (2.2%)

Counts
4 → 96
Calls

4 calls:

195.0ms
(*.f64 (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (/.f64 1 (sin.f64 ky)))) (sin.f64 th))
122.0ms
(*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (/.f64 1 (sin.f64 ky))))
111.0ms
(/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
2.0ms
(/.f64 1 (/.f64 1 (sin.f64 ky)))

rewrite88.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
371×add-exp-log_binary64
203×times-frac_binary64
180×div-exp_binary64
161×add-sqr-sqrt_binary64
157×prod-exp_binary64
Counts
4 → 353
Calls

4 calls:

20.0ms
(*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (/.f64 1 (sin.f64 ky))))
15.0ms
(*.f64 (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (/.f64 1 (sin.f64 ky)))) (sin.f64 th))
6.0ms
(/.f64 1 (/.f64 1 (sin.f64 ky)))
3.0ms
(/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

simplify214.0ms (1.1%)

Algorithm
egg-herbie
Rules
528×cancel-sign-sub-inv_binary64
248×associate-*r*_binary64
237×fma-neg_binary64
234×sub-neg_binary64
215×associate-*l*_binary64
Counts
449 → 503
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04269306
110418712
238398712
350348712

prune471.0ms (2.4%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New5021503
Fresh156
Picked011
Done011
Total5038511
Error
0b
Counts
511 → 8
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sin.f64 ky) (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
0.8b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
2.2b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
1.5b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
0.4b
(*.f64 (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (/.f64 1 (sin.f64 ky)))) (sin.f64 th))
0.4b
(/.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (sin.f64 ky)))
32.2b
(*.f64 (/.f64 1 (sqrt.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))) (/.f64 (sin.f64 th) (sqrt.f64 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 ky)))))
Compiler

Compiled 13794 to 6945 computations (49.7% 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.1b
(/.f64 1 (sin.f64 ky))
0.2b
(/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.3b
(/.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (sin.f64 ky)))

series382.0ms (1.9%)

Counts
3 → 76
Calls

3 calls:

192.0ms
(/.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (sin.f64 ky)))
184.0ms
(/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
6.0ms
(/.f64 1 (sin.f64 ky))

rewrite55.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
439×times-frac_binary64
215×*-un-lft-identity_binary64
215×add-sqr-sqrt_binary64
215×add-cube-cbrt_binary64
31×div-inv_binary64
Counts
3 → 283
Calls

3 calls:

10.0ms
(/.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (sin.f64 ky)))
2.0ms
(/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
2.0ms
(/.f64 1 (sin.f64 ky))

simplify950.0ms (4.8%)

Algorithm
egg-herbie
Rules
813×fma-def_binary64
295×associate-/l/_binary64
245×associate-/r*_binary64
218×associate-*l/_binary64
217×times-frac_binary64
Counts
359 → 400
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
043413125
1119512447
2408012431
3499312431
4497112431

prune363.0ms (1.8%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New4330433
Fresh055
Picked011
Done022
Total4338441
Error
0b
Counts
441 → 8
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sin.f64 ky) (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
0.8b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
2.2b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
1.5b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
0.4b
(*.f64 (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (/.f64 1 (sin.f64 ky)))) (sin.f64 th))
0.4b
(/.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 1 (sin.f64 ky)))
32.2b
(*.f64 (/.f64 1 (sqrt.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))) (/.f64 (sin.f64 th) (sqrt.f64 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 ky)))))
Compiler

Compiled 13028 to 4550 computations (65.1% saved)

regimes4.8s (24.1%)

Accuracy

Total 0.2b remaining (88.2%)

Threshold costs 0.2b (88.2%)

Counts
408 → 1
Compiler

Compiled 87770 to 55689 computations (36.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11018

end116.0ms (0.6%)

Compiler

Compiled 196 to 116 computations (40.8% saved)

Profiling

Loading profile data...