Details

Time bar (total: 11.2s)

analyze862.0ms (7.7%)

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)

sample3.9s (35.1%)

Symmetry

(sort kx ky)

Results
2.0s6582×body128valid
1.1s785×body1024valid
530.0ms559×body512valid
212.0ms329×body256valid
2.0msbody2048valid
Compiler

Compiled 101 to 89 computations (11.9% saved)

simplify54.0ms (0.5%)

Algorithm
egg-herbie
Rules
665×fma-def_binary64
575×associate-*l*_binary64
512×unswap-sqr_binary64
437×associate-*r*_binary64
369×associate-/r/_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02442
15637
211337
346537
4214937
5498237
6484737
7496437

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
1.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
1.3b
(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)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (sin.f64 ky) 2)
0.4b
(/.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)))
1.7b
(fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)
8.9b
(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))

series1.1s (9.8%)

Counts
4 → 148
Calls

4 calls:

785.0ms
(/.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)))
213.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))
99.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 ky) 2)

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
22×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
18×times-frac_binary64
15×sqrt-prod_binary64
Counts
4 → 86
Calls

4 calls:

3.0ms
(/.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)))
2.0ms
(pow.f64 (sin.f64 ky) 2)
1.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))
0.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)

simplify283.0ms (2.5%)

Algorithm
egg-herbie
Rules
417×fma-neg_binary64
342×fma-def_binary64
271×associate-*r*_binary64
200×associate-*l*_binary64
200×associate-*r/_binary64
Counts
234 → 225
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
047614253
1137413174
2495513168
3526713168

prune961.0ms (8.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2214225
Fresh000
Picked101
Done000
Total2224226
Error
0.5b
Counts
226 → 4
Alt Table
StatusErrorProgram
1.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (cbrt.f64 (pow.f64 (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)) 3)))))
1.3b
(sqrt.f64 (+.f64 1/2 (expm1.f64 (log1p.f64 (/.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)))))))
22.2b
(sqrt.f64 (+.f64 1/2 1/2))
30.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (fma.f64 1/2 (*.f64 Om (sqrt.f64 (/.f64 1/4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))) (/.f64 (sqrt.f64 (*.f64 4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) Om)))))
Compiler

Compiled 13128 to 9411 computations (28.3% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (sin.f64 ky) 2)
0.4b
(/.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)))
1.7b
(fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)
8.9b
(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))

prune498.0ms (4.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2250225
Fresh033
Picked011
Done000
Total2254229
Error
0.5b
Counts
229 → 4
Alt Table
StatusErrorProgram
1.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (cbrt.f64 (pow.f64 (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)) 3)))))
1.3b
(sqrt.f64 (+.f64 1/2 (expm1.f64 (log1p.f64 (/.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)))))))
22.2b
(sqrt.f64 (+.f64 1/2 1/2))
30.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (fma.f64 1/2 (*.f64 Om (sqrt.f64 (/.f64 1/4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))) (/.f64 (sqrt.f64 (*.f64 4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) Om)))))
Compiler

Compiled 13548 to 9835 computations (27.4% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 1/2 (cbrt.f64 (pow.f64 (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)) 3)))
1.7b
(fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)
8.9b
(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))
13.4b
(cbrt.f64 (pow.f64 (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)) 3))

series1.2s (10.3%)

Counts
2 → 96
Calls

2 calls:

923.0ms
(/.f64 1/2 (cbrt.f64 (pow.f64 (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)) 3)))
227.0ms
(cbrt.f64 (pow.f64 (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)) 3))

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
90×cbrt-prod_binary64
63×times-frac_binary64
53×*-un-lft-identity_binary64
53×add-sqr-sqrt_binary64
53×add-cube-cbrt_binary64
Counts
2 → 130
Calls

2 calls:

6.0ms
(/.f64 1/2 (cbrt.f64 (pow.f64 (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)) 3)))
2.0ms
(cbrt.f64 (pow.f64 (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)) 3))

simplify385.0ms (3.4%)

Algorithm
egg-herbie
Rules
365×fma-neg_binary64
296×fma-def_binary64
254×*-commutative_binary64
253×associate-*r*_binary64
191×associate-*l*_binary64
Counts
226 → 238
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
047115429
1125614856
2457714818
3496714818
4497414818
5494914818

prune575.0ms (5.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3360336
Fresh022
Picked011
Done011
Total3364340
Error
0.5b
Counts
340 → 4
Alt Table
StatusErrorProgram
1.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (cbrt.f64 (pow.f64 (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)) 3)))))
1.3b
(sqrt.f64 (+.f64 1/2 (expm1.f64 (log1p.f64 (/.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)))))))
22.2b
(sqrt.f64 (+.f64 1/2 1/2))
30.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (fma.f64 1/2 (*.f64 Om (sqrt.f64 (/.f64 1/4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))) (/.f64 (sqrt.f64 (*.f64 4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) Om)))))
Compiler

Compiled 21247 to 15474 computations (27.2% saved)

localize4.0ms (0%)

prune4.0ms (0%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
0.5b
Counts
4 → 4
Alt Table
StatusErrorProgram
1.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (cbrt.f64 (pow.f64 (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)) 3)))))
1.3b
(sqrt.f64 (+.f64 1/2 (expm1.f64 (log1p.f64 (/.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)))))))
22.2b
(sqrt.f64 (+.f64 1/2 1/2))
30.3b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (fma.f64 1/2 (*.f64 Om (sqrt.f64 (/.f64 1/4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))) (/.f64 (sqrt.f64 (*.f64 4 (*.f64 (*.f64 l l) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) Om)))))
Compiler

Compiled 116 to 95 computations (18.1% saved)

regimes1.2s (10.4%)

Accuracy

Total 0.6b remaining (54%)

Threshold costs 0.6b (54%)

Counts
47 → 1
Compiler

Compiled 27777 to 23442 computations (15.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02442
12942
22842

end128.0ms (1.1%)

Remove

(sort kx ky)

Compiler

Compiled 240 to 203 computations (15.4% saved)

Profiling

Loading profile data...