Details

Time bar (total: 25.1s)

analyze1.8s (7.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.8s (34.9%)

Results
6.6s4781×body1024valid
1.2s1394×body512valid
487.0ms1506×body128valid
326.0ms557×body256valid
40.0ms18×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify95.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
6.1b
(*.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)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series702.0ms (2.8%)

Counts
4 → 88
Calls

4 calls:

387.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
249.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
62.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
3.0ms
(sin.f64 th)

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

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

simplify303.0ms (1.2%)

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

prune349.0ms (1.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1926198
Fresh101
Picked101
Done000
Total1946200
Error
0b
Counts
200 → 6
Alt Table
StatusErrorProgram
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.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
8.0b
(*.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)))
23.4b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)) (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))) (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
2.9b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (*.f64 (/.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))
Compiler

Compiled 5444 to 2016 computations (63% saved)

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

series720.0ms (2.9%)

Counts
3 → 84
Calls

3 calls:

384.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
234.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
102.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

rewrite75.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-*l*_binary64
Counts
3 → 181
Calls

3 calls:

22.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
9.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
5.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

simplify334.0ms (1.3%)

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

prune700.0ms (2.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3752377
Fresh235
Picked011
Done000
Total3776383
Error
0b
Counts
383 → 6
Alt Table
StatusErrorProgram
0.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (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 kx) (sin.f64 ky))) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (/.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (cbrt.f64 (sin.f64 ky)))) (sin.f64 th))
8.0b
(*.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)))
23.4b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)) (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))) (*.f64 (/.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.2b
(*.f64 (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (sin.f64 th))
Compiler

Compiled 10714 to 3871 computations (63.9% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series778.0ms (3.1%)

Counts
3 → 96
Calls

3 calls:

377.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
349.0ms
(/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))
51.0ms
(hypot.f64 (sin.f64 kx) (sin.f64 ky))

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

3 calls:

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

simplify313.0ms (1.2%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
03265096
19204768
235744768
349144768
449864768
550004768
649594768

prune287.0ms (1.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1641165
Fresh134
Picked011
Done011
Total1656171
Error
0b
Counts
171 → 6
Alt Table
StatusErrorProgram
23.4b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)) (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))) (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
0.4b
(*.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.0b
(*.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
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
1.2b
(*.f64 (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (sin.f64 th))
0.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
Compiler

Compiled 4953 to 2052 computations (58.6% saved)

localize24.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 (4.7%)

Counts
4 → 120
Calls

4 calls:

426.0ms
(/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
374.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)))))
293.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
89.0ms
(sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))

rewrite85.0ms (0.3%)

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:

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

simplify412.0ms (1.6%)

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

prune519.0ms (2.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2950295
Fresh033
Picked011
Done022
Total2956301
Error
0b
Counts
301 → 6
Alt Table
StatusErrorProgram
23.4b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)) (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))) (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
0.4b
(*.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.0b
(*.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
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
1.2b
(*.f64 (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (sin.f64 th))
0.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
Compiler

Compiled 11056 to 3680 computations (66.7% saved)

regimes7.4s (29.3%)

Accuracy

Total 0.2b remaining (83.8%)

Threshold costs 0.2b (83.8%)

Counts
365 → 1
Compiler

Compiled 77137 to 44710 computations (42% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11618
21518

end203.0ms (0.8%)

Compiler

Compiled 171 to 91 computations (46.8% saved)

Profiling

Loading profile data...