{"canonical":{"pcp-reading-guide.claim-pcp-theorem":[35,10755,11206]},"families":[{"id":"np-and-pcp","name":"NP and PCP","named":true,"part":0,"topics":["pcp-characterization","np-witnesses","np-reduction"]},{"id":"polynomials-and-grids","name":"Polynomials and grids","named":true,"part":0,"topics":["polynomial-distance","grid-interpolation","vanishing-certificates"]},{"id":"three-colouring-verifier","name":"Three-colouring verifier","named":true,"part":0,"topics":["colouring-constraints","proof-tables-checks","colouring-guarantees"]},{"id":"local-correction-and-grid-testing","name":"Local correction and grid testing","named":true,"part":0,"topics":["zero-on-grid-test","field-local-correction","binary-local-correction"]},{"id":"binary-low-degree-testing","name":"Binary low-degree testing","named":true,"part":0,"topics":["binary-low-degree-test","inner-low-degree-test","set-multilinear-encoding"]},{"id":"field-low-degree-testing","name":"Low-degree testing over fields","named":true,"part":0,"topics":["point-line-test","standard-low-degree-test","bivariate-agreement"]},{"id":"hadamard-encoding","name":"Hadamard encoding","named":true,"part":0,"topics":["hadamard-labels","hadamard-testing","linearity-self-correction"]},{"id":"verifier-model-and-resources","name":"Verifier model and resources","named":true,"part":0,"topics":["machine-implementation","verifier-model","resource-bounds"]}],"layer":"phrases","meaning":"Each tie is a pointer that landed. Whether the paper and the Lean say the same thing is a reading.","parts":[{"end_byte":30030,"name":"","start_byte":0}],"passages":[[4889,10528,["pcp-reading-guide.claim-pcp-theorem"],"sec-3"],[10614,12324,["pcp-reading-guide.claim-pcp-theorem"],"sec-4"]],"segments":[[5064,5105,[0]],[5107,5423,[1]],[5425,5539,[2]],[5545,5586,[3]],[5587,5829,[4]],[5830,5943,[5]],[6127,6278,[6]],[6284,6498,[7]],[6499,6577,[8]],[6757,6798,[9]],[6800,6967,[10]],[6969,7122,[11]],[7124,7264,[12]],[7266,7413,[13]],[7419,7472,[14]],[7473,7630,[15]],[7631,7849,[16]],[7919,8047,[17]],[8049,8151,[18]],[8153,8218,[19]],[8220,8294,[20]],[8296,8378,[21]],[8380,8484,[22]],[8492,8579,[23]],[8582,8640,[24]],[8641,8709,[25]],[8712,8876,[26]],[8879,9242,[27]],[9590,9673,[28]],[9675,9890,[29]],[9892,10042,[30]],[10048,10171,[31]],[10172,10346,[32]],[10347,10448,[33]],[10449,10527,[34]],[10755,11206,[35]],[11262,11312,[36]],[11315,11352,[37]],[11357,11433,[38]],[11436,11558,[39]],[11563,11592,[40]],[11595,11633,[41]],[11638,11663,[42]],[11666,11692,[43]],[11697,11716,[44]],[11719,11748,[45]],[11753,11784,[46]],[11787,11860,[47]],[11865,11924,[48]],[11927,11989,[49]],[11994,12043,[50]],[12046,12100,[51]],[12105,12158,[52]],[12161,12226,[53]],[12230,12323,[54]]],"ties":[{"anchor":"sec-3","at":"b5064-5105","from_record":false,"lean":true,"lines":[15,15],"module":"PCP.Complexity.NP","name":"PCP.Language","origin":"ai","part":0,"phrase":"language-code","plain":"Languages over binary strings","record":null,"relation":"defines","role":"definition","rows":[{"end_line":15,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is exactly the quoted one: a language is a set of finite binary strings, represented by its membership condition.","fidelity_source":"ai","line":15,"lines":[15,15],"module":"PCP.Complexity.NP","name":"PCP.Language","note":"","plain":"Languages over binary strings","relation":"defines","annotation":"`List Bool` represents all finite binary strings, including the empty string. The result type `Prop` specifies membership without requiring a decision procedure for it."}],"tone":1,"topic":"np-witnesses"},{"anchor":"sec-3","at":"b5107-5423","from_record":false,"lean":true,"lines":[30,39],"module":"PCP.Complexity.NP","name":"PCP.NPCertificate","origin":"ai","part":0,"phrase":"np-certificate-code","plain":"Polynomial witness bound and checker","record":null,"relation":"defines","role":"definition","rows":[{"end_line":39,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition gives a polynomial witness bound, a checker satisfying the chosen time condition, and $x\\in L$ exactly when some accepted witness has length at most $p(|x|)$.","fidelity_source":"ai","line":30,"lines":[30,39],"module":"PCP.Complexity.NP","name":"PCP.NPCertificate","note":"","plain":"Polynomial witness bound and checker","relation":"defines","annotation":"The witness bound is evaluated at the length of the original input, and `check_polyTime` separately constrains how witnesses are checked. The equivalence requires a bounded accepting witness for each yes-input and rules one out for each no-input."}],"tone":1,"topic":"np-witnesses"},{"anchor":"sec-3","at":"b5425-5539","from_record":false,"lean":true,"lines":[42,43],"module":"PCP.Complexity.NP","name":"PCP.InNP","origin":"ai","part":0,"phrase":"in-np-code","plain":"NP with model-dependent witness checking","record":null,"relation":"defines","role":"definition","rows":[{"end_line":43,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition says that a certificate of membership exists, relative to the chosen condition on witness checkers, exactly as the quoted code does.","fidelity_source":"ai","line":42,"lines":[42,43],"module":"PCP.Complexity.NP","name":"PCP.InNP","note":"","plain":"NP with model-dependent witness checking","relation":"defines","annotation":"`Nonempty` makes `InNP` a proposition about existence. An implementation of the checker lives in the certificate, and proving membership does not choose a distinguished checker among all possible certificates."}],"tone":1,"topic":"np-witnesses"},{"anchor":"sec-3","at":"b5545-5586","from_record":false,"lean":true,"lines":[15,15],"module":"PCP.Complexity.NP","name":"PCP.Language","origin":"ai","part":0,"phrase":"language-prose","plain":"Languages over binary strings","record":null,"relation":"defines","role":"definition","rows":[{"end_line":15,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition makes a language a membership condition on finite binary strings, exactly as the sentence says.","fidelity_source":"ai","line":15,"lines":[15,15],"module":"PCP.Complexity.NP","name":"PCP.Language","note":"","plain":"Languages over binary strings","relation":"defines","annotation":"The codomain is `Prop`, so the predicate specifies which strings belong to the language even before any algorithm is given. The later Boolean checker is a separate function on an input and a proposed witness."}],"tone":1,"topic":"np-witnesses"},{"anchor":"sec-3","at":"b5587-5829","from_record":false,"lean":true,"lines":[30,39],"module":"PCP.Complexity.NP","name":"PCP.NPCertificate","origin":"ai","part":0,"phrase":"np-certificate-prose","plain":"Polynomial witness bound and checker","record":null,"relation":"part","role":"explanation","rows":[{"end_line":39,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition has exactly the stated ingredients: a polynomial $p$, an allowed checker, and the equivalence between $x\\in L$ and an accepted witness of length at most $p(|x|)$.","fidelity_source":"ai","line":30,"lines":[30,39],"module":"PCP.Complexity.NP","name":"PCP.NPCertificate","note":"","plain":"Polynomial witness bound and checker","relation":"part","annotation":"The checker’s time condition is on the Boolean function of both $x$ and $w$. The polynomial stored in `witnessBound` limits the sizes of the witnesses quantified over in the membership equivalence."},{"end_line":43,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage describes the components of a membership certificate; the formal definition says that such a certificate exists. The certificate definition, also cited here, gives the components.","fidelity_source":"ai","line":42,"lines":[42,43],"module":"PCP.Complexity.NP","name":"PCP.InNP","note":"","plain":"NP with model-dependent witness checking","relation":"part","annotation":"`InNP` asserts that at least one certificate exists. The checker, its running-time predicate and its witness-length polynomial are all fields of `NPCertificate`."}],"tone":1,"topic":"np-witnesses"},{"anchor":"sec-3","at":"b5830-5943","from_record":false,"lean":true,"lines":[42,43],"module":"PCP.Complexity.NP","name":"PCP.InNP","origin":"ai","part":0,"phrase":"np-parameter-prose","plain":"NP with model-dependent witness checking","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":43,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition leaves the condition on witness checkers as a parameter, as the first sentence says; the main theorem supplies the concrete polynomial-time condition.","fidelity_source":"ai","line":42,"lines":[42,43],"module":"PCP.Complexity.NP","name":"PCP.InNP","note":"","plain":"NP with model-dependent witness checking","relation":"part","annotation":"The parameter $P$ is a predicate on Boolean checkers. `InNP` only requires a certificate relative to that predicate, so its meaning as a time class comes from the particular $P$ supplied by the theorem in Section 4.","annotation_references":[{"start":205,"end":214,"key":"section:4"}]},{"end_line":39,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition permits a chosen condition on witness checkers, as the passage explains. It does not by itself require that condition to be the concrete machine model.","fidelity_source":"ai","line":30,"lines":[30,39],"module":"PCP.Complexity.NP","name":"PCP.NPCertificate","note":"","plain":"Polynomial witness bound and checker","relation":"part","annotation":"`check_polyTime` has type `P check`. This is the point where the abstract machine predicate enters the certificate. The field `witnessBound` stays a polynomial of input length for any choice of $P$."},{"end_line":67,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage says that the main theorem fixes a previously variable notion of polynomial time; this formal definition gives the chosen machine-based notion. The choice itself appears in the main theorem.","fidelity_source":"ai","line":66,"lines":[66,67],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeRel","note":"","plain":"Polynomial-time machine for witness checking","relation":"part","annotation":"`PolyTimeRel` uses a Mathlib machine computation for the encoded pair and Boolean output. Selecting it as the checker predicate makes the abstract certificate a concrete polynomial-time witness relation."},{"end_line":34,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal theorem assumes that the language is in NP with the witness checker required to run in polynomial time on Turing machines. This is where the main theorem fixes the otherwise variable notion of polynomial time, as the second sentence says.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"`np_subset_pcp` uses `Machine.PolyTimeRel` in its hypothesis. The reduction to three-colourability can therefore start with a witness checker implemented by a machine with a polynomial running-time bound."}],"tone":1,"topic":"np-witnesses"},{"anchor":"sec-3","at":"b6127-6278","from_record":false,"lean":true,"lines":[66,67],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeRel","origin":"ai","part":0,"phrase":"polytime-relation-code","plain":"Polynomial-time machine for witness checking","record":null,"relation":"defines","role":"definition","rows":[{"end_line":67,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition requires a finite multi-stack Turing machine to compute the witness checker in polynomial time, using the specified input-pair and one-bit output encodings.","fidelity_source":"ai","line":66,"lines":[66,67],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeRel","note":"","plain":"Polynomial-time machine for witness checking","relation":"defines","annotation":"The machine computes the checker on the pair representation and produces one Boolean output. `Nonempty` says that a machine with the specified polynomial bound exists, without selecting a particular machine in the definition of the predicate."}],"tone":21,"topic":"machine-implementation"},{"anchor":"sec-3","at":"b6284-6498","from_record":false,"lean":true,"lines":[66,67],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeRel","origin":"ai","part":0,"phrase":"polynomial-time-prose","plain":"Polynomial-time machine for witness checking","record":null,"relation":"part","role":"explanation","rows":[{"end_line":67,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition requires the witness checker to be computed by a finite multi-stack Turing machine within a polynomial bound in the encoded input length, matching the passage.","fidelity_source":"ai","line":66,"lines":[66,67],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeRel","note":"","plain":"Polynomial-time machine for witness checking","relation":"part","annotation":"The machine’s runtime polynomial is in the length of the encoded pair, $|x|+|w|+1$. The certificate’s separate witness-length polynomial in $|x|$ then bounds this runtime for the witnesses considered by `InNP`."}],"tone":21,"topic":"machine-implementation"},{"anchor":"sec-3","at":"b6499-6577","from_record":false,"lean":true,"lines":[34,35],"module":"PCP.Complexity.Machine","name":"PCP.Machine.encodePair","origin":"ai","part":0,"phrase":"pair-encoding-prose","plain":"Separating input and witness","record":null,"relation":"part","role":"explanation","rows":[{"end_line":35,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition writes the first string, one separator, and the second string, in exactly the order stated.","fidelity_source":"ai","line":34,"lines":[34,35],"module":"PCP.Complexity.Machine","name":"PCP.Machine.encodePair","note":"","plain":"Separating input and witness","relation":"part","annotation":"The separator is a symbol distinct from either bit, so it determines where the first list ends even if one list is empty. Its single tape cell accounts for the extra one in the encoded input length."}],"tone":21,"topic":"machine-implementation"},{"anchor":"sec-3","at":"b6757-6798","from_record":false,"lean":true,"lines":[28,28],"module":"PCP.Verifier.Definition","name":"PCP.ProofOracle","origin":"ai","part":0,"phrase":"proof-oracle-code","plain":"An infinite string of proof bits","record":null,"relation":"defines","role":"definition","rows":[{"end_line":28,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is an infinite sequence of bits indexed by the natural numbers, exactly the proof oracle described by the quoted code.","fidelity_source":"ai","line":28,"lines":[28,28],"module":"PCP.Verifier.Definition","name":"PCP.ProofOracle","note":"","plain":"An infinite string of proof bits","relation":"defines","annotation":"Oracle replies are defined at every natural-number address. If the query trees have an address bound, any two oracles with the same prefix below that bound give the same verdict. The bound is a property of the verifier."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b6800-6967","from_record":false,"lean":true,"lines":[33,37],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree","origin":"ai","part":0,"phrase":"query-tree-code","plain":"Depth-bounded adaptive proof-query trees","record":null,"relation":"defines","role":"definition","rows":[{"end_line":37,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition gives an adaptive binary decision tree of depth at most $d$: a leaf may occur before the budget is exhausted, and each query consumes one level.","fidelity_source":"ai","line":33,"lines":[33,37],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree","note":"","plain":"Depth-bounded adaptive proof-query trees","relation":"defines","annotation":"The constructors encode the depth bound in the type. A query consumes one level in both successor trees, while a leaf can inhabit `QueryTree d` for any remaining budget."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b6969-7122","from_record":false,"lean":true,"lines":[42,44],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree.eval","origin":"ai","part":0,"phrase":"tree-evaluation-code","plain":"Evaluating a proof query tree","record":null,"relation":"defines","role":"definition","rows":[{"end_line":44,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition follows the branch selected by the proof bit at each queried address and returns the decision at the resulting leaf.","fidelity_source":"ai","line":42,"lines":[42,44],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree.eval","note":"","plain":"Evaluating a proof query tree","relation":"defines","annotation":"The address of the next query can depend on the supplied proof bit because `eval` recurses into just the selected subtree. The other subtree contributes no reads on that run."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b7124-7264","from_record":false,"lean":true,"lines":[47,49],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree.addresses","origin":"ai","part":0,"phrase":"tree-addresses-code","plain":"Proof addresses across all branches","record":null,"relation":"defines","role":"definition","rows":[{"end_line":49,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition collects the current query address together with the addresses in both subtrees; a leaf contributes no address.","fidelity_source":"ai","line":47,"lines":[47,49],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree.addresses","note":"","plain":"Proof addresses across all branches","relation":"defines","annotation":"`addresses` takes a union over both continuations, so it may contain addresses that no single execution reads together. This is the set on which `ReadsBelow` can impose a bound uniform in the proof."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b7266-7413","from_record":false,"lean":true,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","origin":"ai","part":0,"phrase":"verifier-code","plain":"Random seeds select proof-query trees","record":null,"relation":"defines","role":"definition","rows":[{"end_line":91,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition specifies a random-bit budget depending on input length, a fixed query bound, and a bounded decision tree for every input and every random string.","fidelity_source":"ai","line":85,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","note":"","plain":"Random seeds select proof-query trees","relation":"defines","annotation":"For each input and seed, `Verifier` includes an abstract tree with a bound on its depth. Computing its steps in polynomial time requires the later implementation and cost conditions."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b7419-7472","from_record":false,"lean":true,"lines":[28,28],"module":"PCP.Verifier.Definition","name":"PCP.ProofOracle","origin":"ai","part":0,"phrase":"proof-oracle-prose","plain":"An infinite string of proof bits","record":null,"relation":"defines","role":"definition","rows":[{"end_line":28,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is an infinite bit sequence $\\pi$ indexed by nonnegative integers; it imposes no computability condition on that sequence.","fidelity_source":"ai","line":28,"lines":[28,28],"module":"PCP.Verifier.Definition","name":"PCP.ProofOracle","note":"","plain":"An infinite string of proof bits","relation":"defines","annotation":"The soundness quantifier ranges over all such sequences, including ones without a computable description. An address bound is why one can nevertheless replace a complete sequence by a finite witness in the converse in Section 5.","annotation_references":[{"start":218,"end":227,"key":"section:5"}]}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b7473-7630","from_record":false,"lean":true,"lines":[33,37],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree","origin":"ai","part":0,"phrase":"query-tree-prose","plain":"Depth-bounded adaptive proof-query trees","record":null,"relation":"part","role":"explanation","rows":[{"end_line":37,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition permits a leaf at any remaining depth and gives every query two successor trees, so the bound is at most $d$ queries, as the passage says.","fidelity_source":"ai","line":33,"lines":[33,37],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree","note":"","plain":"Depth-bounded adaptive proof-query trees","relation":"part","annotation":"The depth index is a bound along a path. A proof can steer the tree to different addresses, so a depth-$d$ tree can contain more than $d$ distinct addresses across its branches."},{"end_line":44,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition implements the stated behavior: read one proof bit at an internal node, follow its branch, and use the decision at a leaf.","fidelity_source":"ai","line":42,"lines":[42,44],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree.eval","note":"","plain":"Evaluating a proof query tree","relation":"part","annotation":"A leaf returns its supplied verdict before any further query. At an internal node the proof is read at the stored address and the returned bit chooses the remainder of the computation, giving the adaptivity in the prose."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b7631-7849","from_record":false,"lean":true,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","origin":"ai","part":0,"phrase":"verifier-prose","plain":"Random seeds select proof-query trees","record":null,"relation":"part","role":"explanation","rows":[{"end_line":91,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition has exactly these three parts: a budget determined by input length, a fixed query bound, and a decision tree for every input and random string.","fidelity_source":"ai","line":85,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","note":"","plain":"Random seeds select proof-query trees","relation":"part","annotation":"The type of the seed depends on $|x|$, while the type of the tree uses a fixed query budget `queries`. A logarithmic bound for the first quantity and polynomial-time computation of the tree’s steps are additional conditions."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b7919-8047","from_record":false,"lean":true,"lines":[98,99],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.acceptingRandomness","origin":"ai","part":0,"phrase":"accepting-randomness-code","plain":"Accepting seeds for a fixed proof","record":null,"relation":"defines","role":"definition","rows":[{"end_line":99,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition selects precisely the random strings for which the verifier accepts the fixed input and proof.","fidelity_source":"ai","line":98,"lines":[98,99],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.acceptingRandomness","note":"","plain":"Accepting seeds for a fixed proof","relation":"defines","annotation":"The filter holds both $x$ and $\\pi$ fixed while varying the seed. Repeating the count for each proof separately is what makes this definition suitable for `SoundAt`."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b8049-8151","from_record":false,"lean":true,"lines":[103,104],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.accProb","origin":"ai","part":0,"phrase":"acceptance-probability-code","plain":"Fraction of seeds yielding acceptance","record":null,"relation":"defines","role":"definition","rows":[{"end_line":104,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition divides the number of accepting random strings by $2^k$, where $k$ is the random-bit budget at the input length.","fidelity_source":"ai","line":103,"lines":[103,104],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.accProb","note":"","plain":"Fraction of seeds yielding acceptance","relation":"defines","annotation":"The cardinality and denominator are cast to rationals, so division gives the exact probability. At budget zero the denominator is still one, since there is one seed, the empty bit string."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b8153-8218","from_record":false,"lean":true,"lines":[131,131],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CompleteAt","origin":"ai","part":0,"phrase":"complete-at-code","plain":"One proof accepted on every seed","record":null,"relation":"defines","role":"definition","rows":[{"end_line":131,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition says that some proof is accepted with probability $1$ at the given input; the proof may depend on that input.","fidelity_source":"ai","line":131,"lines":[131,131],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CompleteAt","note":"","plain":"One proof accepted on every seed","relation":"defines","annotation":"The existential quantifier is outside the probability calculation. A single proof must make the fraction of accepting seeds equal to one, so any rejected seed would violate completeness."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b8220-8294","from_record":false,"lean":true,"lines":[134,134],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.SoundAt","origin":"ai","part":0,"phrase":"sound-at-code","plain":"Acceptance bounds for all proofs","record":null,"relation":"defines","role":"definition","rows":[{"end_line":134,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition requires every proof to have acceptance probability at most $s$ at the given input.","fidelity_source":"ai","line":134,"lines":[134,134],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.SoundAt","note":"","plain":"Acceptance bounds for all proofs","relation":"defines","annotation":"`SoundAt` first fixes a proof and then counts the accepting seeds for that proof. The same upper bound applies to every such choice, including arbitrary oracles with no honest encoding."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b8296-8378","from_record":false,"lean":true,"lines":[118,119],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.ReadsBelow","origin":"ai","part":0,"phrase":"reads-below-code","plain":"Proof-address bound across seeds and branches","record":null,"relation":"defines","role":"definition","rows":[{"end_line":119,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition requires every query address in every branch of every random-string tree to be less than $N$.","fidelity_source":"ai","line":118,"lines":[118,119],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.ReadsBelow","note":"","plain":"Proof-address bound across seeds and branches","relation":"defines","annotation":"The address set includes both possible continuations at every query. Thus $a<N$ constrains all possible answer histories at all seeds, which lets the converse use only the first $N$ bits."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-3","at":"b8380-8484","from_record":false,"lean":true,"lines":[154,155],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CanonicalRandomness","origin":"ai","part":0,"phrase":"canonical-randomness-code","plain":"Exact logarithmic seed length","record":null,"relation":"defines","role":"definition","rows":[{"end_line":155,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition fixes the budget to exactly $a\\lceil\\log_2(n+2)\\rceil+b$ for every input length $n$, using natural-number constants $a$ and $b$.","fidelity_source":"ai","line":154,"lines":[154,155],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CanonicalRandomness","note":"","plain":"Exact logarithmic seed length","relation":"defines","annotation":"The equality pins down `randomness` at every length from the same two constants. The $n+2$ term gives the formula a value at the empty input as well as at positive lengths."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-3","at":"b8492-8579","from_record":false,"lean":true,"lines":[103,104],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.accProb","origin":"ai","part":0,"phrase":"acceptance-probability-prose","plain":"Fraction of seeds yielding acceptance","record":null,"relation":"part","role":"explanation","rows":[{"end_line":104,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is the exact rational fraction of equally likely random strings on which the fixed input and proof are accepted.","fidelity_source":"ai","line":103,"lines":[103,104],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.accProb","note":"","plain":"Fraction of seeds yielding acceptance","relation":"part","annotation":"Because every seed has weight $2^{-k}$, counting accepts and dividing by $2^k$ gives the exact probability used in soundness and completeness. This is a rational inequality or equality over a finite run space."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b8582-8640","from_record":false,"lean":true,"lines":[131,131],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CompleteAt","origin":"ai","part":0,"phrase":"completeness-prose","plain":"One proof accepted on every seed","record":null,"relation":"part","role":"explanation","rows":[{"end_line":131,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition requires the existence of a proof accepted with probability $1$ at this input, exactly as stated.","fidelity_source":"ai","line":131,"lines":[131,131],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CompleteAt","note":"","plain":"One proof accepted on every seed","relation":"part","annotation":"Since every seed has positive mass, probability one requires every tree for the input to accept that same oracle. The oracle can depend on the input."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b8641-8709","from_record":false,"lean":true,"lines":[134,134],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.SoundAt","origin":"ai","part":0,"phrase":"soundness-prose","plain":"Acceptance bounds for all proofs","record":null,"relation":"part","role":"explanation","rows":[{"end_line":134,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition bounds acceptance by $s$ for every proof at this input, exactly as stated.","fidelity_source":"ai","line":134,"lines":[134,134],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.SoundAt","note":"","plain":"Acceptance bounds for all proofs","relation":"part","annotation":"The bound says that even a proof chosen to maximize acceptance at this input can reach at most $s$. In the main theorem the clause is applied to no-inputs with $s=1/2$."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b8712-8876","from_record":false,"lean":true,"lines":[118,119],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.ReadsBelow","origin":"ai","part":0,"phrase":"proof-bound-prose","plain":"Proof-address bound across seeds and branches","record":null,"relation":"part","role":"explanation","rows":[{"end_line":119,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition bounds every address in both branches of every decision tree by $N$, for every random string. It therefore has the stated meaning of a proof prefix of length $N$.","fidelity_source":"ai","line":118,"lines":[118,119],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.ReadsBelow","note":"","plain":"Proof-address bound across seeds and branches","relation":"part","annotation":"Any two oracles that agree below $N$ lead to the same answer at the first query and therefore to the same next query. Repeating this argument down every seed’s tree shows why the whole verdict depends only on that prefix."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-3","at":"b8879-9242","from_record":false,"lean":true,"lines":[154,155],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CanonicalRandomness","origin":"ai","part":0,"phrase":"randomness-budget-prose","plain":"Exact logarithmic seed length","record":null,"relation":"part","role":"explanation","rows":[{"end_line":155,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition fixes exactly $a\\lceil\\log_2(n+2)\\rceil+b$ bits for every $n$. This matches the passage and removes the freedom to choose an arbitrary length-dependent budget below an upper bound.","fidelity_source":"ai","line":154,"lines":[154,155],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CanonicalRandomness","note":"","plain":"Exact logarithmic seed length","relation":"part","annotation":"An arbitrary function taking values zero and one would satisfy a constant upper bound yet could encode an arbitrary predicate of input length. The exact formula removes that dependence and makes the seed space available to the deterministic checker."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-3","at":"b9590-9673","from_record":false,"lean":true,"lines":[24,24],"module":"PCP.Complexity.CostModel","name":"PCP.VerifierAlg","origin":"ai","part":0,"phrase":"verifier-algorithm-code","plain":"Next proof query or verdict","record":null,"relation":"defines","role":"definition","rows":[{"end_line":24,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition takes the input, random bits and previous answers, and returns either an accept-or-reject decision or the next proof address.","fidelity_source":"ai","line":24,"lines":[24,24],"module":"PCP.Complexity.CostModel","name":"PCP.VerifierAlg","note":"","plain":"Next proof query or verdict","relation":"defines","annotation":"The three lists supply all the inputs for one step, including the ordered history of earlier replies. The sum type distinguishes a final verdict from a natural-number address to read next."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b9675-9890","from_record":false,"lean":true,"lines":[62,64],"module":"PCP.Complexity.CostModel","name":"PCP.Verifier.ImplementedBy","origin":"ai","part":0,"phrase":"implementation-code","plain":"Verifier steps reproduce each query tree","record":null,"relation":"defines","role":"definition","rows":[{"end_line":64,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is exactly the quoted equality: unfolding the algorithm with the verifier's query budget gives its decision tree, for every input and random string. A further query after that budget becomes rejection.","fidelity_source":"ai","line":62,"lines":[62,64],"module":"PCP.Complexity.CostModel","name":"PCP.Verifier.ImplementedBy","note":"","plain":"Verifier steps reproduce each query tree","relation":"defines","annotation":"The equality unfolds from an empty history and applies to both branches after every query. At the query cutoff, `QueryTree.ofStep` replaces another request with rejection, so the clause states correspondence for capped execution."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b9892-10042","from_record":false,"lean":true,"lines":[71,73],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeAlg","origin":"ai","part":0,"phrase":"polytime-algorithm-code","plain":"Polynomial time for verifier steps","record":null,"relation":"defines","role":"definition","rows":[{"end_line":73,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition requires a finite multi-stack Turing machine to compute one verifier step in polynomial time in the encoded input, random string and answer history.","fidelity_source":"ai","line":71,"lines":[71,73],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeAlg","note":"","plain":"Polynomial time for verifier steps","relation":"defines","annotation":"`PolyTimeAlg` bounds computation of one response on an encoded triple. The input length in the machine bound includes the seed and answer history, so their resource bounds are used when bounding an entire run."}],"tone":21,"topic":"machine-implementation"},{"anchor":"sec-3","at":"b10048-10171","from_record":false,"lean":true,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","origin":"ai","part":0,"phrase":"efficiency-separate-prose","plain":"Random seeds select proof-query trees","record":null,"relation":"part","role":"explanation","rows":[{"end_line":91,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition specifies a family of bounded decision trees and does not include a running-time requirement, matching the distinction made in the passage.","fidelity_source":"ai","line":85,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","note":"","plain":"Random seeds select proof-query trees","relation":"part","annotation":"The structure lists abstract trees and budgets. Those data alone can describe any family of allowed trees, which is why a separate implementation and cost bound are needed to use it as a polynomial-time verifier."},{"end_line":24,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage distinguishes a verifier from its efficient implementation; this formal definition specifies possible step functions only. A separate polynomial-time condition is needed to certify efficiency.","fidelity_source":"ai","line":24,"lines":[24,24],"module":"PCP.Complexity.CostModel","name":"PCP.VerifierAlg","note":"","plain":"Next proof query or verdict","relation":"part","annotation":"`VerifierAlg` only specifies the next-action function’s inputs and output. Polynomial complexity is a property of a machine computing that function, so it enters through `PolyTimeAlg`."},{"end_line":64,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage refers to certifying efficiency; this formal definition requires the bounded algorithm execution to match the verifier tree. It supplies the behavioral correspondence, while polynomial running time is a separate condition.","fidelity_source":"ai","line":62,"lines":[62,64],"module":"PCP.Complexity.CostModel","name":"PCP.Verifier.ImplementedBy","note":"","plain":"Verifier steps reproduce each query tree","relation":"part","annotation":"`ImplementedBy` links the step function to the abstract verifier on each input and seed. This transfers the acceptance and address guarantees to its bounded executions, with the machine cost supplied independently."},{"end_line":73,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is the separate efficiency condition the passage refers to: some Turing machine computes the algorithm's step function, from the input, the random string and the answers so far, in time polynomial in the encoded length of these inputs.","fidelity_source":"ai","line":71,"lines":[71,73],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeAlg","note":"","plain":"Polynomial time for verifier steps","relation":"part","annotation":"`PolyTimeAlg` bounds the time to compute each next action. A constant query bound then limits how many times the step is evaluated, including the final verdict step."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b10172-10346","from_record":false,"lean":true,"lines":[24,24],"module":"PCP.Complexity.CostModel","name":"PCP.VerifierAlg","origin":"ai","part":0,"phrase":"algorithm-step-prose","plain":"Next proof query or verdict","record":null,"relation":"part","role":"explanation","rows":[{"end_line":24,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition takes exactly the three stated bit strings and returns either a decision or a proof address. Its definition alone places no running-time bound on that operation.","fidelity_source":"ai","line":24,"lines":[24,24],"module":"PCP.Complexity.CostModel","name":"PCP.VerifierAlg","note":"","plain":"Next proof query or verdict","relation":"part","annotation":"One function consumes an answer history, so it can choose a later address using earlier bits. `Bool` returns a verdict directly, while `ℕ` requests a read and extends that history."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b10347-10448","from_record":false,"lean":true,"lines":[62,64],"module":"PCP.Complexity.CostModel","name":"PCP.Verifier.ImplementedBy","origin":"ai","part":0,"phrase":"implementation-prose","plain":"Verifier steps reproduce each query tree","record":null,"relation":"part","role":"explanation","rows":[{"end_line":64,"exact_lines":false,"fidelity":"weaker","fidelity_note":"The passage describes unfolding the algorithm without mentioning a cutoff; the formal definition compares the verifier with unfolding capped at its query bound. A further query is replaced by rejection, so this equality does not assert that unrestricted execution halts within the budget.","fidelity_source":"ai","line":62,"lines":[62,64],"module":"PCP.Complexity.CostModel","name":"PCP.Verifier.ImplementedBy","note":"","plain":"Verifier steps reproduce each query tree","relation":"part","annotation":"The unfolding is capped at `V.queries`. At depth zero a verdict is kept and a further query becomes rejection. The equality therefore matches the whole bounded tree, including its verdicts at the cutoff."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-3","at":"b10449-10527","from_record":false,"lean":true,"lines":[71,73],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeAlg","origin":"ai","part":0,"phrase":"algorithm-time-prose","plain":"Polynomial time for verifier steps","record":null,"relation":"part","role":"explanation","rows":[{"end_line":73,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition requires polynomial time for one step on the encoded input, random string and previous answers. With the fixed query bound in the main theorem, this supplies the stated verifier efficiency.","fidelity_source":"ai","line":71,"lines":[71,73],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeAlg","note":"","plain":"Polynomial time for verifier steps","relation":"part","annotation":"The runtime bound concerns one step on the encoded input, seed and history. In the main theorem in Section 4 the seed length is logarithmic and the history has bounded length, so this yields polynomial time for the full capped run.","annotation_references":[{"start":99,"end":108,"key":"section:4"}]}],"tone":21,"topic":"machine-implementation"},{"anchor":"sec-4","at":"b10755-11206","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"headline-statement","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"states","role":"statement","rows":[{"end_line":34,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal statement is the quoted theorem: each language in the concrete NP class has one polynomial-time verifier with constant queries, exact logarithmic randomness, polynomial proof length, perfect completeness and soundness $1/2$.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"states","annotation":"The existential quantifiers precede every input-dependent clause. They provide one machine algorithm and one set of resource bounds for the language, and `ImplementedBy` transfers the verifier guarantees to that algorithm’s bounded runs."}],"tone":0,"topic":"pcp-characterization"},{"anchor":"sec-4","at":"b11262-11312","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-hypothesis","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"different","fidelity_note":"The quoted fragment gives the input language and its NP-membership hypothesis; the formal theorem assumes these and concludes the existence of the PCP verifier. The fragment is a hypothesis, not the theorem's conclusion.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"`hL` is an argument to the forward theorem. It supplies the witness certificate that is used for the reduction. The verifier with the stated bounds is the conclusion."},{"end_line":43,"exact_lines":false,"fidelity":"same","fidelity_note":"With the concrete machine model shown in the fragment, the formal definition is exactly the NP-membership condition being assumed.","fidelity_source":"ai","line":42,"lines":[42,43],"module":"PCP.Complexity.NP","name":"PCP.InNP","note":"","plain":"NP with model-dependent witness checking","relation":"part","annotation":"Instantiating `InNP` with `Machine.PolyTimeRel` requires an `NPCertificate` whose checker meets this particular machine predicate. The certificate also gives the polynomial witness bound and the equivalence with language membership."},{"end_line":67,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition supplies exactly the machine-based polynomial-time condition selected for the witness checker in this hypothesis.","fidelity_source":"ai","line":66,"lines":[66,67],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeRel","note":"","plain":"Polynomial-time machine for witness checking","relation":"part","annotation":"`Machine.PolyTimeRel` constrains the running time on the encoded pair $(x,w)$. The separate witness-length polynomial in `NPCertificate` controls how large that pair needs to be for a yes-input."}],"tone":1,"topic":"np-witnesses"},{"anchor":"sec-4","at":"b11315-11352","from_record":false,"lean":true,"lines":[15,15],"module":"PCP.Complexity.NP","name":"PCP.Language","origin":"ai","part":0,"phrase":"clause-hypothesis","plain":"Languages over binary strings","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":15,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage assumes a binary language belongs to NP; the formal definition gives the ambient class of all binary languages. NP membership is a separate condition.","fidelity_source":"ai","line":15,"lines":[15,15],"module":"PCP.Complexity.NP","name":"PCP.Language","note":"","plain":"Languages over binary strings","relation":"part","annotation":"Encoding binary strings as `List Bool` lets $L$ be a predicate on all finite strings, including the empty string. Its membership in the concrete NP class is an additional hypothesis."},{"end_line":43,"exact_lines":false,"fidelity":"same","fidelity_note":"In the concrete machine model fixed by the table, the formal definition expresses precisely the assumed membership of the binary language in NP through polynomially bounded accepted witnesses.","fidelity_source":"ai","line":42,"lines":[42,43],"module":"PCP.Complexity.NP","name":"PCP.InNP","note":"","plain":"NP with model-dependent witness checking","relation":"part","annotation":"The assumption gives a single checker and witness bound that work for every input of the language. Individual accepting witnesses can still depend on the input."},{"end_line":67,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage assumes language membership in NP; this formal definition specifies polynomial time for a witness checker. The witness bound and the equivalence defining the language are supplied separately.","fidelity_source":"ai","line":66,"lines":[66,67],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeRel","note":"","plain":"Polynomial-time machine for witness checking","relation":"part","annotation":"The polynomial-time condition applies to the Boolean verification of a supplied witness. The bounded existential quantifier in `NPCertificate` is what relates that pairwise check to membership of a string in $L$."},{"end_line":34,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage states the hypothesis that the language is in NP; the formal theorem assumes that hypothesis and constructs a PCP verifier. It does not prove NP membership for an arbitrary language.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The `hL` argument is necessary to obtain the reduction to three-colourability. The theorem constructs the PCP protocol from the concrete NP certificate, so it assumes the NP claim in the passage."}],"tone":1,"topic":"np-witnesses"},{"anchor":"sec-4","at":"b11357-11433","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-witnesses","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The quoted fragment introduces the verifier, algorithm, constants and polynomial; the formal theorem supplies these witnesses and all the properties listed in the following clauses.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The order places $V$, `alg`, and the budgets outside the clauses that quantify over inputs. The theorem guarantees that all the later clauses hold for this one choice of verifier and implementation."},{"end_line":91,"exact_lines":false,"fidelity":"different","fidelity_note":"The quoted fragment asserts existence of the required verifier; this formal definition specifies a random-bit budget, fixed query bound and family of decision trees. It supplies the meaning of the object rather than the existence claim.","fidelity_source":"ai","line":85,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","note":"","plain":"Random seeds select proof-query trees","relation":"part","annotation":"`Verifier` packages a seed budget, a query depth and the resulting tree family. It is one of the theorem’s existential witnesses, and the subsequent clauses constrain the particular family supplied."},{"end_line":24,"exact_lines":false,"fidelity":"different","fidelity_note":"The quoted fragment asserts existence of the required algorithm; this formal definition specifies a step function from input, randomness and prior answers to a decision or query. The theorem supplies the existence claim.","fidelity_source":"ai","line":24,"lines":[24,24],"module":"PCP.Complexity.CostModel","name":"PCP.VerifierAlg","note":"","plain":"Next proof query or verdict","relation":"part","annotation":"`VerifierAlg` specifies the type of the machine step chosen in the existential. `PolyTimeAlg` then imposes its cost, and `ImplementedBy` relates its repeated steps to the chosen trees."}],"tone":0,"topic":"pcp-characterization"},{"anchor":"sec-4","at":"b11436-11558","from_record":false,"lean":true,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","origin":"ai","part":0,"phrase":"clause-witnesses","plain":"Random seeds select proof-query trees","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":91,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage asserts the existence of a verifier with further guarantees; this formal definition specifies what a verifier consists of. The existence and guarantees come from the main theorem.","fidelity_source":"ai","line":85,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","note":"","plain":"Random seeds select proof-query trees","relation":"part","annotation":"The quantifier chooses one `Verifier`, so the three stored fields specify the protocol across all input lengths at once. The next clauses fix its budgets and its yes- and no-input behavior."},{"end_line":24,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage asserts the existence of an algorithm and common resource bounds; this formal definition specifies the inputs and outputs of a step function. The main theorem supplies the required algorithm.","fidelity_source":"ai","line":24,"lines":[24,24],"module":"PCP.Complexity.CostModel","name":"PCP.VerifierAlg","note":"","plain":"Next proof query or verdict","relation":"part","annotation":"The step algorithm chosen here takes an input on every invocation. The existential outside the input quantifiers ensures the same function computes the next action for all inputs, seeds and histories."},{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The passage introduces witnesses independent of the input; the formal theorem supplies those same witnesses together with polynomial time, the resource bounds, perfect completeness and soundness. Their simultaneous validity is part of its conclusion.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The same polynomial and constants work throughout the language because they are supplied together with $V$ before any occurrence of `∀ x`. A completeness proof can still vary with $x$ because it is quantified inside `CompleteAt`."}],"tone":0,"topic":"pcp-characterization"},{"anchor":"sec-4","at":"b11563-11592","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-algorithm-time","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The quoted fragment gives only the polynomial-time clause; the formal theorem supplies an algorithm satisfying it together with all the other clauses.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The cost clause applies to the very `alg` used in the next conjunct. This matters because a cheap step function would establish no efficiency guarantee for a verifier it does not implement."},{"end_line":73,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is exactly the polynomial-time condition appearing in this clause, measured for a single verifier step on its encoded arguments.","fidelity_source":"ai","line":71,"lines":[71,73],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeAlg","note":"","plain":"Polynomial time for verifier steps","relation":"part","annotation":"`Machine.PolyTimeAlg` bounds computing the step on the encoded input, seed and history, including writing its answer or next address. The query-depth bound is what limits repeated calls to that step."}],"tone":21,"topic":"machine-implementation"},{"anchor":"sec-4","at":"b11595-11633","from_record":false,"lean":true,"lines":[71,73],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeAlg","origin":"ai","part":0,"phrase":"clause-algorithm-time","plain":"Polynomial time for verifier steps","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":73,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition gives the polynomial-time property explained by this table entry: a machine computes one step within a polynomial bound in the encoded input length.","fidelity_source":"ai","line":71,"lines":[71,73],"module":"PCP.Complexity.Machine","name":"PCP.Machine.PolyTimeAlg","note":"","plain":"Polynomial time for verifier steps","relation":"part","annotation":"The machine-level bound applies to one next-action computation. Since the theorem bounds the seed and answer-history lengths, the cost polynomial for the encoded triple also bounds each call in terms of input length."},{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The passage gives the polynomial-time clause; the formal theorem supplies the same algorithm together with its verifier correspondence, resource bounds, perfect completeness and soundness $1/2$.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The theorem chooses `alg` with a polynomial-time computation and a matching bounded tree. Both parts are needed for the resource claim to cover the cost of computing the addresses on each run."}],"tone":21,"topic":"machine-implementation"},{"anchor":"sec-4","at":"b11638-11663","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-implementation","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The quoted fragment requires correspondence between the bounded execution and the verifier; the formal theorem supplies that correspondence together with efficiency, resource bounds, completeness and soundness.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"This conjunct makes the machine-backed step function implement the verifier in the adjacent clauses. It applies at every input and seed, so the probabilistic guarantees for `V` carry over to the capped machine execution."},{"end_line":64,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is exactly the correspondence required here: the execution capped at the query bound equals the verifier tree for every input and random string.","fidelity_source":"ai","line":62,"lines":[62,64],"module":"PCP.Complexity.CostModel","name":"PCP.Verifier.ImplementedBy","note":"","plain":"Verifier steps reproduce each query tree","relation":"part","annotation":"The random index is converted to its fixed-length bit string and unfolding begins with no replies. The equality is between entire bounded trees, including the branches inconsistent with an honest proof."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-4","at":"b11666-11692","from_record":false,"lean":true,"lines":[62,64],"module":"PCP.Complexity.CostModel","name":"PCP.Verifier.ImplementedBy","origin":"ai","part":0,"phrase":"clause-implementation","plain":"Verifier steps reproduce each query tree","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":64,"exact_lines":false,"fidelity":"weaker","fidelity_note":"The passage says that the algorithm computes the verifier exactly; the formal definition requires this only after execution is capped at the query bound. A request beyond the bound is treated as rejection, rather than a further algorithm step.","fidelity_source":"ai","line":62,"lines":[62,64],"module":"PCP.Complexity.CostModel","name":"PCP.Verifier.ImplementedBy","note":"","plain":"Verifier steps reproduce each query tree","relation":"part","annotation":"Exact computation in `ImplementedBy` means equality with the tree unfolded through at most `V.queries` steps that request a bit. If the next action at the cutoff is another request, that node becomes a rejecting leaf."},{"end_line":34,"exact_lines":false,"fidelity":"different","fidelity_note":"The passage describes exact computation without stating the query cutoff; the formal theorem supplies exact correspondence after that cutoff and additional resource and probability guarantees. It does not assert unrestricted execution agrees with the verifier.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"In the theorem, the same `alg` from the polynomial-time clause agrees with `V` after applying `QueryTree.ofStep` at the fixed depth. This is the execution whose verdicts satisfy the theorem’s later probability bounds."}],"tone":22,"topic":"verifier-model"},{"anchor":"sec-4","at":"b11697-11716","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-query-bound","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The quoted fragment names the fixed query bound; the formal theorem supplies a verifier satisfying this and all the remaining time, resource and probability conditions.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The theorem fixes $q$ once and defines the cap by `V.queries = q`. The query count is bounded per run, while the address bound is separately imposed on every reachable node."},{"end_line":91,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition gives each verifier a fixed query bound, which the quoted clause names $q$; every associated decision tree has depth at most that bound.","fidelity_source":"ai","line":85,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","note":"","plain":"Random seeds select proof-query trees","relation":"part","annotation":"The `run` field has result type `QueryTree queries`, so the equality sets the depth index on every returned tree. A leaf before depth $q$ can end the run after fewer reads."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-4","at":"b11719-11748","from_record":false,"lean":true,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","origin":"ai","part":0,"phrase":"clause-query-bound","plain":"Random seeds select proof-query trees","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":91,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition makes the query bound a fixed natural number and assigns a tree with that depth bound to every input and random string. In the table that number is $q$.","fidelity_source":"ai","line":85,"lines":[85,91],"module":"PCP.Verifier.Definition","name":"PCP.Verifier","note":"","plain":"Random seeds select proof-query trees","relation":"part","annotation":"The budget is stored once in the verifier and appears in the result type for every input and seed. It bounds a path even when distinct branches read different addresses."},{"end_line":37,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition bounds the depth of a query tree by $q$ when instantiated at the table's query bound. Leaves may occur earlier, so the phrase “at most” is correct.","fidelity_source":"ai","line":33,"lines":[33,37],"module":"PCP.Verifier.Definition","name":"PCP.QueryTree","note":"","plain":"Depth-bounded adaptive proof-query trees","relation":"part","annotation":"A query constructor decreases the remaining budget by one and a leaf uses no further reads. Consequently every execution takes at most $q$ queries, although the entire tree may branch to many more addresses."},{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The passage gives the constant query bound; the formal theorem supplies that bound for one verifier and also proves polynomial time, logarithmic randomness, polynomial proof length and the completeness and soundness guarantees.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The existentially chosen $q$ is independent of input length, which gives the $O(1)$ query bound. The polynomial address clause is still needed because a one-query tree can name an arbitrarily large position."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-4","at":"b11753-11784","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-randomness","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The quoted fragment gives the randomness condition; the formal theorem supplies its constants and the same verifier satisfying all the remaining clauses.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The constants $a,b$ are supplied before the input clauses. Hence the exact formula determines the random seed type uniformly for the whole verifier, which is used when the converse enumerates seeds."},{"end_line":155,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is exactly the condition in the fragment: for every $n$, the number of random bits equals $a\\lceil\\log_2(n+2)\\rceil+b$.","fidelity_source":"ai","line":154,"lines":[154,155],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CanonicalRandomness","note":"","plain":"Exact logarithmic seed length","relation":"part","annotation":"`CanonicalRandomness` is an equality at every natural-number length. Fixing $a,b$ therefore determines the budget as a function, including the value at length zero."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-4","at":"b11787-11860","from_record":false,"lean":true,"lines":[154,155],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CanonicalRandomness","origin":"ai","part":0,"phrase":"clause-randomness","plain":"Exact logarithmic seed length","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":155,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is exactly the budget $a\\lceil\\log_2(n+2)\\rceil+b$ explained by the table, for every input length $n$.","fidelity_source":"ai","line":154,"lines":[154,155],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CanonicalRandomness","note":"","plain":"Exact logarithmic seed length","relation":"part","annotation":"The budget is fixed at each $n$, even if some runs can ignore part of the seed. The finite seed type still ranges over all bit strings of that length, giving the uniform denominator in `accProb`."},{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The passage gives the randomness formula; the formal theorem supplies its fixed constants together with one verifier satisfying all the other resource, time, completeness and soundness requirements.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The exact formula with fixed natural-number coefficients gives the logarithmic part of the PCP claim. It also bounds the number of possible seeds by a polynomial, the quantity needed for deterministic enumeration in the converse."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-4","at":"b11865-11924","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-proof-bound","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The quoted fragment gives a polynomial proof-address bound for every input; the formal theorem supplies that polynomial and all the other verifier guarantees at once.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The polynomial is chosen once for the language and evaluated at each input’s length. It bounds every reachable address even though the tree can depend on the particular input and seed."},{"end_line":119,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is the address-bound condition used here; taking $N=p(|x|)$ gives the displayed polynomial proof bound, required for every input.","fidelity_source":"ai","line":118,"lines":[118,119],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.ReadsBelow","note":"","plain":"Proof-address bound across seeds and branches","relation":"part","annotation":"`ReadsBelow` requires all nodes at every seed to have address strictly below $p(|x|)$. This makes agreement on those $p(|x|)$ bits sufficient for identical acceptance on every seed."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-4","at":"b11927-11989","from_record":false,"lean":true,"lines":[118,119],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.ReadsBelow","origin":"ai","part":0,"phrase":"clause-proof-bound","plain":"Proof-address bound across seeds and branches","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":119,"exact_lines":false,"fidelity":"same","fidelity_note":"With $N=p(|x|)$, the formal definition says that every address in every branch lies below the stated polynomial bound, exactly the property explained in the table.","fidelity_source":"ai","line":118,"lines":[118,119],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.ReadsBelow","note":"","plain":"Proof-address bound across seeds and branches","relation":"part","annotation":"The address bound uses zero-based indices, so the first $p(|x|)$ bits include every address strictly below that value. No choice of answers can steer a run beyond the prefix."},{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The passage gives the polynomial proof-address bound; the formal theorem supplies one polynomial valid for every input together with all the other verifier guarantees.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The theorem places this bound alongside the constant query limit because they govern different quantities. A short execution may reach a far-off address, so the separate polynomial bound makes the proof prefix a polynomial-size witness."}],"tone":23,"topic":"resource-bounds"},{"anchor":"sec-4","at":"b11994-12043","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-completeness","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The quoted fragment gives perfect completeness; the formal theorem supplies it together with soundness, efficiency and the resource bounds for one verifier.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"`V.CompleteAt x` is required whenever `L x` holds. It chooses a proof for that input while the verifier, algorithm and budgets were already fixed for the language."},{"end_line":131,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is the perfect-completeness property in this fragment: a proof accepted with probability $1$ exists at $x$. The fragment requires it for every member of $L$.","fidelity_source":"ai","line":131,"lines":[131,131],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CompleteAt","note":"","plain":"One proof accepted on every seed","relation":"part","annotation":"`CompleteAt` quantifies over proofs before evaluating their acceptance probabilities. One proof must therefore make all seeds accept, and the theorem requires such a choice for every yes-input."}],"tone":0,"topic":"pcp-characterization"},{"anchor":"sec-4","at":"b12046-12100","from_record":false,"lean":true,"lines":[131,131],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CompleteAt","origin":"ai","part":0,"phrase":"clause-completeness","plain":"One proof accepted on every seed","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":131,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is the property explained in the conclusion: some proof is accepted with probability $1$ at the input. The main theorem requires this property whenever $x\\in L$.","fidelity_source":"ai","line":131,"lines":[131,131],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.CompleteAt","note":"","plain":"One proof accepted on every seed","relation":"part","annotation":"The probability-one statement is equivalent to universal acceptance over the finite uniform seed type. A single rejecting seed on the proposed proof would lower its acceptance probability."},{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The passage gives perfect completeness on members of $L$; the formal theorem supplies it for the same verifier that also has soundness $1/2$, polynomial time and the stated resource bounds.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The completeness clause applies to the same verifier that has the address cap. An accepting oracle for a yes-input can therefore be agreed with on its accessible prefix to obtain a finite accepting witness."}],"tone":0,"topic":"pcp-characterization"},{"anchor":"sec-4","at":"b12105-12158","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"lean-soundness","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The quoted fragment gives soundness on nonmembers; the formal theorem supplies it together with perfect completeness, efficiency and the resource bounds.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"The premise `¬ L x` activates the soundness bound on a particular input. The same verifier that has perfect completeness on yes-inputs must reject at least half its seeds for every proof on that input."},{"end_line":134,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal definition is the soundness condition in the fragment: every proof has acceptance probability at most $1/2$ at each input outside $L$.","fidelity_source":"ai","line":134,"lines":[134,134],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.SoundAt","note":"","plain":"Acceptance bounds for all proofs","relation":"part","annotation":"`SoundAt` has a universal quantifier over proof oracles. Substituting $1/2$ means that after any oracle is fixed, at least half the uniformly drawn seeds reject."}],"tone":0,"topic":"pcp-characterization"},{"anchor":"sec-4","at":"b12161-12226","from_record":false,"lean":true,"lines":[134,134],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.SoundAt","origin":"ai","part":0,"phrase":"clause-soundness","plain":"Acceptance bounds for all proofs","record":"pcp-reading-guide.claim-pcp-theorem","relation":"part","role":"explanation","rows":[{"end_line":134,"exact_lines":false,"fidelity":"same","fidelity_note":"With $s=1/2$, the formal definition is the universal acceptance bound explained in the conclusion. The main theorem requires it whenever $x\\notin L$.","fidelity_source":"ai","line":134,"lines":[134,134],"module":"PCP.Verifier.Definition","name":"PCP.Verifier.SoundAt","note":"","plain":"Acceptance bounds for all proofs","relation":"part","annotation":"This is a bound on acceptance for every individual proof. Neither an honest encoding nor a computable origin for the proof is a premise of `SoundAt`."},{"end_line":34,"exact_lines":false,"fidelity":"stronger","fidelity_note":"The passage bounds every proof's acceptance by $1/2$ on nonmembers; the formal theorem gives this bound together with perfect completeness and all time and resource guarantees for one verifier.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"part","annotation":"A candidate prefix for a no-input can be extended to an arbitrary full oracle and still falls under this clause. It must therefore fail some seed, which is how the converse excludes false witnesses."}],"tone":0,"topic":"pcp-characterization"},{"anchor":"sec-4","at":"b12230-12323","from_record":false,"lean":true,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","origin":"ai","part":0,"phrase":"pcp-summary","plain":"Constant-query verification for NP","record":"pcp-reading-guide.claim-pcp-theorem","relation":"states","role":"statement","rows":[{"end_line":34,"exact_lines":false,"fidelity":"same","fidelity_note":"The formal statement establishes the stated inclusion with perfect completeness and a polynomial-time verifier; it makes the logarithmic budget, fixed query bound, polynomial proof-address bound and soundness $1/2$ explicit.","fidelity_source":"ai","line":25,"lines":[25,33],"module":"PCP.Theorem","name":"PCP.np_subset_pcp","note":"","plain":"Constant-query verification for NP","proof_lines":[34,34],"relation":"states","annotation":"`np_subset_pcp` proves the forward inclusion. Its `ReadsBelow` and implementation clauses make the asymptotic resource statement usable in the concrete machine model. Equality of the classes uses the separate converse in Section 5.","annotation_references":[{"start":221,"end":230,"key":"section:5"}]}],"tone":0,"topic":"pcp-characterization"}],"topics":[{"dark":"oklch(0.601 0.209 15.2)","description":"Polynomial-time verification with logarithmic randomness and a constant number of proof-bit queries characterizes NP.","family":"np-and-pcp","id":"pcp-characterization","light":"oklch(0.406 0.162 15.2)","name":"PCP theorem","part":0,"tone":0},{"dark":"oklch(0.725 0.170 21.5)","description":"A language belongs to NP when membership is witnessed by a polynomial-length string accepted by a polynomial-time checker.","family":"np-and-pcp","id":"np-witnesses","light":"oklch(0.530 0.190 21.5)","name":"NP witness verification","part":0,"tone":1},{"dark":"oklch(0.849 0.082 27.8)","description":"Accepting computations become finite constraints, Boolean clauses and graphs while preserving the existence of a witness.","family":"np-and-pcp","id":"np-reduction","light":"oklch(0.654 0.171 27.8)","name":"Reduction to three-colouring","part":0,"tone":2},{"dark":"oklch(0.521 0.117 64.7)","description":"The Schwartz–Zippel bound limits the fraction of points where a nonzero polynomial vanishes.","family":"polynomials-and-grids","id":"polynomial-distance","light":"oklch(0.326 0.073 64.7)","name":"Polynomial distance","part":0,"tone":3},{"dark":"oklch(0.645 0.138 71.0)","description":"Interpolation represents a table on a grid by a unique polynomial with a degree bound in each variable.","family":"polynomials-and-grids","id":"grid-interpolation","light":"oklch(0.450 0.097 71.0)","name":"Low-degree extension","part":0,"tone":4},{"dark":"oklch(0.769 0.160 77.3)","description":"A polynomial vanishing on a grid admits a decomposition using the coordinate vanishing polynomials and a certificate expressed by two identities.","family":"polynomials-and-grids","id":"vanishing-certificates","light":"oklch(0.574 0.120 77.3)","name":"Vanishing certificates","part":0,"tone":5},{"dark":"oklch(0.566 0.121 107.7)","description":"Vertex values and edge differences satisfy polynomial equations exactly when they define a proper three-colouring.","family":"three-colouring-verifier","id":"colouring-constraints","light":"oklch(0.371 0.080 107.7)","name":"Colouring constraints","part":0,"tone":6},{"dark":"oklch(0.690 0.155 114.0)","description":"Four pairs of points and lines tables supply the answers read by four low-degree tests, two grid tests and a difference check.","family":"three-colouring-verifier","id":"proof-tables-checks","light":"oklch(0.495 0.111 114.0)","name":"Proof tables and checks","part":0,"tone":7},{"dark":"oklch(0.814 0.171 120.3)","description":"An honest colouring passes every check, while sufficiently small rejection forces four nearby polynomials to describe a proper colouring.","family":"three-colouring-verifier","id":"colouring-guarantees","light":"oklch(0.619 0.147 120.3)","name":"Completeness and soundness","part":0,"tone":8},{"dark":"oklch(0.566 0.155 150.2)","description":"Corrected certificate queries test vanishing identities at prescribed points and relate failure on the grid to rejection.","family":"local-correction-and-grid-testing","id":"zero-on-grid-test","light":"oklch(0.371 0.101 150.2)","name":"Zero-on-grid test","part":0,"tone":9},{"dark":"oklch(0.690 0.165 156.5)","description":"Random line queries recover a polynomial value at a prescribed point or bound the probability of accepting a wrong value.","family":"local-correction-and-grid-testing","id":"field-local-correction","light":"oklch(0.495 0.119 156.5)","name":"Local correction over fields","part":0,"tone":10},{"dark":"oklch(0.814 0.171 162.8)","description":"Weighted bit queries and tests of encoded line entries recover a homogeneous observation at a prescribed point, allowing rejection.","family":"local-correction-and-grid-testing","id":"binary-local-correction","light":"oklch(0.619 0.134 162.8)","name":"Local correction on bits","part":0,"tone":11},{"dark":"oklch(0.531 0.090 201.2)","description":"Small rejection gives one polynomial whose encoding is close to the points table on both full and homogeneous labels.","family":"binary-low-degree-testing","id":"binary-low-degree-test","light":"oklch(0.336 0.057 201.2)","name":"Binary low-degree test","part":0,"tone":12},{"dark":"oklch(0.655 0.112 207.5)","description":"A random choice between Hadamard testing and a binary weighted identity tests one encoded line entry for low degree.","family":"binary-low-degree-testing","id":"inner-low-degree-test","light":"oklch(0.460 0.079 207.5)","name":"Inner low-degree test","part":0,"tone":13},{"dark":"oklch(0.779 0.136 213.8)","description":"Writing exponents in a fixed number of base digits replaces a line polynomial by a polynomial of fixed total degree.","family":"binary-low-degree-testing","id":"set-multilinear-encoding","light":"oklch(0.584 0.102 213.8)","name":"Set-multilinear encoding","part":0,"tone":14},{"dark":"oklch(0.571 0.160 249.7)","description":"Agreement with supplied line polynomials at random points yields one nearby polynomial of bounded total degree.","family":"field-low-degree-testing","id":"point-line-test","light":"oklch(0.376 0.105 249.7)","name":"Point-versus-line test","part":0,"tone":15},{"dark":"oklch(0.695 0.162 256.0)","description":"Weighted interpolation at generator powers tests low degree, with plurality correction turning small rejection into polynomial agreement.","family":"field-low-degree-testing","id":"standard-low-degree-test","light":"oklch(0.500 0.170 256.0)","name":"Standard low-degree test","part":0,"tone":16},{"dark":"oklch(0.819 0.090 262.3)","description":"Agreement between low-degree row and column polynomials produces a nearby bivariate polynomial and consistent values at selected crossings.","family":"field-low-degree-testing","id":"bivariate-agreement","light":"oklch(0.624 0.171 262.3)","name":"Bivariate agreement","part":0,"tone":17},{"dark":"oklch(0.526 0.209 286.7)","description":"Polynomial labels turn field values and their polynomial expressions into bits and distinguish full, affine and homogeneous observations.","family":"hadamard-encoding","id":"hadamard-labels","light":"oklch(0.331 0.191 286.7)","name":"Labels and encoding","part":0,"tone":18},{"dark":"oklch(0.650 0.190 293.0)","description":"Linearity, unit, product and affine consistency checks test whether a word is close to the encoding of one field value.","family":"hadamard-encoding","id":"hadamard-testing","light":"oklch(0.455 0.190 293.0)","name":"Hadamard test","part":0,"tone":19},{"dark":"oklch(0.774 0.134 299.3)","description":"Linearity testing finds a nearby linear word, and two randomly shifted queries recover a requested value with controlled error.","family":"hadamard-encoding","id":"linearity-self-correction","light":"oklch(0.579 0.171 299.3)","name":"Linearity and self-correction","part":0,"tone":20},{"dark":"oklch(0.601 0.209 335.7)","description":"A finite multi-stack machine implements the verifier or witness checker with polynomial running time.","family":"verifier-model-and-resources","id":"machine-implementation","light":"oklch(0.406 0.180 335.7)","name":"Polynomial-time implementation","part":0,"tone":21},{"dark":"oklch(0.725 0.190 342.0)","description":"A verifier selects an adaptive query tree from its input and random seed, with explicit acceptance probabilities and proof-address bounds.","family":"verifier-model-and-resources","id":"verifier-model","light":"oklch(0.530 0.190 342.0)","name":"Verifier and query trees","part":0,"tone":22},{"dark":"oklch(0.849 0.099 348.3)","description":"Query counts, fair-bit sampling, proof length and independent repetition give the resource bounds and final soundness error.","family":"verifier-model-and-resources","id":"resource-bounds","light":"oklch(0.654 0.171 348.3)","name":"Queries, randomness and repetition","part":0,"tone":23}]}