Details

Time bar (total: 10.4s)

analyze978.0ms (9.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
49.9%49.9%0.2%3
49.9%49.9%0.2%4
49.9%49.9%0.2%5
49.9%49.9%0.2%6
74.9%25%0.2%7
74.9%25%0.2%8
74.9%25%0.2%9
74.9%25%0.2%10
87.3%12.5%0.2%11
87.3%12.5%0.2%12
87.3%12.5%0.2%13
87.3%12.5%0.2%14
Compiler

Compiled 34 to 30 computations (11.8% saved)

sample4.4s (42%)

Symmetry

(sort kx ky)

Results
2.3s6543×body128valid
1.2s814×body1024valid
585.0ms597×body512valid
226.0ms301×body256valid
2.0msbody2048valid
Compiler

Compiled 101 to 89 computations (11.9% saved)

simplify61.0ms (0.6%)

Algorithm
egg-herbie
Rules
1214×rules-42_binary64
847×rules-41_binary64
847×rules-43_binary64
573×rules-40_binary64
417×rules-20_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02442
114037
243837
3203537
4399437
53937

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.8b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (sqrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)))))
Compiler

Compiled 113 to 95 computations (15.9% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (sin.f64 ky) 2)
0.3b
(pow.f64 (sin.f64 kx) 2)
1.2b
(fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)
11.4b
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1))

series323.0ms (3.1%)

Counts
4 → 104
Calls

4 calls:

219.0ms
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1))
97.0ms
(fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)
3.0ms
(pow.f64 (sin.f64 kx) 2)
3.0ms
(pow.f64 (sin.f64 ky) 2)

rewrite98.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
603×prod-diff_binary64
164×egg-rr
161×add-sqr-sqrt_binary64
156×log1p-expm1-u_binary64
156×expm1-log1p-u_binary64
Counts
4 → 164
Calls

4 calls:

95.0ms
(pow.f64 (sin.f64 ky) 2)
95.0ms
(pow.f64 (sin.f64 kx) 2)
95.0ms
(fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)
95.0ms
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01768
139162
2446062
3557462
000
100

simplify104.0ms (1%)

Algorithm
egg-herbie
Rules
694×fma-neg_binary64
521×rules-20_binary64
483×rules-40_binary64
483×rules-41_binary64
483×rules-42_binary64
Counts
268 → 251
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02746563
120246563
249176563

prune941.0ms (9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2492251
Fresh000
Picked011
Done000
Total2493252
Error
0.2b
Counts
252 → 3
Alt Table
StatusErrorProgram
34.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (+.f64 (/.f64 (sqrt.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))) Om) (*.f64 1/2 (*.f64 Om (sqrt.f64 (/.f64 1 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))))))))))
0.8b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (sqrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)))))
25.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 1)))
Compiler

Compiled 11635 to 8081 computations (30.5% saved)

localize3.0ms (0%)

prune4.0ms (0%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0.2b
Counts
3 → 3
Alt Table
StatusErrorProgram
34.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (+.f64 (/.f64 (sqrt.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))) Om) (*.f64 1/2 (*.f64 Om (sqrt.f64 (/.f64 1 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))))))))))
0.8b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (sqrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)))))
25.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 1)))
Compiler

Compiled 154 to 112 computations (27.3% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
7.9b
(*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))
9.2b
(*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2))
27.7b
(sqrt.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2)))))
27.8b
(sqrt.f64 (/.f64 1 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))))

series473.0ms (4.5%)

Counts
4 → 120
Calls

4 calls:

325.0ms
(sqrt.f64 (/.f64 1 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))))
110.0ms
(sqrt.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2)))))
19.0ms
(*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))
18.0ms
(*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2))

rewrite89.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
282×prod-diff_binary64
177×add-sqr-sqrt_binary64
174×log1p-expm1-u_binary64
174×expm1-log1p-u_binary64
170×add-log-exp_binary64
Counts
4 → 166
Calls

4 calls:

86.0ms
(*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))
86.0ms
(*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2))
86.0ms
(sqrt.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2)))))
86.0ms
(sqrt.f64 (/.f64 1 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01974
144752
2473252
3519052
000
100

simplify109.0ms (1%)

Algorithm
egg-herbie
Rules
451×fma-neg_binary64
340×rules-40_binary64
340×rules-41_binary64
340×rules-42_binary64
340×rules-43_binary64
Counts
286 → 230
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01862976
113952874
250172874

prune446.0ms (4.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3400340
Fresh000
Picked011
Done022
Total3403343
Error
0.2b
Counts
343 → 3
Alt Table
StatusErrorProgram
34.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (+.f64 (/.f64 (sqrt.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))) Om) (*.f64 1/2 (*.f64 Om (sqrt.f64 (/.f64 1 (*.f64 4 (+.f64 (*.f64 (*.f64 l l) (pow.f64 (sin.f64 kx) 2)) (*.f64 (*.f64 l l) (pow.f64 (sin.f64 ky) 2))))))))))))
0.8b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (sqrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)))))
25.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 1)))
Compiler

Compiled 20635 to 12274 computations (40.5% saved)

regimes2.3s (21.6%)

Accuracy

Total 0.7b remaining (67.3%)

Threshold costs 0.7b (67.3%)

Counts
82 → 1
Compiler

Compiled 73586 to 53398 computations (27.4% saved)

simplify1.0ms (0%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02442
12642
22442

end104.0ms (1%)

Remove

(sort kx ky)

Compiler

Compiled 220 to 181 computations (17.7% saved)

Profiling

Loading profile data...