Score:2

How to choose the value of state width of Plonk with lookup?

ph flag

I noticed that it seems the original Plonk paper introduced that there were two extensions with state width = 3 or 4 (as described in https://github.com/matter-labs/proof_system_info_v1.0/blob/master/README.md). I recently reviewed some code and they set the state width = 5 and set the verification key as follows.

uint256 constant STATE_WIDTH = 5;

    struct VerificationKey {
        uint128 domain_size;
        uint128 num_inputs;
        PairingsBn254.Fr omega;
        PairingsBn254.G1Point[STATE_WIDTH + 2 + 2 + 2] selector_commitments;
        PairingsBn254.G1Point[STATE_WIDTH] permutation_commitments;
        PairingsBn254.G1Point[STATE_WIDTH + 1] tables_commitments;
        PairingsBn254.G2Point g2_x;
    }

I'm thinking whether setting those parameters are legit or not? Is the state width must be fixed to 3 or 4?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.