Exchanging parameters #
Two changes of the parameters of a fair semi-circuit, the semi-circuit side of the reparameterisations (AR) and (QR) of Mishra and Santhanam, Section 3.2:
SemiCircuit.swap: a parameterxand an auxiliary variableQdepending on it exchange their roles; no gate or equation changes, and well-formedness is preserved (WellFormed.swap), since on the solutions of the affine systemxis determined byQand the other parameters (AffineIn.solve);SemiCircuit.quad: for an AND-type gateGwhose only child is the XOR-type gateD = G + z + creading an isolated parameterz, the gateDbecomes a parameter in place ofzand both gates are deleted (WellFormed.quad); a consistent assignment of the result, withzandGgiven their values, is consistent for the original semi-circuit (QuadOK.consistent).
Main definitions #
Main results #
Cslib.Circuits.Boolean.SemiCircuit.WellFormed.swap,Cslib.Circuits.Boolean.SemiCircuit.WellFormed.quad: well-formedness is preserved.
References #
Exchanging a parameter and an auxiliary variable #
Exchange the parameter x with the auxiliary variable Q. No equation or gate changes.
Instances For
On the solutions of the affine system, a parameter x on which Q = c + ∑ j ∈ T, u j
depends is Q + c + ∑ j ∈ T \ {x}, u j.
Exchanging a parameter x with an auxiliary variable depending on it preserves
well-formedness.
The quadratic reparameterisation #
Turn the gate D into a parameter in place of z, and delete the gates G and D.
Instances For
The configuration of the quadratic reparameterisation: an AND-type gate
G = (x + α)(y + β) + γ on the distinct parameters x and y, whose only child is the XOR-type
gate D = G + z + c, where D is the only child of the parameter z, and neither G nor z is
the output.
Instances For
The quadratic reparameterisation preserves well-formedness.
A consistent assignment of the quadratic reparameterisation gives a consistent assignment of the original semi-circuit with the same output.