BipartiteMediatorPricing
Abstract
Actual complete-mediator pricing is reduced to a checked minimum cut, and the same certificate closes the full outcome-marginal master problem.
Mediator is an arbitrary finite type with decidable equality. coupling is the existing normalized rational law on Mediator times Mediator. color and table map Mediator to Bool; multiplier and probability map Mediator to Q; law and candidate are existing FiniteResponseLaw values on complete Boolean tables. certificate is the existing STCutCertificate. All formula quantifiers carry these types; finite sums cover every indicated carrier. The selected graph condition concerns the off-diagonal support of coupling.
Definition 1.1 (Color the actual off-diagonal support).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.OffDiagonalBipartite (✓ std3).
Source. Repository-derived.
Commentary.
The graph is the cross-world mediator coupling support, not the causal DAG. Diagonal mass is allowed.
Definition 1.2 (A bijective color-class flip).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.flipTable (✓ std3).
Source. Repository-derived.
Commentary.
Each complete table remains an actual response table after the deterministic flip.
Theorem 1.3 (Recover every original column).
Proof. Machine-checked in Lean as D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.flipTable_involutive (✓ std3). ∎
Source. Repository-derived.
Commentary.
The involution ensures the cut optimization covers all original columns.
Definition 1.4 (Remove harmless loop mass).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.offDiagonalMass (✓ std3).
Source. Repository-derived.
Commentary.
Loops never generate benefit and must not be included in the constant cut offset.
Definition 1.5 (Retain the full vertex field).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingField (✓ std3).
Source. Repository-derived.
Commentary.
This is the actual field in the previously proved pricing identity, with no stationarity assumption.
Definition 1.6 (Signed field after the flip).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.switchedField (✓ std3).
Source. Repository-derived.
Commentary.
The color class changes the sign of its vertex field.
Definition 1.7 (Nonnegative internal capacities).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingCapacity (✓ std3).
Source. Repository-derived.
Commentary.
Both directions are retained. Each actual cut counts only the direction crossing from true to false.
Definition 1.8 (Source terminal capacity).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingSourceCapacity (✓ std3).
Source. Repository-derived.
Commentary.
The positive switched field penalizes placement on the sink side.
Definition 1.9 (Sink terminal capacity).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingSinkCapacity (✓ std3).
Source. Repository-derived.
Commentary.
The negative switched field penalizes placement on the source side.
Definition 1.10 (All additive constants).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingOffset (✓ std3).
Source. Repository-derived.
Commentary.
Retaining these constants is essential to compute the original reduced cost, including its factor of two.
Theorem 1.11 (Original pricing equals offset minus cut).
Proof. Machine-checked in Lean as D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricing_cut_identity (✓ std3). ∎
Source. Repository-derived.
Commentary.
The equality holds on every complete table. It retains asymmetric mediator masses, arbitrary dual multipliers and loop handling.
Definition 1.12 (Check the graph contract and optimal flow).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.checkBipartitePricing (✓ std3).
Source. Repository-derived.
Commentary.
Both tests are on the actual input; a claimed bipartite shape or solver optimality status is insufficient.
Definition 1.13 (Return to the original scale).
Formalization. D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.certifiedPricingValue (✓ std3).
Source. Repository-derived.
Commentary.
The value is recomputed from the checked flow and the original coefficient offset.
Theorem 1.14 (A real column and a global maximum).
Proof. Machine-checked in Lean as D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.checked_pricing_isGreatest (✓ std3). ∎
Source. Repository-derived.
Commentary.
The flipped cut realizes the global price bound. The conclusion covers every Boolean column, without enumerating them in the checker.
Theorem 1.15 (Exact stopping criterion).
Proof. Machine-checked in Lean as D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.checked_no_improving_column_iff (✓ std3). ∎
Source. Repository-derived.
Commentary.
This is the full no-positive-reduced-cost condition, not a test only on already generated columns.
Theorem 1.16 (Rejoin the original causal objective).
Proof. Machine-checked in Lean as D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.completeMediatorBenefit_eq_pricing_expectation (✓ std3). ∎
Source. Repository-derived.
Commentary.
This expectation identity holds on any fixed coupling, with no bipartite or fair-marginal premise.
Theorem 1.17 (Bound every canonical outcome law).
Proof. Machine-checked in Lean as D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricing_bound_implies_causal_bound (✓ std3). ∎
Source. Repository-derived.
Commentary.
Normalization and the original marginal rows transport the global column bound to a causal upper bound.
Theorem 1.18 (Certify the full sharp endpoint).
Proof. Machine-checked in Lean as D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.checked_restricted_master_isGreatest (✓ std3). ∎
Source. Repository-derived.
Commentary.
A feasible restricted-master candidate with exact primal/dual equality becomes an attaining law for the full canonical problem when the global pricing check passes. The mediator coupling is fixed throughout.
References
- Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.OffDiagonalBipartite - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.certifiedPricingValue - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.checkBipartitePricing - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.checked_no_improving_column_iff - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.checked_pricing_isGreatest - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.checked_restricted_master_isGreatest - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.completeMediatorBenefit_eq_pricing_expectation - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.flipTable - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.flipTable_involutive - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.offDiagonalMass - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingCapacity - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingField - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingOffset - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingSinkCapacity - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricingSourceCapacity - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricing_bound_implies_causal_bound - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.pricing_cut_identity - Truth anchor:
D5/S3/ConceptDynamics/CausalMoments/BipartiteMediatorPricing.switchedField - Dependency: D5/S0/Certificates/RationalSTCutCertificate
- Dependency: D5/S3/ConceptDynamics/CausalMoments/CompleteMediatorCutSharpBounds