Details

Time bar (total: 14.7s)

analyze1.2s (8%)

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)

sample126.0ms (0.9%)

Algorithm
intervals
Results
51.0ms203×body128valid
29.0ms25×body1024valid
14.0ms16×body512valid
8.0ms12×body256valid
Compiler

Compiled 71 to 63 computations (11.3% saved)

simplify60.0ms (0.4%)

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

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (*.f64 2 l) Om)
0.2b
(pow.f64 (sin.f64 ky) 2)
2.4b
(fma.f64 (pow.f64 (/.f64 (*.f64 2 l) Om) 2) (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)) 1)
7.7b
(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))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
10×add-exp-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
4 → 68
Calls

4 calls:

3.0ms
(/.f64 (*.f64 2 l) Om)
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)

series507.0ms (3.4%)

Counts
4 → 124
Calls

4 calls:

274.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))
198.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)
28.0ms
(/.f64 (*.f64 2 l) Om)
7.0ms
(pow.f64 (sin.f64 ky) 2)

simplify180.0ms (1.2%)

Algorithm
egg-herbie
Rules
493×cancel-sign-sub-inv_binary64
308×unswap-sqr_binary64
223×fma-neg_binary64
219×associate-*r*_binary64
203×fma-def_binary64
Counts
192 → 332
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03637969
110017256
237847229
353087229

prune272.0ms (1.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3293332
Fresh000
Picked011
Done000
Total3294333
Error
0.0b
Counts
333 → 4
Alt Table
StatusErrorProgram
1.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (*.f64 (*.f64 (cbrt.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))) (cbrt.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)))) (cbrt.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)))))))
1.0b
(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)))))
33.2b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))))
24.7b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 1)))
Compiler

Compiled 8294 to 5907 computations (28.8% saved)

localize26.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.9b
(cbrt.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)))
7.7b
(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))
7.7b
(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))
7.7b
(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))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64
*-un-lft-identity_binary64
sqrt-prod_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 16
Calls

1 calls:

1.0ms
(cbrt.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)))

series4.1s (28.1%)

Counts
1 → 48
Calls

1 calls:

4.1s
(cbrt.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)))

simplify137.0ms (0.9%)

Algorithm
egg-herbie
Rules
815×fma-def_binary64
373×unswap-sqr_binary64
367×cancel-sign-sub-inv_binary64
186×associate-*r*_binary64
155×*-commutative_binary64
Counts
64 → 122
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02716012
18095739
231405627
351795627

prune802.0ms (5.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New9550955
Fresh022
Picked011
Done011
Total9554959
Error
0.0b
Counts
959 → 4
Alt Table
StatusErrorProgram
1.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (*.f64 (*.f64 (cbrt.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))) (cbrt.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)))) (cbrt.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)))))))
1.0b
(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)))))
33.2b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))))
24.7b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 1)))
Compiler

Compiled 33358 to 23718 computations (28.9% saved)

localize3.0ms (0%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify55.0ms (0.4%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune5.0ms (0%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
0.0b
Counts
4 → 4
Alt Table
StatusErrorProgram
1.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (*.f64 (*.f64 (cbrt.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))) (cbrt.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)))) (cbrt.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)))))))
1.0b
(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)))))
33.2b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))))
24.7b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 1)))
Compiler

Compiled 157 to 127 computations (19.1% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))
0.4b
(*.f64 (*.f64 2 l) (sin.f64 kx))
1.1b
(/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om)
5.6b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))))

rewrite35.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
87×times-frac_binary64
66×add-sqr-sqrt_binary64
58×*-un-lft-identity_binary64
56×add-cube-cbrt_binary64
16×associate-/r*_binary64
Counts
4 → 142
Calls

4 calls:

12.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))))
6.0ms
(*.f64 (*.f64 2 l) (sin.f64 kx))
4.0ms
(/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))
2.0ms
(/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om)

series2.0s (13.3%)

Counts
4 → 156
Calls

4 calls:

879.0ms
(/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))
582.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))))
473.0ms
(/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om)
32.0ms
(*.f64 (*.f64 2 l) (sin.f64 kx))

simplify209.0ms (1.4%)

Algorithm
egg-herbie
Rules
394×times-frac_binary64
366×associate-/r*_binary64
327×associate-*r/_binary64
327×associate-/l*_binary64
298×fma-def_binary64
Counts
298 → 554
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
059112558
1173211524
2526211524

prune389.0ms (2.6%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New5522554
Fresh000
Picked011
Done033
Total5526558
Error
0b
Counts
558 → 6
Alt Table
StatusErrorProgram
1.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (*.f64 (*.f64 (cbrt.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))) (cbrt.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)))) (cbrt.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)))))))
1.0b
(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)))))
34.2b
(-.f64 (sqrt.f64 1/2) (*.f64 1/4 (*.f64 (/.f64 Om (*.f64 (sqrt.f64 1/2) l)) (sqrt.f64 (/.f64 1/4 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))))
33.2b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))))
24.7b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 1)))
45.6b
(hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (/.f64 (hypot.f64 (*.f64 (*.f64 2 l) (sin.f64 kx)) (*.f64 (*.f64 2 l) (sin.f64 ky))) Om))))
Compiler

Compiled 13954 to 8601 computations (38.4% saved)

regimes944.0ms (6.4%)

Accuracy

Total 1.1b remaining (97.4%)

Threshold costs 0b (0%)

Compiler

Compiled 24124 to 19470 computations (19.3% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02137
12637
22537

end9.0ms (0.1%)

Remove

(sort kx ky)

Compiler

Compiled 84 to 72 computations (14.3% saved)

sample3.6s (24.7%)

Algorithm
intervals
Results
1.6s6392×body128valid
885.0ms722×body1024valid
464.0ms550×body512valid
196.0ms336×body256valid
Compiler

Compiled 252 to 210 computations (16.7% saved)

Profiling

Loading profile data...