Assembly of the directed certificate from its matching gain #
This module isolates the remaining combinatorial and exponential-size obligations. Given a finite-word machine for the fixed greedy matching gain, it forms the complete rational certificate logarithm. Given in addition a unary exponential guard, it returns the final canonical raw rational entry. All composition and rational-format conversions are explicit.
The source matrix word retained by the certificate interface.
Equations
Instances For
The optimizer-output word consumed by the arithmetic subroutines.
Equations
Instances For
Assemble the raw-rational logarithmic certificate from the row and column potentials, directed nearby-coordinate sum, structural gain, and subtracted KKT penalty.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Add the supplied gain machine's raw-rational output to the nearby-certificate sum.
Equations
- BeyondBethe.machineCertificateLogBeforePenaltyRawCode gainMachine word = BeyondBethe.machineRawRatAddCode (Complexity.pair (BeyondBethe.machineCertificateNearbyRawCode word) (gainMachine word))
Instances For
Canonical raw-entry encoding of the complete certificate logarithm.
Equations
- BeyondBethe.machineCertificateLogRawCode gainMachine word = BeyondBethe.machineNormalizeRawRatEntryCode (BeyondBethe.machineCertificateLogUnnormalizedRawCode gainMachine word)
Instances For
Package the exponentiation guard, normalized logarithmic certificate, and optimizer-derived exponential loss.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The optimizer-dependent magnitude statement still needed by the guarded exponential. It is separated from machine composition so that no universal claim about arbitrary rational potentials is hidden in the evaluator.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The guarded exponential needs to fit only on the positive normalized matrices on which the certificate theorem and the outer algorithm use it.
Equations
- One or more equations did not get rendered due to their size.