Details

Time bar (total: 18.3s)

analyze1.8s (9.8%)

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.1s (44.2%)

Results
6.2s4834×body1024valid
1.1s1418×body512valid
354.0ms1428×body128valid
310.0ms556×body256valid
42.0ms20×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify83.0ms (0.5%)

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

Compiled 96 to 63 computations (34.4% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 th)
0.0b
(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))

series346.0ms (1.9%)

Counts
4 → 88
Calls

4 calls:

190.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
125.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
28.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
2.0ms
(sin.f64 th)

rewrite14.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64
20×*-un-lft-identity_binary64
20×add-cube-cbrt_binary64
19×times-frac_binary64
13×associate-*l*_binary64
Counts
4 → 82
Calls

4 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)))
1.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
1.0ms
(sin.f64 th)

simplify166.0ms (0.9%)

Algorithm
egg-herbie
Rules
541×cancel-sign-sub-inv_binary64
309×fma-neg_binary64
225×sub-neg_binary64
206×fma-def_binary64
167×*-commutative_binary64
Counts
170 → 198
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03354692
19344356
232444356
348634352
449984352
549554352

prune196.0ms (1.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1899198
Fresh101
Picked101
Done000
Total1919200
Error
0b
Counts
200 → 9
Alt Table
StatusErrorProgram
6.3b
(*.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))
9.0b
(*.f64 (cbrt.f64 (*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
2.1b
(*.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.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
3.4b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.4b
(*.f64 (sin.f64 ky) (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
27.1b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) 1) (*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
1.2b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))) (cbrt.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))) (cbrt.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
1.4b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (cbrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
Compiler

Compiled 5560 to 2084 computations (62.5% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(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 1 (/.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))

series361.0ms (2%)

Counts
3 → 84
Calls

3 calls:

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

rewrite37.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:

10.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
4.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
3.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

simplify172.0ms (0.9%)

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 → 342
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03697761
110017004
236706977
349596977

prune387.0ms (2.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3714375
Fresh538
Picked101
Done000
Total3777384
Error
0b
Counts
384 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
26.9b
(*.f64 (sqrt.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))) (*.f64 (sin.f64 th) (sqrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
3.4b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.4b
(*.f64 (sin.f64 ky) (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
27.1b
(*.f64 (/.f64 1 (/.f64 1 (sqrt.f64 (sin.f64 ky)))) (*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sqrt.f64 (sin.f64 ky)))) (sin.f64 th)))
6.3b
(*.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 10653 to 3888 computations (63.5% saved)

localize9.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 th)
0.0b
(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 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))

series187.0ms (1%)

Counts
1 → 36
Calls

1 calls:

187.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))

rewrite14.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
75×times-frac_binary64
43×*-un-lft-identity_binary64
43×add-sqr-sqrt_binary64
43×add-cube-cbrt_binary64
13×associate-/r*_binary64
Counts
1 → 72
Calls

1 calls:

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

simplify125.0ms (0.7%)

Algorithm
egg-herbie
Rules
939×times-frac_binary64
436×fma-def_binary64
325×fma-neg_binary64
230×cancel-sign-sub-inv_binary64
162×neg-sub0_binary64
Counts
108 → 128
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02714113
16933975
223603911
345643898
450643898

prune203.0ms (1.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2411242
Fresh156
Picked011
Done000
Total2427249
Error
0b
Counts
249 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
26.9b
(*.f64 (sqrt.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))) (*.f64 (sin.f64 th) (sqrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
3.4b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
27.1b
(*.f64 (/.f64 1 (/.f64 1 (sqrt.f64 (sin.f64 ky)))) (*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sqrt.f64 (sin.f64 ky)))) (sin.f64 th)))
6.3b
(*.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))
0.3b
(*.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 ky))
Compiler

Compiled 6521 to 2110 computations (67.6% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))
0.1b
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.2b
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
0.7b
(log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))

series2.1s (11.7%)

Counts
2 → 60
Calls

2 calls:

2.0s
(log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))
184.0ms
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))

rewrite5.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 31
Calls

2 calls:

3.0ms
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
1.0ms
(log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))

simplify112.0ms (0.6%)

Algorithm
egg-herbie
Rules
875×times-frac_binary64
614×fma-def_binary64
357×fma-neg_binary64
323×cancel-sign-sub-inv_binary64
143×sub-neg_binary64
Counts
91 → 93
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02213177
16103018
221512906
349892904
451752904

prune264.0ms (1.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2850285
Fresh055
Picked011
Done011
Total2857292
Error
0b
Counts
292 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
26.9b
(*.f64 (sqrt.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))) (*.f64 (sin.f64 th) (sqrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
3.4b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
27.1b
(*.f64 (/.f64 1 (/.f64 1 (sqrt.f64 (sin.f64 ky)))) (*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sqrt.f64 (sin.f64 ky)))) (sin.f64 th)))
6.3b
(*.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))
0.3b
(*.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 ky))
Compiler

Compiled 8463 to 3637 computations (57% saved)

regimes3.5s (18.9%)

Accuracy

Total 0.2b remaining (82.8%)

Threshold costs 0.2b (82.8%)

Counts
281 → 1
Compiler

Compiled 50954 to 31530 computations (38.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11018

end116.0ms (0.6%)

Compiler

Compiled 161 to 107 computations (33.5% saved)

Profiling

Loading profile data...