Packed Cases 3, 4 and 5a of the 4n - 9d refuter #
Cases 3 (partners sharing a child), 4 (a paired parameter in the affine system) and 5a (a
non-affine gate on a paired parameter) of the refuter applyStep
(Cslib.Circuits.Boolean.AffineDisperser4n) on the packed state PackedState. This is part of the
pure layer of the step programs of issue #4322 (Milestone 4); no program and no running time is
claimed here.
The operation of a gate as a function of the two members of a pair is read off the truth table of
its row (rowPhi, rowPhi_rowOf). Case 4 ends with the packed unit deletion pUnitDelete,
whose correctness needs a well-formed state; the intermediate state is valid by
Valid.step_pairInSystem_of, under the hypotheses of that lemma. Case 5a is split into the
packed successor pAndOnPairStep, which represents State.andOnPairStep whenever the constraints
it deletes are constraints at that point (Rep.andOnPairStep), and the packed searches for its
arguments, which compute the arguments of applyStep (Rep.pAndOnPair_eq).
Main definitions #
Cslib.Algorithms.WordRAM.Refuter4n.rowPhi: the operation of a gate row as a function of the values oftand of the other argument.Cslib.Algorithms.WordRAM.Refuter4n.pPartnersShareChildStep,pPartnersShareChild:State.partnersShareChildStepand the.partnersShareChildstep on the packed state.Cslib.Algorithms.WordRAM.Refuter4n.pPairInSystem: the.pairInSystemstep on the packed state.Cslib.Algorithms.WordRAM.Refuter4n.rowOtherArg,rowFixArg:otherArgandfixArgon a gate row.Cslib.Algorithms.WordRAM.Refuter4n.pAndOnPairStep,pAndOnPair:State.andOnPairStepand the.andOnPairstep on the packed state.
Main results #
Cslib.Algorithms.WordRAM.Refuter4n.rowPhi_rowOf:rowPhiis the functionφofState.partnersShareChildStep.Cslib.Algorithms.WordRAM.Refuter4n.Rep.applyStep_partnersShareChild,Rep.applyStep_pairInSystem: the packed Cases 3 and 4 representapplyStep.Cslib.Algorithms.WordRAM.Refuter4n.rowOtherArg_rowOf,rowFixArg_rowOf: the row versions areotherArgandfixArg.Cslib.Algorithms.WordRAM.Refuter4n.Rep.andOnPairStep,Rep.pAndOnPair_eq: the packed Case 5a successor and its arguments.
rowPhi of the row of a gate.
Case 4 #
Case 4, a paired parameter p whose first child is an equation e (applyStep of
.pairInSystem p): fix the partner of p to its bias, delete the first child of the partner, and
unit-delete p through e if p still has a child.
Case 4. On a valid represented state with no degenerate pair and no partners sharing a
child, for a parameter p below N not read by the output, the packed Case 4 represents
applyStep of .pairInSystem p. The intermediate state is valid by
Valid.step_pairInSystem_of, which the packed unit deletion needs.
Case 5a #
otherArg on a gate row: the argument other than p when both arguments are names, and p
otherwise.
rowOtherArg is otherArg.
rowFixArg is fixArg.
State.andOnPairStep on the packed state, with the same arguments.
Case 5a, the non-affine gate G reading the paired parameter p (applyStep of
.andOnPair G p): pAndOnPairStep with the arguments of applyStep computed on the packed
state, if p is paired and its partner has a child.
The Case 5a successor. On a valid represented state, the packed andOnPairStep
represents State.andOnPairStep for a gate G, a pair pr of the state, a name w below N
and prw a pair of the state if any, when every constraint it deletes is a constraint at that
point:
Hr is a constraint other than G, and in the branch that also deletes the reader K of G,
K is a gate other than G and the last deleted constraint is neither G nor K.
The packed Case 5a is pAndOnPairStep at the arguments that applyStep computes.