Details

Time bar (total: 17.5s)

analyze1.8s (10.4%)

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.1s (46.1%)

Results
6.1s4752×body1024valid
1.2s1479×body512valid
403.0ms1467×body128valid
269.0ms545×body256valid
32.0ms13×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
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
3.7b
(*.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)

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

series366.0ms (2.1%)

Counts
3 → 84
Calls

3 calls:

203.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
132.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
30.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

rewrite92.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
88×egg-rr
Counts
3 → 88
Calls

2 calls:

90.0ms
((/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01039
120339
2251439
3492339
4534839
000
100

simplify139.0ms (0.8%)

Algorithm
egg-herbie
Rules
852×fma-def_binary64
469×cancel-sign-sub-inv_binary64
357×fma-neg_binary64
281×neg-mul-1_binary64
205×sub-neg_binary64
Counts
172 → 145
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02332944
17202800
226632590
345792590
449782590

prune147.0ms (0.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1378145
Fresh101
Picked101
Done000
Total1398147
Error
0.0b
Counts
147 → 8
Alt Table
StatusErrorProgram
23.3b
(cbrt.f64 (*.f64 (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 3) (pow.f64 (sin.f64 th) 3)))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.7b
(*.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 ky)) 2) (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
5.4b
(*.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)))
2.6b
(/.f64 (/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
3.4b
(/.f64 (/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
0.2b
(expm1.f64 (log1p.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
0.3b
(*.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) -1) (sin.f64 th))
Compiler

Compiled 3976 to 1865 computations (53.1% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series341.0ms (1.9%)

Counts
2 → 60
Calls

2 calls:

286.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
54.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

rewrite62.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
82×egg-rr
Counts
2 → 82
Calls

2 calls:

60.0ms
((/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) (/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
120931
2272831
3517631
000
100

simplify88.0ms (0.5%)

Algorithm
egg-herbie
Rules
852×times-frac_binary64
776×fma-def_binary64
346×cancel-sign-sub-inv_binary64
322×fma-neg_binary64
138×sub-neg_binary64
Counts
142 → 123
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01912346
15852158
221542148
349822146
451412146

prune175.0ms (1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1583161
Fresh257
Picked101
Done000
Total1618169
Error
0b
Counts
169 → 8
Alt Table
StatusErrorProgram
23.3b
(cbrt.f64 (*.f64 (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 3) (pow.f64 (sin.f64 th) 3)))
0.7b
(*.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 ky)) 2) (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
9.3b
(/.f64 (sin.f64 th) (cbrt.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) 3)))
0.7b
(/.f64 (sin.f64 th) (*.f64 (/.f64 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2) (pow.f64 (cbrt.f64 (sin.f64 ky)) 2)) (cbrt.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))))
0.3b
(*.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) -1) (sin.f64 th))
5.4b
(*.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)))
3.7b
(/.f64 (sin.f64 th) (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
0.2b
(expm1.f64 (log1p.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
Compiler

Compiled 4402 to 1952 computations (55.7% saved)

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

series2.3s (13%)

Counts
1 → 36
Calls

1 calls:

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

rewrite53.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
21×egg-rr
Counts
1 → 21
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
122120
2269220
3549020
000
100

simplify114.0ms (0.7%)

Algorithm
egg-herbie
Rules
774×fma-def_binary64
278×cancel-sign-sub-inv_binary64
244×fma-neg_binary64
202×unswap-sqr_binary64
152×times-frac_binary64
Counts
57 → 45
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01691952
15371944
223641829
348621825
449791825
550001825
649801825

prune824.0ms (4.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1900190
Fresh077
Picked011
Done000
Total1908198
Error
0b
Counts
198 → 8
Alt Table
StatusErrorProgram
23.3b
(cbrt.f64 (*.f64 (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 3) (pow.f64 (sin.f64 th) 3)))
0.7b
(*.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 ky)) 2) (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
9.3b
(/.f64 (sin.f64 th) (cbrt.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) 3)))
0.7b
(/.f64 (sin.f64 th) (*.f64 (/.f64 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2) (pow.f64 (cbrt.f64 (sin.f64 ky)) 2)) (cbrt.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))))
0.3b
(*.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) -1) (sin.f64 th))
5.4b
(*.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)))
3.7b
(/.f64 (sin.f64 th) (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
0.2b
(expm1.f64 (log1p.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
Compiler

Compiled 6254 to 3219 computations (48.5% saved)

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

series391.0ms (2.2%)

Counts
2 → 60
Calls

2 calls:

242.0ms
(*.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) -1) (sin.f64 th))
148.0ms
(pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) -1)

rewrite70.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
64×egg-rr
Counts
2 → 64
Calls

2 calls:

68.0ms
((pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) -1) (*.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) -1) (sin.f64 th)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01237
124331
2282631
3513531
000
100

simplify91.0ms (0.5%)

Algorithm
egg-herbie
Rules
892×times-frac_binary64
687×fma-def_binary64
356×fma-neg_binary64
333×cancel-sign-sub-inv_binary64
154×sub-neg_binary64
Counts
124 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01832390
15712374
221022359
349932357
451832357

prune182.0ms (1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1950195
Fresh066
Picked011
Done011
Total1958203
Error
0b
Counts
203 → 8
Alt Table
StatusErrorProgram
23.3b
(cbrt.f64 (*.f64 (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 3) (pow.f64 (sin.f64 th) 3)))
0.7b
(*.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 ky)) 2) (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
9.3b
(/.f64 (sin.f64 th) (cbrt.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) 3)))
0.7b
(/.f64 (sin.f64 th) (*.f64 (/.f64 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2) (pow.f64 (cbrt.f64 (sin.f64 ky)) 2)) (cbrt.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))))
0.3b
(*.f64 (pow.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)) -1) (sin.f64 th))
5.4b
(*.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)))
3.7b
(/.f64 (sin.f64 th) (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
0.2b
(expm1.f64 (log1p.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))))
Compiler

Compiled 5380 to 2526 computations (53% saved)

regimes1.9s (11%)

Accuracy

Total 0.2b remaining (81.6%)

Threshold costs 0.2b (81.6%)

Counts
177 → 1
Compiler

Compiled 28864 to 19747 computations (31.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11518
21418

end150.0ms (0.9%)

Compiler

Compiled 196 to 132 computations (32.7% saved)

Profiling

Loading profile data...