Details

Time bar (total: 13.9s)

analyze1.6s (11.6%)

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)

sample284.0ms (2%)

Algorithm
intervals
Results
149.0ms151×body1024valid
23.0ms42×body512valid
7.0ms21×body256valid
7.0ms42×body128valid
Compiler

Compiled 42 to 32 computations (23.8% saved)

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

series342.0ms (2.5%)

Counts
3 → 84
Calls

3 calls:

196.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
119.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
28.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))

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

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

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

prune176.0ms (1.3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1759184
Fresh101
Picked101
Done000
Total1779186
Error
0.0b
Counts
186 → 9
Alt Table
StatusErrorProgram
7.8b
(*.f64 (/.f64 (sin.f64 ky) (cbrt.f64 (*.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))
30.4b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
0.5b
(*.f64 (/.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th))
0.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
1.4b
(*.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 ky)) (cbrt.f64 (sin.f64 ky))) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (cbrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx))))) (sin.f64 th))
4.5b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (*.f64 (sin.f64 kx) (sin.f64 kx))))) (sin.f64 th))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))) (sin.f64 th))
6.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)))
1.4b
(*.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)))
Compiler

Compiled 5282 to 2002 computations (62.1% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series349.0ms (2.5%)

Counts
3 → 84
Calls

3 calls:

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

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

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

simplify97.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 → 154
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03244580
19034251
231454236
350434236

prune200.0ms (1.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1522154
Fresh268
Picked101
Done000
Total1558163
Error
0.0b
Counts
163 → 8
Alt Table
StatusErrorProgram
30.4b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
0.5b
(*.f64 (/.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th))
0.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (sin.f64 th))
2.1b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (sin.f64 th)))
4.5b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (*.f64 (sin.f64 kx) (sin.f64 kx))))) (sin.f64 th))
6.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)))
1.4b
(*.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)))
Compiler

Compiled 4623 to 1872 computations (59.5% saved)

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

series468.0ms (3.4%)

Counts
3 → 84
Calls

3 calls:

200.0ms
(*.f64 (log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (sin.f64 th))
140.0ms
(expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
127.0ms
(log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))

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 kx) (sin.f64 ky))))) (sin.f64 th))
0.0ms
(expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
0.0ms
(log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))))

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

prune152.0ms (1.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1671168
Fresh167
Picked011
Done000
Total1688176
Error
0.0b
Counts
176 → 8
Alt Table
StatusErrorProgram
0.3b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 ky))))) (sin.f64 th))
6.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)))
0.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (sin.f64 th))
30.4b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
2.1b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (sin.f64 th)))
4.5b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (*.f64 (sin.f64 kx) (sin.f64 kx))))) (sin.f64 th))
1.4b
(*.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)))
Compiler

Compiled 5341 to 2408 computations (54.9% saved)

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

series392.0ms (2.8%)

Counts
2 → 72
Calls

2 calls:

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

rewrite12.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
19×times-frac_binary64
18×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
13×associate-*r*_binary64
Counts
2 → 63
Calls

2 calls:

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

simplify130.0ms (0.9%)

Algorithm
egg-herbie
Rules
754×fma-def_binary64
411×cancel-sign-sub-inv_binary64
267×fma-neg_binary64
190×times-frac_binary64
183×associate-*r*_binary64
Counts
135 → 120
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02764408
17784225
230134209
349234207
449674207

prune157.0ms (1.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1452147
Fresh246
Picked011
Done011
Total1478155
Error
0b
Counts
155 → 8
Alt Table
StatusErrorProgram
0.3b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))
0.5b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (*.f64 (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
0.3b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 1 (/.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)) (sin.f64 ky))))) (sin.f64 th))
6.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)))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))) (sin.f64 th))
30.4b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (*.f64 (/.f64 (sqrt.f64 (sin.f64 ky)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (sin.f64 th)))
31.3b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 ky) (sin.f64 ky)) (sin.f64 ky)) (*.f64 (*.f64 (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (/.f64 (sin.f64 th) (hypot.f64 (sin.f64 kx) (sin.f64 ky))))))
2.1b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 kx) (sin.f64 ky)))) (sin.f64 th)))
Compiler

Compiled 4547 to 1917 computations (57.8% saved)

regimes2.5s (17.8%)

Accuracy

Total 0.2b remaining (86.7%)

Threshold costs 0.2b (86.7%)

Counts
194 → 1
Compiler

Compiled 35307 to 21591 computations (38.8% 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

end1.0ms (0%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

sample6.7s (48.2%)

Algorithm
intervals
Results
4.8s4573×body1024valid
903.0ms1435×body512valid
276.0ms1436×body128valid
195.0ms543×body256valid
29.0ms13×body2048valid
Compiler

Compiled 218 to 126 computations (42.2% saved)

Profiling

Loading profile data...