Documentation

CslibFrontier.Algorithms.WordRAM.TreeDecomposition.IndependentSet.MaskOps

Bit-mask bag projection and restriction scans (keyMaskProg, restrictMaskProg) #

This module certifies the Word-RAM bit-mask transfer scans between a child bag LB and parent bag LP, with no dependency on MWISInstance:

Main definitions #

Main results #

2 ^ |LP| range bounds for keyMask and restrictMask #

keyMask LB LP t always lies in 0 .. 2 ^ LP.length - 1.

restrictMask LB LP s always lies in 0 .. 2 ^ LP.length - 1 (without requiring LP.Nodup).

Selected-membership scan (selMemBagProg) #

Parent-bag mask (keyMaskProg) #

Register arguments (bagBPtr, bagBLen, bagPPtr, bagPLen, mask) for keyMaskProg and restrictMaskProg.

  • bagBPtr : ℕ

    Base memory address of child bag LB.

  • bagBLen : ℕ

    Length of child bag LB.

  • bagPPtr : ℕ

    Base memory address of parent bag LP.

  • bagPLen : ℕ

    Length of parent bag LP.

  • mask : ℕ

    Input subset bit mask (t over LB for keyMaskProg; s over LP for restrictMaskProg).

Instances For

    Compute keyMask LB LP args.mask across materialized bag slices LB and LP.

    Parent-mask restriction (restrictMaskProg) #

    Compute restrictMask LB LP args.mask across materialized bag slices LB and LP.