Documentation

Complexitylib.Metacomplexity.MCSP.Magnification.AntiChecker.Generator.Defs

Typed Anti-Checker Lemma generators -- definitions #

An Anti-Checker Lemma generator is a multi-output circuit whose input is an n-variable truth table and whose packed output contains exactly the selected number of n-bit sample points. Its semantic contract is universal in the input truth table: whenever the represented function is hard at the large threshold, the printed points anti-check it at the smaller threshold.

def Complexity.GapMCSP.Magnification.AntiCheckerLemma.unpackSample {count arity : } (output : BitString (count * arity)) (sample : Fin count) :
BitString arity

Read one fixed-width sample from a row-major packed bit string.

Equations
Instances For

    Split a packed output into its ordered list of fixed-width samples.

    Equations
    Instances For

      Canonical little-endian truth-table input expected by the generator.

      Equations
      Instances For

        The target has no circuit at the large threshold.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          A typed multi-output circuit with the exact input width, output width, and rounded size bound from the Anti-Checker Lemma.

          Instances For
            def Complexity.GapMCSP.Magnification.AntiCheckerLemma.Generator.inputs {overhead arity : } {beta : PositiveRationalScale} [NeZero arity] (generator : Generator overhead beta arity) (table : BitString (2 ^ arity)) :
            List (BitString arity)

            Run the generator on a packed truth table and unpack its sample inputs.

            Equations
            Instances For
              def Complexity.GapMCSP.Magnification.AntiCheckerLemma.Generator.inputsFor {overhead arity : } {beta : PositiveRationalScale} [NeZero arity] (generator : Generator overhead beta arity) (target : BitString arityBool) :
              List (BitString arity)

              Run the generator on the canonical truth table of a target function.

              Equations
              Instances For
                def Complexity.GapMCSP.Magnification.AntiCheckerLemma.Generator.IsCorrect {overhead arity : } {beta : PositiveRationalScale} [NeZero arity] (generator : Generator overhead beta arity) :

                The generator prints an anti-checker for every target hard at the large threshold.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  A total arity-indexed assertion that handles the circuit model's positive input and output arity requirements explicitly.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Quantifier structure of the Anti-Checker Lemma's conclusion: one natural overhead constant works for every sufficiently small positive beta and all sufficiently large truth-table arities.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For