Details

Time bar (total: 14.9s)

analyze1.7s (11.3%)

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)

sample305.0ms (2%)

Algorithm
intervals
Results
171.0ms164×body1024valid
26.0ms39×body512valid
7.0ms44×body128valid
3.0msbody256valid
Compiler

Compiled 42 to 32 computations (23.8% saved)

simplify82.0ms (0.6%)

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

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series355.0ms (2.4%)

Counts
4 → 88
Calls

4 calls:

199.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
125.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
30.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
2.0ms
(sin.f64 ky)

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-*l*_binary64
Counts
4 → 82
Calls

4 calls:

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

simplify215.0ms (1.4%)

Algorithm
egg-herbie
Rules
539×cancel-sign-sub-inv_binary64
308×fma-neg_binary64
224×sub-neg_binary64
206×fma-def_binary64
164×*-commutative_binary64
Counts
170 → 199
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03354685
19304356
232354356
348634352
449904352
549974352
649994352
749544352

prune183.0ms (1.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2088216
Fresh101
Picked101
Done000
Total2108218
Error
0.0b
Counts
218 → 8
Alt Table
StatusErrorProgram
33.4b
(*.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)))
33.7b
(log.f64 (exp.f64 (*.f64 (/.f64 (sin.f64 ky) (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.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))) (cbrt.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)))) (cbrt.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
7.3b
(*.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)))
33.3b
(*.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)))
6.8b
(*.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 5777 to 2198 computations (62% 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 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))
0.1b
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.2b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))

series410.0ms (2.8%)

Counts
3 → 84
Calls

3 calls:

226.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) (sin.f64 th))
131.0ms
(/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
52.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:

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

simplify166.0ms (1.1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
03697761
110017004
236706977
349596977

prune298.0ms (2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3732375
Fresh257
Picked101
Done000
Total3767383
Error
0.0b
Counts
383 → 7
Alt Table
StatusErrorProgram
33.4b
(*.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)))
0.3b
(*.f64 (/.f64 1 (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 ky)))) (sin.f64 th))
33.3b
(*.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)))
6.8b
(*.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))
0.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
7.3b
(*.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 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
Compiler

Compiled 10651 to 3880 computations (63.6% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series203.0ms (1.4%)

Counts
1 → 36
Calls

1 calls:

202.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
75×times-frac_binary64
43×*-un-lft-identity_binary64
43×add-sqr-sqrt_binary64
43×add-cube-cbrt_binary64
13×associate-/r*_binary64
Counts
1 → 72
Calls

1 calls:

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

simplify125.0ms (0.8%)

Algorithm
egg-herbie
Rules
939×times-frac_binary64
436×fma-def_binary64
325×fma-neg_binary64
230×cancel-sign-sub-inv_binary64
162×neg-sub0_binary64
Counts
108 → 128
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02714113
16933975
223603911
345643898
450643898

prune195.0ms (1.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2582260
Fresh246
Picked011
Done000
Total2607267
Error
0b
Counts
267 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (sin.f64 th) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 ky))))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
33.4b
(*.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)))
32.1b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (sin.f64 ky) (sqrt.f64 (sin.f64 th))))
33.3b
(*.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)))
6.8b
(*.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))
7.3b
(*.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 6830 to 2244 computations (67.1% 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 1 (sin.f64 ky))
0.1b
(/.f64 (sin.f64 th) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 ky))))
0.3b
(*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 ky)))

series291.0ms (2%)

Counts
3 → 64
Calls

3 calls:

202.0ms
(/.f64 (sin.f64 th) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 ky))))
83.0ms
(*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 ky)))
6.0ms
(/.f64 1 (sin.f64 ky))

rewrite22.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
31×add-exp-log_binary64
28×add-sqr-sqrt_binary64
23×times-frac_binary64
22×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
Counts
3 → 100
Calls

3 calls:

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

simplify125.0ms (0.8%)

Algorithm
egg-herbie
Rules
829×fma-def_binary64
355×cancel-sign-sub-inv_binary64
316×fma-neg_binary64
224×associate-/l/_binary64
166×times-frac_binary64
Counts
164 → 188
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02974211
18083717
227723518
348683518
450033518

prune193.0ms (1.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2210221
Fresh055
Picked011
Done011
Total2217228
Error
0b
Counts
228 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (sin.f64 th) (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (/.f64 1 (sin.f64 ky))))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
33.4b
(*.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)))
32.1b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (sin.f64 ky) (sqrt.f64 (sin.f64 th))))
33.3b
(*.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)))
6.8b
(*.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))
7.3b
(*.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 5520 to 2446 computations (55.7% saved)

regimes3.4s (23.1%)

Accuracy

Total 0.2b remaining (79.9%)

Threshold costs 0.2b (79.9%)

Counts
277 → 1
Compiler

Compiled 47642 to 30867 computations (35.2% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11518
21418

end1.0ms (0%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

sample6.5s (43.5%)

Algorithm
intervals
Results
4.7s4606×body1024valid
865.0ms1420×body512valid
231.0ms1433×body128valid
204.0ms530×body256valid
21.0ms11×body2048valid
Compiler

Compiled 174 to 114 computations (34.5% saved)

Profiling

Loading profile data...