Documentation

Complexitylib.Classes.AverageCase.Heuristic.Defs

Errorless average-case heuristics -- definitions #

An errorless heuristic answers yes, answers no, or explicitly fails. It may fail on any input but may never return an incorrect Boolean answer. Average-case complexity bounds the probability of the failure event under a distribution ensemble.

The canonical answer codec uses [] for failure, [false] for rejection, and [true] for acceptance. Consequently, polynomial runtime is stated directly as membership of the encoded answer function in the existing class FP.

The three possible outputs of an errorless heuristic.

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

      An answer is sound for a proposition. Failure is always sound; the other two cases assert the corresponding truth value.

      Equations
      Instances For
        @[reducible, inline]

        A deterministic semantic heuristic before its efficiency and correctness properties are imposed.

        Equations
        Instances For

          Canonical binary output function computed by a heuristic.

          Equations
          Instances For

            A heuristic runs in deterministic polynomial time when its canonical three-answer encoding belongs to FP.

            Equations
            Instances For

              An errorless heuristic never returns an incorrect answer for L.

              Equations
              Instances For

                Complement a heuristic pointwise, swapping acceptance and rejection.

                Equations
                Instances For

                  Turn a total Boolean decision function into a never-failing heuristic.

                  Equations
                  Instances For

                    Exact probability of one answer on one ensemble slice.

                    Equations
                    Instances For

                      Exact failure probability of a heuristic on one ensemble slice.

                      Equations
                      Instances For

                        Pointwise failure-probability bound across every ensemble slice.

                        Equations
                        Instances For

                          Exact mass assigned to a language on one ensemble slice. Classical decidability is confined to this finite semantic enumeration.

                          Equations
                          Instances For

                            A language together with a parameterized input distribution. No complexity or samplability condition is imposed by the structure itself.

                            Instances For

                              Complement the language while retaining exactly the same input ensemble.

                              Equations
                              Instances For

                                Distributional problems admitting a deterministic polynomial-time errorless heuristic with failure bounded by δ on every slice.

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

                                  Total inverse-polynomial failure bound. It agrees with n⁻ᶜ for positive n and assigns the harmless bound one to the zero slice.

                                  Equations
                                  Instances For

                                    Errorless average-case polynomial time: for every inverse-polynomial failure target, a polynomial-time errorless heuristic meets that target.

                                    Equations
                                    Instances For