Documentation

LeanPool.BeyondBethe.BeyondBethe.MachineOptimizerCertificateBoundary

The finite-word interface between optimization and certification #

The normalized positive routine has two logically distinct executable parts: the regularized-Bethe optimizer returns a rational matrix and two rational potential vectors, and the certificate evaluator consumes exactly those three objects. This file fixes their finite-word interface and proves that polynomial-time machines realizing the two parts compose to a raw-output machine for explicitNormalizedCertificateAlgorithm.

There is deliberately no decoder or noncomputable choice in this interface. Every well-formed optimizer output is a right-nested word built from the already fixed matrix and rational-entry encodings.

The exact optimizer output used by the paper in dimensions at least two.

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

    A raw string function realizes the optimizer on every canonical input of dimension at least two.

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

      A raw string function realizes the directed certificate evaluator on the canonical words actually emitted by the fixed optimizer. Its input retains the original normalized matrix word as the first component and the optimizer output as the second. This source guard is necessary: optimizer potentials of numerical size W can have only O(log W) encoded bits, while the final exponential output can require Theta(W) bits.

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

        The certificate evaluator is used only on positive matrices whose entries are at most one. These are exactly the normalized matrices supplied by the positive routine. Requiring correctness outside this domain would impose an irrelevant numerical-magnitude claim on the totalized optimizer.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def BeyondBethe.machineNormalizedCertificateFromParts (optimizerMachine certificateMachine : List Bool → List Bool) (word : List Bool) :

          Compose optimizer and certificate machines, retaining the exact zero branches in dimensions zero and one.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem BeyondBethe.machineNormalizedCertificateFromParts_mem_FP {optimizerMachine certificateMachine : List Bool → List Bool} (hoptimizer : optimizerMachine ∈ Complexity.FP) (hcertificate : certificateMachine ∈ Complexity.FP) :
            machineNormalizedCertificateFromParts optimizerMachine certificateMachine ∈ Complexity.FP
            theorem BeyondBethe.machineNormalizedCertificateFromParts_realizes {optimizerMachine certificateMachine : List Bool → List Bool} (hoptimizer : LargeOptimizerStringRealizes optimizerMachine) (hcertificate : CertificateEvaluatorStringRealizes certificateMachine) :
            theorem BeyondBethe.normalizedCertificate_rawMachine_of_parts {optimizerMachine certificateMachine : List Bool → List Bool} (hoptimizerFP : optimizerMachine ∈ Complexity.FP) (hoptimizer : LargeOptimizerStringRealizes optimizerMachine) (hcertificateFP : certificateMachine ∈ Complexity.FP) (hcertificate : CertificateEvaluatorStringRealizes certificateMachine) :