Details

Time bar (total: 18.4s)

analyze1.9s (10.1%)

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.6s (46.5%)

Results
6.5s4699×body1024valid
1.1s1461×body512valid
477.0ms1524×body128valid
286.0ms556×body256valid
40.0ms16×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

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

series335.0ms (1.8%)

Counts
3 → 84
Calls

3 calls:

186.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
119.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
29.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

rewrite12.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
19×*-un-lft-identity_binary64
19×times-frac_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))

simplify98.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 → 184
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03244580
19034251
231454236
350434236

prune170.0ms (0.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1777184
Fresh101
Picked101
Done000
Total1797186
Error
0b
Counts
186 → 7
Alt Table
StatusErrorProgram
1.2b
(*.f64 (/.f64 (sin.f64 ky) (exp.f64 (log.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
6.9b
(*.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))
5.8b
(*.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.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.8b
(*.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (/.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.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))
0.7b
(*.f64 (*.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))))) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
Compiler

Compiled 5248 to 1968 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 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
0.1b
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))
0.4b
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))

series364.0ms (2%)

Counts
3 → 84
Calls

3 calls:

193.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
122.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
48.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

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

13.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)))
2.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

simplify163.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 → 344
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03697761
110017004
236706977
349596977

prune342.0ms (1.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New3743377
Fresh336
Picked101
Done000
Total3786384
Error
0b
Counts
384 → 6
Alt Table
StatusErrorProgram
5.8b
(*.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)))
0.8b
(*.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (/.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
0.2b
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
1.2b
(*.f64 (/.f64 (sin.f64 ky) (exp.f64 (log.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
1.1b
(*.f64 (/.f64 1 (/.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 1)) (*.f64 (/.f64 1 (/.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 ky))) (sin.f64 th)))
Compiler

Compiled 10689 to 3892 computations (63.6% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series1.5s (8.2%)

Counts
2 → 60
Calls

2 calls:

1.3s
(log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))
185.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))
0.0ms
(log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))

simplify147.0ms (0.8%)

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

prune276.0ms (1.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2850285
Fresh055
Picked011
Done000
Total2856291
Error
0b
Counts
291 → 6
Alt Table
StatusErrorProgram
5.8b
(*.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)))
0.8b
(*.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (/.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
0.2b
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
1.2b
(*.f64 (/.f64 (sin.f64 ky) (exp.f64 (log.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
1.1b
(*.f64 (/.f64 1 (/.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 1)) (*.f64 (/.f64 1 (/.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 ky))) (sin.f64 th)))
Compiler

Compiled 8590 to 3705 computations (56.9% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series322.0ms (1.7%)

Counts
2 → 60
Calls

2 calls:

194.0ms
(*.f64 (log1p.f64 (expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
127.0ms
(expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))

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

6.0ms
(*.f64 (log1p.f64 (expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
0.0ms
(expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))

simplify74.0ms (0.4%)

Algorithm
egg-herbie
Rules
983×times-frac_binary64
607×fma-def_binary64
326×cancel-sign-sub-inv_binary64
163×sub-neg_binary64
145×associate-*r*_binary64
Counts
91 → 94
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02243212
16283061
223132954
349892954

prune321.0ms (1.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2860286
Fresh044
Picked011
Done011
Total2866292
Error
0b
Counts
292 → 6
Alt Table
StatusErrorProgram
5.8b
(*.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)))
0.8b
(*.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (/.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
0.2b
(*.f64 (expm1.f64 (log1p.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))) (sin.f64 th))
1.2b
(*.f64 (/.f64 (sin.f64 ky) (exp.f64 (log.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
1.1b
(*.f64 (/.f64 1 (/.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 1)) (*.f64 (/.f64 1 (/.f64 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 ky))) (sin.f64 th)))
Compiler

Compiled 8525 to 3656 computations (57.1% saved)

regimes3.5s (19.3%)

Accuracy

Total 0.2b remaining (71.6%)

Threshold costs 0.2b (71.6%)

Counts
267 → 1
Compiler

Compiled 51650 to 33674 computations (34.8% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11118
21118

end119.0ms (0.6%)

Compiler

Compiled 167 to 103 computations (38.3% saved)

Profiling

Loading profile data...