Documentation

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

Circuit-level anti-checker selection rounds -- definitions #

A selection round receives the target truth table followed by an already selected prefix of labeled samples. For each fixed candidate input, a circuit hardwires that input, reads its label from the truth table, evaluates the appropriate approximate counter on the extended prefix, and carries the labeled candidate beside the resulting counter key.

Input width for one circuit-level selection round: the truth table followed by a row-major packed prefix of labeled samples.

Equations
Instances For
    def Complexity.GapMCSP.Magnification.AntiCheckerLemma.selectionRoundInput {arity prefixLength : } (table : BitString (2 ^ arity)) (packedPrefix : BitString (prefixLength * (arity + 1))) :
    BitString (selectionRoundInputWidth arity prefixLength)

    Canonical input to one circuit-level selection round.

    Equations
    Instances For
      def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateSample {arity : } (candidate : Fin (2 ^ arity)) (table : BitString (2 ^ arity)) :

      The labeled sample represented by one fixed candidate and the candidate's truth-table bit.

      Equations
      Instances For
        def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateLabeledSamples {arity prefixLength : } (candidate : Fin (2 ^ arity)) (table : BitString (2 ^ arity)) (packedPrefix : BitString (prefixLength * (arity + 1))) :
        Fin (prefixLength + 1)SuccinctMCSP.Sample arity

        Counter input obtained by prepending one fixed candidate to the previously selected labeled prefix.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateSampleBits {arity : } (candidate : Fin (2 ^ arity)) (table : BitString (2 ^ arity)) :
          BitString (arity + 1)

          Fixed-width payload carrying a candidate input followed by its target label.

          Equations
          Instances For
            def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateCounterSources (arity prefixLength : ) (candidate : Fin (2 ^ arity)) :
            Fin ((prefixLength + 1) * (arity + 1))Circuit.InputSource (selectionRoundInputWidth arity prefixLength)

            Mixed constants and live inputs supplying the counter for one fixed candidate.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateSampleSources (arity prefixLength : ) (candidate : Fin (2 ^ arity)) :
              Fin (arity + 1)Circuit.InputSource (selectionRoundInputWidth arity prefixLength)

              Mixed constants and one live truth-table bit carrying the labeled candidate as a selector payload.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateCounterInputCircuit (arity prefixLength : ) (candidate : Fin (2 ^ arity)) :
                Circuit Basis.andOr2 (selectionRoundInputWidth arity prefixLength) ((prefixLength + 1) * (arity + 1)) 0

                Materialize the labeled extended prefix expected by one counter circuit.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateSampleCircuit (arity prefixLength : ) (candidate : Fin (2 ^ arity)) :
                  Circuit Basis.andOr2 (selectionRoundInputWidth arity prefixLength) (arity + 1) 0

                  Materialize the labeled candidate payload.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateCounterRecordCircuit {overhead arity prefixLength : } {beta : PositiveRationalScale} (counter : ApproximateCounterCircuit overhead beta arity prefixLength) (candidate : Fin (2 ^ arity)) :
                    (internalGates : ) × Circuit Basis.andOr2 (selectionRoundInputWidth arity prefixLength) (counterOutputWidth beta arity + (arity + 1)) internalGates

                    Evaluate one approximate counter on a fixed candidate and carry the candidate's labeled sample beside the counter output.

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

                      Number of comparisons needed to select among all 2^arity candidates.

                      Equations
                      Instances For

                        Reindex the tournament's count + 1 records by all truth-table inputs.

                        Equations
                        Instances For
                          def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateCounterKey {overhead arity prefixLength : } {beta : PositiveRationalScale} (counter : ApproximateCounterCircuit overhead beta arity prefixLength) (candidate : Fin (2 ^ arity)) (table : BitString (2 ^ arity)) (packedPrefix : BitString (prefixLength * (arity + 1))) :

                          Counter-output key associated with one fixed candidate.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            def Complexity.GapMCSP.Magnification.AntiCheckerLemma.counterRoundEstimate {overhead arity prefixLength : } {beta : PositiveRationalScale} (counter : ApproximateCounterCircuit overhead beta arity prefixLength) (table : BitString (2 ^ arity)) (packedPrefix : BitString (prefixLength * (arity + 1))) (input : BitString arity) :

                            Natural extension estimate computed by the counter for an arbitrary candidate input.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateCounterRecordFamily {overhead arity prefixLength : } {beta : PositiveRationalScale} (counter : ApproximateCounterCircuit overhead beta arity prefixLength) :
                              Fin (selectionCandidateCount arity + 1)(internalGates : ) × Circuit Basis.andOr2 (selectionRoundInputWidth arity prefixLength) (counterOutputWidth beta arity + (arity + 1)) internalGates

                              All fixed-candidate key-payload circuits, reindexed for the recursive tournament layout.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                def Complexity.GapMCSP.Magnification.AntiCheckerLemma.candidateCounterKeys {overhead arity prefixLength : } {beta : PositiveRationalScale} (counter : ApproximateCounterCircuit overhead beta arity prefixLength) (table : BitString (2 ^ arity)) (packedPrefix : BitString (prefixLength * (arity + 1))) :

                                Semantic counter keys in tournament record order.

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

                                  Semantic labeled-candidate payloads in tournament record order.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    noncomputable def Complexity.GapMCSP.Magnification.AntiCheckerLemma.packedCandidateCounterRecords {overhead arity prefixLength : } {beta : PositiveRationalScale} (counter : ApproximateCounterCircuit overhead beta arity prefixLength) :
                                    (internalGates : ) × Circuit Basis.andOr2 (selectionRoundInputWidth arity prefixLength) (BitString.keyedTournamentInputWidth (selectionCandidateCount arity) (counterOutputWidth beta arity + (arity + 1))) internalGates

                                    Pack every fixed-candidate counter record in the exact recursive layout consumed by the minimum tournament.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      def Complexity.GapMCSP.Magnification.AntiCheckerLemma.minimumCounterRecord {overhead arity prefixLength : } {beta : PositiveRationalScale} (counter : ApproximateCounterCircuit overhead beta arity prefixLength) (table : BitString (2 ^ arity)) (packedPrefix : BitString (prefixLength * (arity + 1))) :
                                      BitString (counterOutputWidth beta arity) × BitString (arity + 1)

                                      Semantic winner of exhaustive counter-key minimization.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        noncomputable def Complexity.GapMCSP.Magnification.AntiCheckerLemma.minimumCounterRecordCircuit {overhead arity prefixLength : } {beta : PositiveRationalScale} (counter : ApproximateCounterCircuit overhead beta arity prefixLength) :
                                        (internalGates : ) × Circuit Basis.andOr2 (selectionRoundInputWidth arity prefixLength) (counterOutputWidth beta arity + (arity + 1)) internalGates

                                        Exhaustive selector returning a minimum counter key and its labeled candidate payload.

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