Strict polynomial-time certification for conventional-circuit inverters #
Following Bellare, Hoang and Rogaway [BHR12b], Section 4.1, Proposition 1, this
module certifies that the conventional-circuit side-information readers and explicit inverters of
CslibFrontier.Crypto.Primitives.Garbling.CircuitInverters run in deterministic strict
polynomial time (ComputableInPolyTime), and hence in uniform strict PPT (IsPPTOn via
ComputableInPolyTime.isPPTOn). These certificates are steps toward the uses of the inverters in
Propositions 2 and 3 and Corollaries 1 and 2 of [BHR12b] (#5293); they are not
Proposition 1's running-time claim.
CslibFrontier.Crypto.Primitives.Garbling.Efficient already provides the circuit and topology
encodings (encValidCircuit, encValidTopo, encQuery) and certificates for circuit evaluation
(evalCirc_polyTime) and topology extraction (phiTopo_polyTime). This module supplies:
encShapeData,encValidShapeandencValidShape_apply: unary word encodings for valid circuit shapes(n, m, q)(unary encoding ofqensures theq-gate circuit built bymSizehas polynomial length);phiSize_polyTimeandphiCirc_polyTime: polynomial-time extraction ofphiSizeandphiCirc;sizeTopo_polyTime,mTopo_polyTime,mSize_polyTime,mTopoInv_polyTime, andmSizeInv_polyTime: strict polynomial-time certificates for the four Proposition 1 inverters (mTopo,mSize,mTopoInv,mSizeInv);Scheme.IsCircuitScheme.inLen_polyTime,.outLen_polyTime, and.ev_polyTime: convenience certificates for circuit garbling schemes overValidCircuit.
The paper's Proposition 1 states linear running time in the RAM model; here we prove only strict
polynomial time on multi-tape Turing machines (ComputableInPolyTime). The linear-time bound
remains open (#5293).
Main definitions #
Cslib.Crypto.Garbling.encShapeData,Cslib.Crypto.Garbling.encValidShape: word encodings forValidShape.
Main results #
Cslib.Crypto.Garbling.phiSize_polyTime:phiSize.phiis polynomial-time computable onencValidCircuit.Cslib.Crypto.Garbling.mTopo_polyTime,Cslib.Crypto.Garbling.mSize_polyTime,Cslib.Crypto.Garbling.mTopoInv_polyTime,Cslib.Crypto.Garbling.mSizeInv_polyTime: polynomial-time certificates for the four explicit side-information inverters from the proof of [BHR12b], Section 4.1, Proposition 1, as steps toward Propositions 2 and 3 and Corollaries 1 and 2 (#5293). Proposition 1's linear-time bound remains open (#5293).
References #
Encodings and side-information readers #
Valid circuit shapes (n, m, q) encoded as words via encShapeData.
Specification of encValidShape in terms of encShapeData.
The data (n, m, q) of a valid shape is read from its word in polynomial time.
The shape side information Φ_size(f) = (n, m, q) is computed in polynomial time from
encValidCircuit.
The full-circuit side information Φ_circ(f) = f is computed in polynomial time on
encValidCircuit.
Circuit-scheme reader certificates #
For any circuit garbling scheme, G.inLen is polynomial-time computable on encValidCircuit.
For any circuit garbling scheme, G.outLen is polynomial-time computable on
encValidCircuit.
For any circuit garbling scheme, G.ev is polynomial-time computable on
(encValidCircuit, encBits).
Proposition 1 inverters #
Polynomial-time certificate for the (Φ_topo, ev)-inverter mTopo from the proof of
[BHR12b], Section 4.1, Proposition 1: it runs in strict polynomial time on
(encValidTopo, encBits). A step toward Propositions 2 and 3 and Corollaries 1 and 2 (#5293); not
Proposition 1's linear-time bound, which remains open (#5293).
The canonical topology constructor sizeTopo mapping a valid shape (n, m, q) to the
valid topology with A(g) = 1, B(g) = 2 runs in strict polynomial time from encValidShape to
encValidTopo.
Polynomial-time certificate for the (Φ_size, ev)-inverter mSize from the proof of
[BHR12b], Section 4.1, Proposition 1: it runs in strict polynomial time on
(encValidShape, encBits). A step toward Proposition 2 and Corollary 1 (#5293); not Proposition
1's linear-time bound, which remains open (#5293).
Polynomial-time certificate for the Φ_topo-inverter mTopoInv from the proof of
[BHR12b], Section 4.1, Proposition 1: it runs in strict polynomial time on
encValidTopo. A step toward Proposition 3 and Corollary 2 (#5293); not Proposition 1's
linear-time bound, which remains open (#5293).
Polynomial-time certificate for the Φ_size-inverter mSizeInv from the proof of
[BHR12b], Section 4.1, Proposition 1: it runs in strict polynomial time on
encValidShape. A step toward Proposition 3 and Corollary 2 (#5293); not Proposition 1's
linear-time bound, which remains open (#5293).