zorch.spartan.lincheck¶
Spartan claim batching and inner lincheck roles.
BatchedClaims
dataclass
¶
The RLC challenge and joint value derived between the two stages.
Source code in zorch/spartan/lincheck.py
28 29 30 31 32 33 | |
LincheckClaim
dataclass
¶
Public claim reduced by the inner linearization sumcheck.
Source code in zorch/spartan/lincheck.py
51 52 53 54 55 56 57 | |
LincheckWitness
dataclass
¶
Private assignment witnessing a LincheckClaim.
Source code in zorch/spartan/lincheck.py
60 61 62 63 64 | |
ColumnEvaluationClaim
dataclass
¶
Claimed matrix-times-assignment evaluation at the column point.
Source code in zorch/spartan/lincheck.py
67 68 69 70 71 72 | |
InnerProof
dataclass
¶
The inner sumcheck reduction proof.
Source code in zorch/spartan/lincheck.py
75 76 77 78 79 | |
InnerProver ¶
Bases: ProverStage[LincheckClaim, LincheckWitness, ColumnEvaluationClaim, InnerProof]
Prove lincheck conditional on a column-evaluation claim.
Source code in zorch/spartan/lincheck.py
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 | |
InnerVerifier ¶
Bases: VerifierStage[LincheckClaim, ColumnEvaluationClaim, InnerProof]
Verify lincheck conditional on a column-evaluation claim.
Source code in zorch/spartan/lincheck.py
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 | |
batch_claims ¶
batch_claims(
claims: Array,
transcript: Transcript,
challenges: ChallengePolicy,
) -> tuple[BatchedClaims, Transcript]
Sample the batching challenge and derive the joint value.
Source code in zorch/spartan/lincheck.py
41 42 43 44 45 46 47 48 | |