Details

Time bar (total: 14.9s)

analyze1.9s (13%)

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.2s (55.2%)

Results
6.3s4781×body1024valid
1.2s1455×body512valid
371.0ms1484×body128valid
265.0ms518×body256valid
41.0ms18×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify80.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))
5.4b
(*.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 3 expressions with local error:

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

series411.0ms (2.8%)

Counts
3 → 84
Calls

3 calls:

216.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
163.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
32.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

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

3 calls:

9.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)))
0.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

simplify108.0ms (0.7%)

Algorithm
egg-herbie
Rules
894×fma-def_binary64
479×cancel-sign-sub-inv_binary64
212×sub-neg_binary64
168×fma-neg_binary64
164×*-commutative_binary64
Counts
157 → 184
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03244580
19034251
231454236
350434236

prune186.0ms (1.3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New17410184
Fresh011
Picked101
Done000
Total17511186
Error
0.0b
Counts
186 → 11
Alt Table
StatusErrorProgram
31.7b
(cbrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (sin.f64 ky)) (*.f64 (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (*.f64 (sin.f64 th) (sin.f64 th)) (sin.f64 th))))
8.1b
(*.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)))
18.0b
(*.f64 (log.f64 (exp.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.3b
(*.f64 (*.f64 (sin.f64 ky) (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
5.4b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
5.1b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
1.2b
(*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (cbrt.f64 (sin.f64 th)) (cbrt.f64 (sin.f64 th)))) (cbrt.f64 (sin.f64 th)))
0.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
20.0b
(*.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (sin.f64 ky)) (*.f64 (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
9.4b
(*.f64 (/.f64 (sin.f64 ky) (cbrt.f64 (pow.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) 3))) (sin.f64 th))
Compiler

Compiled 5338 to 2058 computations (61.4% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series478.0ms (3.2%)

Counts
3 → 84
Calls

3 calls:

212.0ms
(*.f64 (log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
135.0ms
(expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
130.0ms
(log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))

rewrite6.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
3 → 42
Calls

3 calls:

3.0ms
(*.f64 (log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.0ms
(expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))
0.0ms
(log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))

simplify98.0ms (0.7%)

Algorithm
egg-herbie
Rules
860×fma-def_binary64
427×cancel-sign-sub-inv_binary64
231×sub-neg_binary64
177×fma-neg_binary64
166×distribute-neg-in_binary64
Counts
126 → 120
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02784100
17993936
229183907
349943907

prune218.0ms (1.5%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1862188
Fresh3710
Picked101
Done000
Total1909199
Error
0.0b
Counts
199 → 9
Alt Table
StatusErrorProgram
18.0b
(*.f64 (log.f64 (exp.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.3b
(*.f64 (*.f64 (sin.f64 ky) (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th))
27.5b
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) 3))
0.2b
(*.f64 (log1p.f64 (log1p.f64 (expm1.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))))) (sin.f64 th))
8.1b
(*.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)))
1.2b
(*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (cbrt.f64 (sin.f64 th)) (cbrt.f64 (sin.f64 th)))) (cbrt.f64 (sin.f64 th)))
0.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
20.0b
(*.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (sin.f64 ky)) (*.f64 (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
9.4b
(*.f64 (/.f64 (sin.f64 ky) (cbrt.f64 (pow.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) 3))) (sin.f64 th))
Compiler

Compiled 5825 to 2559 computations (56.1% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series346.0ms (2.3%)

Counts
2 → 60
Calls

2 calls:

207.0ms
(*.f64 (log1p.f64 (log1p.f64 (expm1.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))))) (sin.f64 th))
139.0ms
(log1p.f64 (log1p.f64 (expm1.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))))

rewrite5.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 31
Calls

2 calls:

3.0ms
(*.f64 (log1p.f64 (log1p.f64 (expm1.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))))) (sin.f64 th))
0.0ms
(log1p.f64 (log1p.f64 (expm1.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))))

simplify81.0ms (0.5%)

Algorithm
egg-herbie
Rules
892×times-frac_binary64
687×fma-def_binary64
333×cancel-sign-sub-inv_binary64
154×sub-neg_binary64
140×associate-*r*_binary64
Counts
91 → 90
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02233230
16382969
222632956
350502956

prune176.0ms (1.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1870187
Fresh088
Picked011
Done000
Total1879196
Error
0.0b
Counts
196 → 9
Alt Table
StatusErrorProgram
18.0b
(*.f64 (log.f64 (exp.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.3b
(*.f64 (*.f64 (sin.f64 ky) (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th))
27.5b
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) 3))
0.2b
(*.f64 (log1p.f64 (log1p.f64 (expm1.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))))) (sin.f64 th))
8.1b
(*.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)))
1.2b
(*.f64 (*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (*.f64 (cbrt.f64 (sin.f64 th)) (cbrt.f64 (sin.f64 th)))) (cbrt.f64 (sin.f64 th)))
0.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
20.0b
(*.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (sin.f64 ky)) (*.f64 (*.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
9.4b
(*.f64 (/.f64 (sin.f64 ky) (cbrt.f64 (pow.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) 3))) (sin.f64 th))
Compiler

Compiled 6085 to 2730 computations (55.1% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series437.0ms (2.9%)

Counts
3 → 96
Calls

3 calls:

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

rewrite14.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
19×times-frac_binary64
19×*-un-lft-identity_binary64
19×add-cube-cbrt_binary64
13×associate-*r*_binary64
Counts
3 → 73
Calls

3 calls:

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

simplify192.0ms (1.3%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
03265096
19204768
235744768
349144768
449864768
550004768
649594768

prune127.0ms (0.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1452147
Fresh347
Picked011
Done011
Total1488156
Error
0.0b
Counts
156 → 8
Alt Table
StatusErrorProgram
5.2b
(*.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (/.f64 1 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
0.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
18.0b
(*.f64 (log.f64 (exp.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
0.3b
(*.f64 (*.f64 (sin.f64 ky) (/.f64 1 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th))
27.5b
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) 3))
34.1b
(*.f64 (sin.f64 ky) (log.f64 (exp.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
0.2b
(*.f64 (log1p.f64 (log1p.f64 (expm1.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))))))) (sin.f64 th))
9.4b
(*.f64 (/.f64 (sin.f64 ky) (cbrt.f64 (pow.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) 3))) (sin.f64 th))
Compiler

Compiled 4506 to 1917 computations (57.5% saved)

regimes1.6s (10.6%)

Accuracy

Total 0.2b remaining (76.8%)

Threshold costs 0.2b (76.8%)

Counts
104 → 1
Compiler

Compiled 17813 to 11016 computations (38.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11118
21118

end121.0ms (0.8%)

Compiler

Compiled 158 to 108 computations (31.6% saved)

Profiling

Loading profile data...