Documentation

Complexitylib.Metacomplexity.MINCKT.Gap.Difference.SoI.Unconditional.Efficient.Defs

Encoded implementations of the unconditional-estimator reduction #

These contracts expose the algorithmic content hidden by the semantic assumption that an induced estimator language belongs to P. Natural-valued estimates and corrections are represented extensionally by output length. The plan implementation builds the two canonical ordinary MINKT queries, recognizes valid conditional-gap codes, and materializes the correction and threshold as length rulers.

A one-bit flag recording whether the first string is no longer than the second.

Equations
Instances For

    A polynomial-time implementation of an ordinary numerical estimator. Only the output length is semantically relevant, so the implementation may use any bit contents.

    • run : List BoolList Bool

      Run the estimator on a canonical ordinary MINKT code.

    • run_mem_FP : self.run FP

      The estimator implementation is polynomial-time computable.

    • length_run_encode (inst : MINKT.Instance) : (self.run inst.encode).length = estimate inst

      On a canonical input, output length is exactly the numerical estimate.

    Instances For

      Polynomial-time encoded data needed to execute an unconditional two-query plan. Correctness is required only after the source conditional-gap code successfully decodes; validRuler separately recognizes that domain.

      Instances For

        Execute the adjusted-difference threshold test entirely through string functions. The right ruler has length D + correction + threshold; comparison with the joint-estimate ruler is equivalent to J - D - correction ≤ threshold. Truncation by validRuler rejects malformed source codes.

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