Details

Time bar (total: 17.5s)

analyze1.9s (10.9%)

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)

sample9.0s (51.6%)

Results
7.0s4833×body1024valid
1.2s1451×body512valid
353.0ms1400×body128valid
314.0ms556×body256valid
44.0ms16×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify84.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
2.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)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series341.0ms (2%)

Counts
4 → 88
Calls

4 calls:

192.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
120.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
27.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
2.0ms
(sin.f64 kx)

rewrite13.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
(sin.f64 kx)
0.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

simplify137.0ms (0.8%)

Algorithm
egg-herbie
Rules
539×cancel-sign-sub-inv_binary64
307×fma-neg_binary64
224×sub-neg_binary64
206×fma-def_binary64
167×*-commutative_binary64
Counts
170 → 200
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03434685
19474356
232704356
349154352
449904352

prune192.0ms (1.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1937200
Fresh011
Picked101
Done000
Total1948202
Error
0.0b
Counts
202 → 8
Alt Table
StatusErrorProgram
16.2b
(*.f64 (cbrt.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))))) (sin.f64 th))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (*.f64 (*.f64 (cbrt.f64 (sin.f64 kx)) (cbrt.f64 (sin.f64 kx))) (cbrt.f64 (sin.f64 kx))))) (sin.f64 th))
0.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
0.3b
(*.f64 (sin.f64 ky) (*.f64 (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
2.4b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
34.1b
(fma.f64 (sin.f64 ky) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) th) (*.f64 (*.f64 (sin.f64 ky) (pow.f64 th 3)) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) -1/6)))
31.4b
(*.f64 (sqrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (sqrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
3.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)))
Compiler

Compiled 5541 to 2151 computations (61.2% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series423.0ms (2.4%)

Counts
3 → 96
Calls

3 calls:

209.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
185.0ms
(/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))
28.0ms
(hypot.f64 (sin.f64 kx) (sin.f64 ky))

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

3 calls:

6.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
2.0ms
(/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))
1.0ms
(hypot.f64 (sin.f64 kx) (sin.f64 ky))

simplify192.0ms (1.1%)

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

prune164.0ms (0.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1603163
Fresh347
Picked101
Done000
Total1647171
Error
0b
Counts
171 → 7
Alt Table
StatusErrorProgram
16.2b
(*.f64 (cbrt.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))))) (sin.f64 th))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (*.f64 (*.f64 (cbrt.f64 (sin.f64 kx)) (cbrt.f64 (sin.f64 kx))) (cbrt.f64 (sin.f64 kx))))) (sin.f64 th))
0.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky))))
33.6b
(*.f64 (sin.f64 ky) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) th))
2.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.4b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
3.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)))
Compiler

Compiled 4941 to 2135 computations (56.8% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series568.0ms (3.2%)

Counts
4 → 96
Calls

4 calls:

196.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky))))
190.0ms
(log1p.f64 (sin.f64 kx))
180.0ms
(/.f64 (sin.f64 th) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky)))
2.0ms
(expm1.f64 (log1p.f64 (sin.f64 kx)))

rewrite15.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-*r*_binary64
Counts
4 → 85
Calls

4 calls:

7.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky))))
2.0ms
(/.f64 (sin.f64 th) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky)))
0.0ms
(log1p.f64 (sin.f64 kx))
0.0ms
(expm1.f64 (log1p.f64 (sin.f64 kx)))

simplify135.0ms (0.8%)

Algorithm
egg-herbie
Rules
857×fma-def_binary64
507×cancel-sign-sub-inv_binary64
252×fma-neg_binary64
196×associate-*r*_binary64
190×times-frac_binary64
Counts
181 → 200
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03164720
18614526
232344506
349964506
449814506

prune167.0ms (1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1991200
Fresh156
Picked011
Done000
Total2007207
Error
0b
Counts
207 → 7
Alt Table
StatusErrorProgram
16.2b
(*.f64 (cbrt.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))))) (sin.f64 th))
2.5b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky)))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (*.f64 (*.f64 (cbrt.f64 (sin.f64 kx)) (cbrt.f64 (sin.f64 kx))) (cbrt.f64 (sin.f64 kx))))) (sin.f64 th))
2.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.4b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
3.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.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky))))
Compiler

Compiled 5731 to 2089 computations (63.5% saved)

localize11.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.3b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
0.3b
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th)))

series448.0ms (2.6%)

Counts
3 → 108
Calls

3 calls:

194.0ms
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
179.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th)))
74.0ms
(/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))

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

3 calls:

14.0ms
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
4.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th)))
2.0ms
(/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))

simplify261.0ms (1.5%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
03938816
110857862
242957835
348707835
449777835
549487835

prune333.0ms (1.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3860386
Fresh055
Picked011
Done011
Total3867393
Error
0b
Counts
393 → 7
Alt Table
StatusErrorProgram
16.2b
(*.f64 (cbrt.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))))) (sin.f64 th))
2.5b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky)))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (*.f64 (*.f64 (cbrt.f64 (sin.f64 kx)) (cbrt.f64 (sin.f64 kx))) (cbrt.f64 (sin.f64 kx))))) (sin.f64 th))
2.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.4b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 th))))
3.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.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (expm1.f64 (log1p.f64 (sin.f64 kx))) (sin.f64 ky))))
Compiler

Compiled 11089 to 3986 computations (64.1% saved)

regimes2.9s (16.4%)

Accuracy

Total 0.2b remaining (81.5%)

Threshold costs 0.2b (81.5%)

Counts
259 → 1
Compiler

Compiled 48476 to 29583 computations (39% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11618
21518

end124.0ms (0.7%)

Compiler

Compiled 172 to 107 computations (37.8% saved)

Profiling

Loading profile data...