Arithmetic implementation of packed Gram/residual checks on 2^n lanes of width bits,
built on the shared lane primitives of SeedKernel.Packed: ones is repunit, middle the
top lane, and rawDot the shared reversal-and-multiply dot. The generic lane-decoding proof
is NOT supplied here; this is explicitly an additional gap before spectral use.
Equations
Instances For
Equations
- SeedKernel.Ising.Packed.whole n = 1 <<< (SeedKernel.Ising.Packed.width * 2 ^ n) - 1
Instances For
Equations
Instances For
Equations
- SeedKernel.Ising.Packed.lowMask n j = (1 <<< (SeedKernel.Ising.Packed.width * 2 ^ j) - 1) * (SeedKernel.Ising.Packed.whole n / (1 <<< (SeedKernel.Ising.Packed.width * 2 ^ (j + 1)) - 1))
Instances For
Equations
Instances For
Expand contiguous 56-bit slots to 288-bit slots in n masked shifts.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Flip spin j: swap the lane blocks whose index bit j is 0 and 1.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
Equations
- SeedKernel.Ising.Packed.rawDot n u v = SeedKernel.dot SeedKernel.Ising.Packed.width (2 ^ n) u v
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- SeedKernel.Ising.Packed.resNorm n u lam = SeedKernel.Ising.Packed.centeredDot n (SeedKernel.Ising.Packed.residual n u lam) (SeedKernel.Ising.Packed.residual n u lam) (2 ^ 128)
Instances For
Equations
- One or more equations did not get rendered due to their size.