Documentation

CslibFrontier.Computability.PCP.Approximation.FGLSSRuntime

Constructing the FGLSS graph on a native multi-tape machine #

The construction enumerates the verifier's random strings and the answer strings for each resulting query list. It retains the accepting self-consistent views and tests pairs for conflicts, using binary query addresses throughout. The resulting edge-list graph is isomorphic to PCPVerifier.fglssGraph.

This is the running-time step toward Goldreich, Exercise 9.18 (r5.pdf, PDF pp. 67–68, printed pp. 449–450). The source permits adaptive queries. Here the queries depend only on the input and the coins, and each answer string has the length of its query list. Adding one to the encoded input length accounts for the empty word.

Main results #

The edge-list realization of fglssGraph. A vertex label is the binary number obtained by appending a high-order one to the framed pair of random and answer strings. Each conflict is emitted in both orientations.

The edge-list realization has exactly the vertices and edges of the mathematical FGLSS graph, up to relabeling.

theorem Cslib.Complexity.PCPVerifier.computableInO_fglssEdgeList {α : Type} {enc : α ↪ List Bool} (V : PCPVerifier α) (hV : PolyTime enc V) (q : ℕ → ℕ) (hq : ∀ (a : α) (ρ : List Bool), ρ.length = V.coins a → (V.queries (a, ρ)).length ≤ q (enc a).length) :
have size := fun (a : α) => 2 ^ (V.coins a + q (enc a).length) * ((enc a).length + 1); ∃ (T : α → ℕ) (S : α → ℕ), Turing.MultiTapeTM.PolyBounded size T ∧ Turing.MultiTapeTM.PolyBounded size S ∧ Turing.MultiTapeTM.ComputableInO V.fglssEdgeList enc encGraph T S

A native multi-tape machine constructs the explicit FGLSS graph. Its time and charged space are polynomial in 2 ^ (r + q) * (n + 1), where n is the encoded instance length, r is the verifier's coin count, and q bounds the query list lengths on valid random strings. The only machine hypotheses are the three component certificates of PCPVerifier.PolyTime.

theorem Cslib.Complexity.PCPVerifier.computableInPolyTime_fglssEdgeList {α : Type} {enc : α ↪ List Bool} (V : PCPVerifier α) (hV : PolyTime enc V) {c d : ℕ} (hcoins : ∀ (a : α), V.coins a ≤ c * (Nat.log 2 (enc a).length + 1)) (hq : ∀ (a : α) (ρ : List Bool), ρ.length = V.coins a → (V.queries (a, ρ)).length ≤ d) :

Under a logarithmic coin bound and a constant query bound on valid random strings, the explicit FGLSS edge-list graph is computable in polynomial time.