Polynomial-time encoding of the Nash social welfare reduction instance
ProvedNSWApxHard.Reduction.reduction_encode_polyTimeLet and be fixed natural numbers with , and define the rational parameter
so that . Given a 3-regular graph input on vertices, set . In Lee's reduction (Section 2, p. 2), the reduced Nash social welfare instance has agents (the vertices and edges of ) and items ( vertex items and edge-endpoint items), with rational utilities taking values in .
Scaling all utilities by the common integer factor yields integer utilities
and scaling the target welfare threshold by raises its -th power (where ) to the exact positive integer product threshold
There exist a reduction map and a polynomial-time computable bit-list transducer such that for every valid 3-regular graph input with , , , and the agents and items of are in bijection with and with the scaled integer utilities above.
import Mathlib import Definitions.Def_SetCoverThreshold_SetCover_Complexity import Definitions.Def_NSWApxHard_Reduction_Welfare import Definitions.Def_NSWApxHard_Reduction_CubicVC import Definitions.Def_NSWApxHard_Reduction_Instance
namespace NSWApxHard.Reduction
/-- Lee, §2, p. 2: for fixed integer parameters `m₀ ≥ 1` and `a < b` with `b > 0`, the reduction
from a 3-regular graph input `I = (N, G)` with `k = ⌊a N / b⌋` to an integer-utility Nash social
welfare instance `P I` (obtained by scaling the rational utilities `redUtil I.G k α'` with
`α' = (m₀ + 2) / (3m₀ + 3)` by the common denominator `(3m₀ + 3)(4m₀ + 5)` and setting the
product threshold `T = (3m₀ + 3)^{4N - 3k} (4m₀ + 5)^{N + 3k}`) is computable in polynomial time
with respect to the canonical encodings `encGraph` and `encNSW`. -/
theorem reduction_encode_polyTime (m₀ a b : ℕ) (hm₀ : 1 ≤ m₀) (hb : 0 < b) (hab : a < b) :
∃ (P : GraphInput → NSWInput) (g : List Bool → List Bool),
CookPvsNP.PolyTimeComputable g ∧
∀ (I : GraphInput) [DecidableRel I.G.Adj], 0 < I.N → IsCubic I.G →
let k := (a * I.N) / b
encNSW (P I) = g (encGraph I) ∧
(P I).T = (3 * m₀ + 3) ^ (4 * I.N - 3 * k) * (4 * m₀ + 5) ^ (I.N + 3 * k) ∧
∃ (eA : Fin (P I).n ≃ Agent I.G) (eB : Fin (P I).m ≃ Item I.G k),
∀ (ag : Fin (P I).n) (it : Fin (P I).m),
((P I).u ag it : ℝ) =
((3 * (m₀ : ℝ) + 3) * (4 * (m₀ : ℝ) + 5)) *
redUtil I.G k (((m₀ : ℝ) + 2) / (3 * (m₀ : ℝ) + 3)) (eA ag) (eB it) := by sorry
end NSWApxHard.Reduction