Reconstructing two pivot pairs from the free coordinates
DefinitionVWZClique_FreeTwo Boolean strings on the nonexceptional coordinates expand into the four full pivot words.
import Definitions.Def_VWZClique_Operators
namespace VWZClique
abbrev Free {L : ℕ} (m : Mask L) := {i : Fin L // m i = none} → Bool
def fill {L : ℕ} (m : Mask L) (slot : (Bool × Bool × Bool × Bool) → Bool)
(p : Free m) : Bits L :=
fun i => if h : m i = none then p ⟨i,h⟩
else slot ((m i).get (Option.isSome_iff_ne_none.mpr h))
def expand {L : ℕ} (m : Mask L) (pq : Free m × Free m) : PairBits L × PairBits L :=
((fill m Prod.fst pq.1, fill m (fun r => r.2.1) pq.2),
(fill m (fun r => r.2.2.1) pq.2, fill m (fun r => r.2.2.2) pq.1))
end VWZClique
Read-back
What the Lean code literally says, in plain math · OpenAI Codex (GPT-6), independent blind auditor
Free words. For each natural number and each mask assigning either no value or an ordered Boolean quadruple to each of , a free word is a Boolean-valued function on exactly the coordinates where has no value. If this domain is empty, including when , it has exactly one such function.
Fill. Given any natural number , a mask assigning a Boolean quadruple or no value at each of the coordinates, any function from Boolean quadruples to Booleans and any assignment of Booleans to the coordinates without a mask value, the result is the length- word whose th bit is when the mask has no value there and when the mask specifies a quadruple . At the result is the empty word.
Expand. For any natural number , any mask assigning a Boolean quadruple or no value to each coordinate, and any ordered pair of Boolean assignments on its unspecified coordinates, the result has the form with length- Boolean words. At a specified coordinate , is the specified quadruple in its given order. At any unspecified coordinate this tuple is . At there is exactly one input pair for the mask and all four output words are empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.