zorch.pcs.ligerito.verifier¶
Ligerito recursive-open verifier — the verifier half of the recursive
matrix PCS. Replays the prover's continuous sumcheck and per-level Fiat-Shamir:
it reconstructs the running basis B (from the value
basis eq(z) plus each level's induced proximity basis, folded by the same
challenges), checks every sumcheck round's identity, rebuilds the queried
codeword rows from the committed roots, and recomputes each level's proximity
left-hand side <M_j[s], eq(c_j)> from the opened rows — inducing it into the
sumcheck exactly as the prover did. The final level's proximity is checked
directly against the in-clear residual, and the sumcheck's terminal claim must
equal Σ_x residual(x)·B(x). It holds only the public params (the per-level codes
for block geometry + proximity points, tree for the Merkle config).
LigeritoVerifier
dataclass
¶
Bases: VerifierStage[OpeningClaim[LigeritoCommitment], TrivialClaim, OpeningProof[LigeritoProof], TranscriptT], Generic[TranscriptT]
Ligerito recursive PCS verifier. Mirrors LigeritoProver's make_code /
tree / config / choreography (share the choreography instance with
the prover — it fixes the Fiat-Shamir wire for both sides).
Source code in zorch/pcs/ligerito/verifier.py
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | |
verify ¶
verify(
claim: OpeningClaim[LigeritoCommitment],
reduction_proof: OpeningProof[LigeritoProof],
transcript: TranscriptT,
) -> VerifyResult[TrivialClaim, TranscriptT]
Check the claimed evaluations against the commitment.
Source code in zorch/pcs/ligerito/verifier.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |
verify_with_basis ¶
verify_with_basis(
commitment: LigeritoCommitment,
basis: Array,
value: Array,
proof: LigeritoProof,
transcript: TranscriptT,
) -> tuple[Array, TranscriptT]
verify for a RAW hypercube basis instead of a point — the dual of
LigeritoProver.open_with_basis (bind_statement receives
point=None).
Source code in zorch/pcs/ligerito/verifier.py
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | |