Details

Time bar (total: 17.2s)

analyze2.0s (11.7%)

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 (48.3%)

Results
6.3s4819×body1024valid
1.1s1422×body512valid
418.0ms1446×body128valid
278.0ms556×body256valid
30.0ms13×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify82.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.8b
(*.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 th)
0.0b
(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))

series298.0ms (1.7%)

Counts
4 → 88
Calls

4 calls:

172.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
101.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
24.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
1.0ms
(sin.f64 th)

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

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01042
120342
2251442
3492342
4534842

simplify94.0ms (0.5%)

Algorithm
egg-herbie
Rules
907×fma-def_binary64
531×cancel-sign-sub-inv_binary64
272×fma-neg_binary64
218×sub-neg_binary64
153×distribute-rgt-neg-in_binary64
Counts
199 → 172
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02412996
17482852
227602831
349552829
450232829

prune173.0ms (1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1639172
Fresh101
Picked101
Done000
Total1659174
Error
0b
Counts
174 → 9
Alt Table
StatusErrorProgram
24.4b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sin.f64 th))) (cbrt.f64 (exp.f64 (sin.f64 th))))) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 th))))))
0.8b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (pow.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) 2)) (sin.f64 th))
3.7b
(/.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))))
6.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 (expm1.f64 (log1p.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.8b
(*.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))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.3b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (expm1.f64 (log1p.f64 (sin.f64 th))))
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
Compiler

Compiled 4642 to 2111 computations (54.5% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series1.4s (7.9%)

Counts
3 → 84
Calls

3 calls:

1.1s
(log1p.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
168.0ms
(*.f64 (expm1.f64 (log1p.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
104.0ms
(expm1.f64 (log1p.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))

rewrite61.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
551×log-prod_binary64
314×prod-diff_binary64
204×expm1-udef_binary64
204×log1p-udef_binary64
192×log-pow_binary64
Counts
3 → 96
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01246
122046
2264046
3519846

simplify93.0ms (0.5%)

Algorithm
egg-herbie
Rules
861×fma-def_binary64
426×cancel-sign-sub-inv_binary64
366×fma-neg_binary64
287×neg-mul-1_binary64
211×sub-neg_binary64
Counts
180 → 152
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02223153
17003115
225262890
346662889
450692889

prune188.0ms (1.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2050205
Fresh088
Picked011
Done000
Total2059214
Error
0b
Counts
214 → 9
Alt Table
StatusErrorProgram
24.4b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sin.f64 th))) (cbrt.f64 (exp.f64 (sin.f64 th))))) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 th))))))
0.8b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (pow.f64 (cbrt.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) 2)) (sin.f64 th))
3.7b
(/.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))))
6.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 (expm1.f64 (log1p.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.8b
(*.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))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.3b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (expm1.f64 (log1p.f64 (sin.f64 th))))
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
Compiler

Compiled 5736 to 2678 computations (53.3% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series215.0ms (1.3%)

Counts
2 → 60
Calls

2 calls:

172.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
43.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

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

54.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))
54.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

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

prune179.0ms (1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1892191
Fresh257
Picked011
Done101
Total1928200
Error
0b
Counts
200 → 8
Alt Table
StatusErrorProgram
3.7b
(/.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))))
6.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.8b
(*.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))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.3b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (expm1.f64 (log1p.f64 (sin.f64 th))))
3.9b
(/.f64 (sin.f64 th) (*.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (/.f64 1 (sin.f64 ky))))
32.7b
(/.f64 (sin.f64 th) (pow.f64 (sqrt.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) 2))
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
Compiler

Compiled 4900 to 2100 computations (57.1% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series243.0ms (1.4%)

Counts
2 → 72
Calls

2 calls:

174.0ms
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
69.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))

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

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
120931
2272831
3517631

simplify66.0ms (0.4%)

Algorithm
egg-herbie
Rules
929×associate-/l*_binary64
770×fma-def_binary64
382×cancel-sign-sub-inv_binary64
232×associate-/r/_binary64
138×fma-neg_binary64
Counts
154 → 128
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01992827
16212459
223482219
357532219

prune173.0ms (1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1960196
Fresh066
Picked011
Done011
Total1968204
Error
0b
Counts
204 → 8
Alt Table
StatusErrorProgram
3.7b
(/.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))))
6.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.8b
(*.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))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.3b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (expm1.f64 (log1p.f64 (sin.f64 th))))
3.9b
(/.f64 (sin.f64 th) (*.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (/.f64 1 (sin.f64 ky))))
32.7b
(/.f64 (sin.f64 th) (pow.f64 (sqrt.f64 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))) 2))
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
Compiler

Compiled 4879 to 2034 computations (58.3% saved)

regimes3.2s (18.6%)

Accuracy

Total 0.2b remaining (86.1%)

Threshold costs 0.2b (86.1%)

Counts
251 → 1
Compiler

Compiled 41665 to 28120 computations (32.5% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01222
12122
23022
33922
44422
54722
64822
74822

end126.0ms (0.7%)

Compiler

Compiled 189 to 126 computations (33.3% saved)

Profiling

Loading profile data...