Details

Time bar (total: 19.1s)

analyze1.9s (10%)

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.0s (41.7%)

Results
6.1s4869×body1024valid
1.1s1427×body512valid
354.0ms1412×body128valid
264.0ms532×body256valid
32.0ms16×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify81.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.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
4.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.3b
(*.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%)

Local error

Found 3 expressions with local error:

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

series339.0ms (1.8%)

Counts
3 → 84
Calls

3 calls:

196.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
116.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
26.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))

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

prune160.0ms (0.8%)

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
0.6b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
1.3b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) 1) (*.f64 (/.f64 (cbrt.f64 (sin.f64 ky)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
0.4b
(*.f64 (/.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
5.5b
(*.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)))
8.6b
(*.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))
0.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
1.4b
(*.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)))
30.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)))
Compiler

Compiled 5207 to 1970 computations (62.2% saved)

localize9.0ms (0%)

Local error

Found 3 expressions with local error:

NewErrorProgram
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))))

series391.0ms (2.1%)

Counts
3 → 96
Calls

3 calls:

190.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
174.0ms
(/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))
27.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)))
0.0ms
(hypot.f64 (sin.f64 kx) (sin.f64 ky))

simplify190.0ms (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

prune142.0ms (0.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1434147
Fresh257
Picked101
Done000
Total1469155
Error
0.0b
Counts
155 → 9
Alt Table
StatusErrorProgram
5.5b
(*.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.3b
(expm1.f64 (log1p.f64 (*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
0.6b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
1.3b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) 1) (*.f64 (/.f64 (cbrt.f64 (sin.f64 ky)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
30.0b
(*.f64 (sqrt.f64 (sin.f64 ky)) (*.f64 (sqrt.f64 (sin.f64 ky)) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
0.4b
(*.f64 (/.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
2.1b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))
18.7b
(*.f64 (sin.f64 ky) (cbrt.f64 (pow.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))) 3)))
8.6b
(*.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))
Compiler

Compiled 4746 to 2045 computations (56.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series2.5s (13.1%)

Counts
2 → 72
Calls

2 calls:

2.3s
(log1p.f64 (*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
214.0ms
(expm1.f64 (log1p.f64 (*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

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

simplify127.0ms (0.7%)

Algorithm
egg-herbie
Rules
482×cancel-sign-sub-inv_binary64
246×fma-neg_binary64
220×unswap-sqr_binary64
212×times-frac_binary64
208×sub-neg_binary64
Counts
94 → 75
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02694081
18293981
234623955
351213955

prune204.0ms (1.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1950195
Fresh088
Picked011
Done000
Total1959204
Error
0.0b
Counts
204 → 9
Alt Table
StatusErrorProgram
5.5b
(*.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.3b
(expm1.f64 (log1p.f64 (*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
0.6b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
1.3b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) 1) (*.f64 (/.f64 (cbrt.f64 (sin.f64 ky)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
30.0b
(*.f64 (sqrt.f64 (sin.f64 ky)) (*.f64 (sqrt.f64 (sin.f64 ky)) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
0.4b
(*.f64 (/.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
2.1b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))
18.7b
(*.f64 (sin.f64 ky) (cbrt.f64 (pow.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))) 3)))
8.6b
(*.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))
Compiler

Compiled 7608 to 3642 computations (52.1% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series2.0s (10.6%)

Counts
4 → 108
Calls

4 calls:

1.7s
(log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
203.0ms
(*.f64 (/.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
119.0ms
(/.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
28.0ms
(expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (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 → 85
Calls

4 calls:

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

simplify126.0ms (0.7%)

Algorithm
egg-herbie
Rules
295×sub-neg_binary64
278×fma-def_binary64
251×times-frac_binary64
238×associate-/r*_binary64
207×associate-/l*_binary64
Counts
193 → 221
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04225770
112085276
244665273
350325273

prune221.0ms (1.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2192221
Fresh257
Picked011
Done011
Total2219230
Error
0.0b
Counts
230 → 9
Alt Table
StatusErrorProgram
5.5b
(*.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.3b
(expm1.f64 (log1p.f64 (*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
1.3b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) 1) (*.f64 (/.f64 (cbrt.f64 (sin.f64 ky)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))
30.0b
(*.f64 (sqrt.f64 (sin.f64 ky)) (*.f64 (sqrt.f64 (sin.f64 ky)) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))
0.4b
(*.f64 (/.f64 (sin.f64 ky) (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
2.1b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))
13.6b
(*.f64 (/.f64 (sin.f64 ky) (expm1.f64 (log.f64 (+.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))) (sin.f64 th))
8.6b
(*.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))
0.6b
(*.f64 (/.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (sqrt.f64 (expm1.f64 (log1p.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))) (sin.f64 th))
Compiler

Compiled 6809 to 2701 computations (60.3% saved)

regimes2.4s (12.4%)

Accuracy

Total 0.2b remaining (88.4%)

Threshold costs 0.2b (88.4%)

Counts
200 → 1
Compiler

Compiled 34267 to 21533 computations (37.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
/-rgt-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11518
21418

end145.0ms (0.8%)

Compiler

Compiled 214 to 130 computations (39.3% saved)

Profiling

Loading profile data...