zorch.spartan.pcs_glue¶
Separately deployable roles for the terminal witness-opening reduction.
WitnessOpeningClaim
dataclass
¶
Public terminal claim closed by opening the committed witness.
Source code in zorch/spartan/pcs_glue.py
29 30 31 32 33 34 35 36 37 | |
WitnessOpeningWitness
dataclass
¶
Private PCS opening state for WitnessOpeningClaim.
Source code in zorch/spartan/pcs_glue.py
40 41 42 43 44 | |
WitnessOpenProof
dataclass
¶
Witness evaluation and the underlying PCS opening proof.
Source code in zorch/spartan/pcs_glue.py
47 48 49 50 51 52 | |
WitnessOpenProver ¶
Bases: ProverStage[WitnessOpeningClaim, WitnessOpeningWitness, TrivialClaim, WitnessOpenProof]
Prove a committed-witness opening; owns only the PCS prover capability.
Source code in zorch/spartan/pcs_glue.py
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 | |
WitnessOpenVerifier ¶
Bases: VerifierStage[WitnessOpeningClaim, TrivialClaim, WitnessOpenProof]
Verify a committed-witness opening; owns only the PCS verifier capability.
Source code in zorch/spartan/pcs_glue.py
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 | |
witness_opening_claim ¶
witness_opening_claim(
commitment: Array,
instance: R1CS,
public_inputs: Array,
row: RowEvaluationClaim,
batch: BatchedClaims,
column: ColumnEvaluationClaim,
) -> WitnessOpeningClaim
Derive the terminal public claim from preceding reduced claims.
Source code in zorch/spartan/pcs_glue.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |