Details

Time bar (total: 16.7s)

analyze2.0s (11.8%)

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.3s (49.9%)

Results
6.4s4784×body1024valid
1.2s1437×body512valid
379.0ms1472×body128valid
272.0ms546×body256valid
39.0ms17×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify81.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.0b
(*.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 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.2b
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

series359.0ms (2.1%)

Counts
4 → 88
Calls

4 calls:

231.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
103.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
23.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
1.0ms
(sin.f64 kx)

rewrite98.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
525×log-prod_binary64
330×prod-diff_binary64
191×expm1-udef_binary64
191×log1p-udef_binary64
180×pow3_binary64
Counts
4 → 111
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01042
120342
2251442
3492342
4534842
000
100

simplify96.0ms (0.6%)

Algorithm
egg-herbie
Rules
901×fma-def_binary64
529×cancel-sign-sub-inv_binary64
279×fma-neg_binary64
217×sub-neg_binary64
153×distribute-rgt-neg-in_binary64
Counts
199 → 175
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02442996
17572852
227812831
349882829
450562829

prune192.0ms (1.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1678175
Fresh101
Picked101
Done000
Total1698177
Error
0b
Counts
177 → 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.2b
(*.f64 (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
32.6b
(fma.f64 1/120 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 ky) (pow.f64 th 5))) (fma.f64 (sin.f64 ky) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) th) (fma.f64 (*.f64 (sin.f64 ky) (pow.f64 th 7)) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) -1/5040) (*.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)))))
2.8b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
5.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)))
3.2b
(/.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))))
Compiler

Compiled 4744 to 2244 computations (52.7% saved)

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

series824.0ms (4.9%)

Counts
2 → 60
Calls

2 calls:

779.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
45.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

rewrite58.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
570×log-prod_binary64
197×expm1-udef_binary64
197×log1p-udef_binary64
183×log-pow_binary64
171×prod-diff_binary64
Counts
2 → 82
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
120931
2272831
3517631
000
100

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

prune196.0ms (1.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1901191
Fresh167
Picked011
Done000
Total1918199
Error
0b
Counts
199 → 8
Alt Table
StatusErrorProgram
0.2b
(*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
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.2b
(*.f64 (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
32.6b
(fma.f64 1/120 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 ky) (pow.f64 th 5))) (fma.f64 (sin.f64 ky) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) th) (fma.f64 (*.f64 (sin.f64 ky) (pow.f64 th 7)) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) -1/5040) (*.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)))))
2.8b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (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)))
5.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)))
3.2b
(/.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))))
Compiler

Compiled 5022 to 2232 computations (55.6% 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 ky) (sin.f64 kx))
0.1b
(*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
0.2b
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

series167.0ms (1%)

Counts
1 → 36
Calls

1 calls:

167.0ms
(*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))

rewrite80.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
525×log-prod_binary64
330×prod-diff_binary64
191×expm1-udef_binary64
191×log1p-udef_binary64
180×pow3_binary64
Counts
1 → 28
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
120318
2251218
3491918
4534418
000
100

simplify64.0ms (0.4%)

Algorithm
egg-herbie
Rules
676×times-frac_binary64
471×associate-/l*_binary64
445×fma-neg_binary64
434×fma-def_binary64
411×associate-/r*_binary64
Counts
64 → 53
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01281586
13931574
214261406
349091406
452221406

prune183.0ms (1.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1740174
Fresh066
Picked011
Done011
Total1748182
Error
0b
Counts
182 → 8
Alt Table
StatusErrorProgram
0.2b
(*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
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.2b
(*.f64 (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
32.6b
(fma.f64 1/120 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 ky) (pow.f64 th 5))) (fma.f64 (sin.f64 ky) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) th) (fma.f64 (*.f64 (sin.f64 ky) (pow.f64 th 7)) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) -1/5040) (*.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)))))
2.8b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (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)))
5.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)))
3.2b
(/.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))))
Compiler

Compiled 4596 to 2168 computations (52.8% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series488.0ms (2.9%)

Counts
4 → 108
Calls

4 calls:

164.0ms
(*.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))
118.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
104.0ms
(*.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)))))
101.0ms
(/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))

rewrite112.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
395×prod-diff_binary64
244×expm1-udef_binary64
244×log1p-udef_binary64
233×log-pow_binary64
139×add-sqr-sqrt_binary64
Counts
4 → 133
Calls

4 calls:

109.0ms
(*.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))
109.0ms
(/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
109.0ms
(*.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)))))
109.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01459
128357
2338857
3491457
4536457
000
100

simplify95.0ms (0.6%)

Algorithm
egg-herbie
Rules
768×cancel-sign-sub-inv_binary64
308×fma-def_binary64
286×fma-neg_binary64
279×sub-neg_binary64
228×associate-*r*_binary64
Counts
241 → 205
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03214172
19784126
235384126
351654126

prune201.0ms (1.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2050205
Fresh055
Picked011
Done022
Total2058213
Error
0b
Counts
213 → 8
Alt Table
StatusErrorProgram
0.2b
(*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
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.2b
(*.f64 (*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))) 2)) (/.f64 (sin.f64 ky) (cbrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
32.6b
(fma.f64 1/120 (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 ky) (pow.f64 th 5))) (fma.f64 (sin.f64 ky) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) th) (fma.f64 (*.f64 (sin.f64 ky) (pow.f64 th 7)) (*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) -1/5040) (*.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)))))
2.8b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (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)))
5.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)))
3.2b
(/.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))))
Compiler

Compiled 6766 to 3139 computations (53.6% saved)

regimes2.8s (16.9%)

Accuracy

Total 0.2b remaining (88.8%)

Threshold costs 0.2b (88.8%)

Counts
262 → 1
Compiler

Compiled 50814 to 32404 computations (36.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
11618
21518

end155.0ms (0.9%)

Compiler

Compiled 246 to 157 computations (36.2% saved)

Profiling

Loading profile data...