Documentation

Complexitylib.Metacomplexity.MCSP.AntiChecker.Extraction.Defs

Finite anti-checker extraction -- definitions #

This layer tracks a finite set of machine-facing circuit descriptions that are still consistent with all sampled target values. It is deliberately generic in the initial code set: later enumeration or approximate-counting arguments can supply the candidates and prove that they cover every small typed circuit.

def Complexity.AntiChecker.CodeAgreesAt {arity : } (target : BitString arityBool) (code : List Bool) (input : BitString arity) :

One encoded circuit agrees with the target at one typed input. Malformed or non-evaluating codes do not agree.

Equations
Instances For
    @[instance_reducible]
    instance Complexity.AntiChecker.instDecidableCodeAgreesAt {arity : } (target : BitString arityBool) (code : List Bool) (input : BitString arity) :
    Decidable (CodeAgreesAt target code input)
    Equations
    def Complexity.AntiChecker.ConsistentCode {arity : } (target : BitString arityBool) (inputs : List (BitString arity)) (code : List Bool) :

    A code is consistent with every target-labelled input in the list.

    Equations
    Instances For
      @[instance_reducible]
      instance Complexity.AntiChecker.instDecidableConsistentCode {arity : } (target : BitString arityBool) (inputs : List (BitString arity)) (code : List Bool) :
      Decidable (ConsistentCode target inputs code)
      Equations
      def Complexity.AntiChecker.ConsistentCodes {arity : } (target : BitString arityBool) (inputs : List (BitString arity)) (codes : Finset (List Bool)) :

      Candidate circuit codes surviving every sampled target value.

      Equations
      Instances For
        def Complexity.AntiChecker.CoversThreshold {arity : } [NeZero arity] (threshold : ) (codes : Finset (List Bool)) :

        The finite code set contains the canonical encoding of every typed circuit within the size threshold.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Complexity.AntiChecker.AllFailSomewhere {arity : } (target : BitString arityBool) (codes : Finset (List Bool)) :

          Every candidate code disagrees with the target on some input.

          Equations
          Instances For