Good-string combinatorics -- definitions #
The good-string argument studies tuples drawn from the circuit descriptions surviving a sample prefix. An input catches a tuple when at least half of its entries disagree with the target there.
Circuit codes surviving the canonical sample prefix, regarded as a finite type.
Equations
- Complexity.AntiChecker.SurvivorCode target threshold inputs = Complexity.AntiChecker.ConsistentCodes target inputs (Complexity.AntiChecker.candidateCodes arity threshold)
Instances For
The Boolean output of a surviving circuit code on one input. The default branch is unreachable for survivor codes: candidate membership guarantees a canonical well-formed circuit at the declared arity.
Equations
- Complexity.AntiChecker.survivorCodeOutput target threshold inputs code input = (Complexity.CircuitCode.evalCode arity (↑code) input.toList).getD false
Instances For
A survivor tuple computes the target by taking the strict majority of its pointwise circuit outputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Current survivors that disagree with the target at one possible next input.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Number of positions in a survivor tuple whose circuits agree with the target at one input.
Equations
- Complexity.AntiChecker.survivorTupleAgreementCount target threshold inputs input tuple = {i : Fin arity | Complexity.AntiChecker.CodeAgreesAt target (↑(tuple i)) input}.card
Instances For
An input catches a survivor tuple when at least the ceiling of half of its entries disagree with the target.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Complexity.AntiChecker.instDecidableIsSurvivorTupleCaughtAt target threshold inputs input tuple = id inferInstance
Survivor tuples caught by one possible next input.
Equations
- Complexity.AntiChecker.caughtSurvivorTuples target threshold inputs input = Finset.filter (Complexity.AntiChecker.IsSurvivorTupleCaughtAt target threshold inputs input) Finset.univ
Instances For
Every survivor tuple is caught by some input. Circuit hardness will supply this premise by ruling out a majority circuit for the tuple.
Equations
- One or more equations did not get rendered due to their size.