Documentation

Complexitylib.Metacomplexity.Kolmogorov.Defs

Machine-relative Kolmogorov complexity #

This definitions layer introduces plain and time-bounded description complexity for every deterministic machine. Universality is deliberately not a precondition: it is relevant to invariance and upper bounds, not to the minimum itself. Extended naturals distinguish a genuine zero-length description from the absence of any description.

Prefix-free complexity is restricted to a machine carrying a proof that its halting domain is prefix-free. The library's ordinary input convention does not provide that property automatically.

Main definitions #

def Complexity.TM.producingProgramSizes {n : } (machine : TM n) (output : List Bool) :

Lengths of programs on which machine eventually produces output.

Equations
Instances For
    def Complexity.TM.timeBoundedProducingProgramSizes {n : } (machine : TM n) (output : List Bool) (time : ) :

    Lengths of programs on which machine produces output within time.

    Equations
    Instances For
      noncomputable def Complexity.TM.plainKolmogorovComplexity {n : } (machine : TM n) (output : List Bool) :

      Plain machine-relative Kolmogorov complexity. The value is exactly when no program makes machine produce output.

      Equations
      Instances For
        noncomputable def Complexity.TM.timeBoundedKolmogorovComplexity {n : } (machine : TM n) (output : List Bool) (time : ) :

        Whole-output time-bounded machine-relative Kolmogorov complexity. The primitive clock is explicit, and the value is if no program produces the output within it.

        Equations
        Instances For
          def Complexity.TM.HasPrefixFreeDomain {n : } (machine : TM n) :

          The raw halting domain of machine is prefix-free: two halting programs related by the list-prefix order must be equal.

          Equations
          Instances For

            A deterministic machine bundled with a proof that its halting domain is prefix-free. This certificate is what licenses K_U terminology.

            Instances For
              noncomputable def Complexity.TM.prefixKolmogorovComplexity {n : } (machine : PrefixFreeMachine n) (output : List Bool) :

              Prefix-free Kolmogorov complexity for a certified prefix-free machine.

              Equations
              Instances For