Independent local output ranges fit in the reachable checkpoint range
ProvedPvsNP.product_local_ranges_le_checkpointscombinatoricscomplexity-theoryformal-verification
At each slot take a finite set of available choices and a map that observes a local output from its choice. Suppose any tuple of slot choices can be assembled into a checkpoint, and the checkpoint determines all the tuple’s local outputs. Then the product of the sizes of the local output ranges is at most the number of possible checkpoints.
Preamble
import Mathlib.Data.Fintype.BigOperators import Mathlib.Data.Set.Finite.Range import Mathlib.SetTheory.Cardinal.Finite set_option autoImplicit false
Formal statement
theorem PvsNP.product_local_ranges_le_checkpoints
{Slot Checkpoint : Type*} {Choice Piece : Slot → Type*}
[Fintype Slot] [Finite Checkpoint] [∀ i, Finite (Choice i)]
(output : (i : Slot) → Choice i → Piece i)
(assemble : ((i : Slot) → Choice i) → Checkpoint)
(observe : Checkpoint → (i : Slot) → Piece i)
(agrees : ∀ (selection : (i : Slot) → Choice i) (i : Slot),
observe (assemble selection) i = output i (selection i)) :
(∏ i : Slot, Nat.card (Set.range (output i))) ≤ Nat.card Checkpoint := by sorrySource
Original finite range accounting for delayed-randomness tape replay.