Details

Time bar (total: 22.5s)

analyze3.4s (15.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)

sample400.0ms (1.8%)

Algorithm
intervals
Results
295.0ms153×body1024valid
45.0ms39×body512valid
19.0ms27×body256valid
14.0ms35×body128valid
7.0msbody2048valid
Compiler

Compiled 42 to 32 computations (23.8% saved)

simplify100.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

prune8.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))
3.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)

localize19.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))

series667.0ms (3%)

Counts
3 → 84
Calls

3 calls:

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

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

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

simplify194.0ms (0.9%)

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

prune324.0ms (1.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1748182
Fresh101
Picked011
Done000
Total1759184
Error
0.0b
Counts
184 → 9
Alt Table
StatusErrorProgram
5.2b
(*.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 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)))
33.2b
(*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sqrt.f64 (sin.f64 th))) (sqrt.f64 (sin.f64 th)))
1.3b
(*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (cbrt.f64 (sin.f64 th)) (cbrt.f64 (sin.f64 th)))) (cbrt.f64 (sin.f64 th)))
0.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
0.4b
(*.f64 (sin.f64 ky) (*.f64 (/.f64 1 (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.9b
(*.f64 (*.f64 (*.f64 (/.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (/.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (/.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (sin.f64 th))
4.1b
(*.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 5217 to 1979 computations (62.1% saved)

localize18.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series791.0ms (3.5%)

Counts
3 → 96
Calls

3 calls:

386.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
351.0ms
(/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))
54.0ms
(hypot.f64 (sin.f64 kx) (sin.f64 ky))

rewrite27.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-*r*_binary64
Counts
3 → 73
Calls

3 calls:

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

simplify355.0ms (1.6%)

Algorithm
egg-herbie
Rules
555×cancel-sign-sub-inv_binary64
257×fma-neg_binary64
228×times-frac_binary64
214×sub-neg_binary64
201×associate-*r*_binary64
Counts
169 → 147
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03265096
19204768
235744768
349144768
449864768
550004768
649594768

prune321.0ms (1.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1443147
Fresh437
Picked101
Done011
Total1497156
Error
0b
Counts
156 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
1.3b
(*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (cbrt.f64 (sin.f64 th)) (cbrt.f64 (sin.f64 th)))) (cbrt.f64 (sin.f64 th)))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
5.2b
(*.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.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
4.1b
(*.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))
11.0b
(*.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
Compiler

Compiled 4628 to 1990 computations (57% saved)

localize25.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series792.0ms (3.5%)

Counts
3 → 108
Calls

3 calls:

343.0ms
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
304.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th)))
144.0ms
(/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))

rewrite76.0ms (0.3%)

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-*r*_binary64
Counts
3 → 182
Calls

3 calls:

24.0ms
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
8.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th)))
6.0ms
(/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))

simplify475.0ms (2.1%)

Algorithm
egg-herbie
Rules
280×fma-neg_binary64
261×times-frac_binary64
260×associate-*r*_binary64
245×associate-/l*_binary64
228×associate-/r*_binary64
Counts
290 → 334
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03938816
110857862
242957835
348707835
449777835
549487835

prune333.0ms (1.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3610361
Fresh055
Picked011
Done011
Total3617368
Error
0b
Counts
368 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
1.3b
(*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (cbrt.f64 (sin.f64 th)) (cbrt.f64 (sin.f64 th)))) (cbrt.f64 (sin.f64 th)))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
5.2b
(*.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.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
4.1b
(*.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))
11.0b
(*.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
Compiler

Compiled 10648 to 3924 computations (63.1% saved)

localize23.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series1.2s (5.2%)

Counts
4 → 120
Calls

4 calls:

415.0ms
(/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
360.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
296.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
90.0ms
(sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))

rewrite85.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt_binary64
84×times-frac_binary64
61×*-un-lft-identity_binary64
61×add-cube-cbrt_binary64
51×sqrt-prod_binary64
Counts
4 → 172
Calls

4 calls:

30.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
8.0ms
(/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
7.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
2.0ms
(sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))

simplify387.0ms (1.7%)

Algorithm
egg-herbie
Rules
386×fma-neg_binary64
381×associate-*r*_binary64
341×fma-def_binary64
279×associate-*l*_binary64
200×associate-*l/_binary64
Counts
292 → 265
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
049210360
114029508
249529506
352719506

prune465.0ms (2.1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2950295
Fresh044
Picked011
Done022
Total2957302
Error
0b
Counts
302 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
1.3b
(*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (cbrt.f64 (sin.f64 th)) (cbrt.f64 (sin.f64 th)))) (cbrt.f64 (sin.f64 th)))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
5.2b
(*.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.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
4.1b
(*.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))
11.0b
(*.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
Compiler

Compiled 11046 to 3693 computations (66.6% saved)

regimes2.4s (10.5%)

Accuracy

Total 0.2b remaining (86.4%)

Threshold costs 0.2b (86.4%)

Counts
138 → 1
Compiler

Compiled 23426 to 14836 computations (36.7% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11118
21118

end1.0ms (0%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

sample9.7s (43%)

Algorithm
intervals
Results
7.2s4592×body1024valid
1.3s1411×body512valid
347.0ms1431×body128valid
325.0ms553×body256valid
41.0ms13×body2048valid
Compiler

Compiled 170 to 113 computations (33.5% saved)

Profiling

Loading profile data...