The positions of the slots among the oracle's codewords #
The oracle's answer in the answer-reduced game lists a codeword for every slot of the PCP, the
readable ones first (slotsOf), and a slot's codeword sits at its position idxO. The
linear-constraints processor reads the codewords at these positions, so they are computed here
in closed form: the readable slots in the order of rSlots, then the linear ones in the order of
lSlots, after the 6 + m + 2ℓ + ◇' + 3r readable ones (idxO_gA, …, idxO_βL). The isolated
players' codewords are g_A, g_{La} and g_B, g_{Lb} (slotsOf_alice, slotsOf_bob).
theorem
MIPRE.Tailored.AnsRed.idxOf_ofFn
{α : Type u_1}
[DecidableEq α]
{n : ℕ}
{f : Fin n → α}
(hf : Function.Injective f)
(i : Fin n)
:
The simp set that computes positions of slots in the oracle's codewords.
Equations
- MIPRE.Tailored.AnsRed.tacticSlot_idx = Lean.ParserDescr.node `MIPRE.Tailored.AnsRed.tacticSlot_idx 1024 (Lean.ParserDescr.nonReservedSymbol "slot_idx" false)
Instances For
The readable slots #
The linear slots #
The isolated players' codewords #
The blocks of the slots #
The first wire of a slot's block: each block is the interval of size wires from it.
Equations
- MIPRE.Tailored.AnsRed.Slot.gA.lo = 1
- (MIPRE.Tailored.AnsRed.Slot.βA i).lo = 1
- MIPRE.Tailored.AnsRed.Slot.gB.lo = L.ℓ + 2
- (MIPRE.Tailored.AnsRed.Slot.βB i).lo = L.ℓ + 2
- MIPRE.Tailored.AnsRed.Slot.gO.lo = L.ℓ + L.ℓ + 3
- (MIPRE.Tailored.AnsRed.Slot.βO i).lo = L.ℓ + L.ℓ + 3
- (MIPRE.Tailored.AnsRed.Slot.αL X).lo = L.ℓ + L.ℓ + 3
- (MIPRE.Tailored.AnsRed.Slot.gW k).lo = L.ℓ + L.ℓ + 3 + L.oW + ↑k * L.r
- (MIPRE.Tailored.AnsRed.Slot.βW k i).lo = L.ℓ + L.ℓ + 3 + L.oW + ↑k * L.r
- (MIPRE.Tailored.AnsRed.Slot.αR X).lo = 0
- MIPRE.Tailored.AnsRed.Slot.gLa.lo = L.ℓ + L.ℓ + 3
- (MIPRE.Tailored.AnsRed.Slot.βLa i).lo = L.ℓ + L.ℓ + 3
- MIPRE.Tailored.AnsRed.Slot.gLb.lo = L.ℓ + L.ℓ + 3 + L.ℓ
- (MIPRE.Tailored.AnsRed.Slot.βLb i).lo = L.ℓ + L.ℓ + 3 + L.ℓ
- (MIPRE.Tailored.AnsRed.Slot.gL k).lo = L.ℓ + L.ℓ + 3 + L.ℓ + L.ℓ + ↑k * L.dm
- (MIPRE.Tailored.AnsRed.Slot.βL k i).lo = L.ℓ + L.ℓ + 3 + L.ℓ + L.ℓ + ↑k * L.dm