Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Polynomial-time extraction of the rational basic-price ratios

Open
LinearChoresCLS.encoded_basic_price_ratios

by Weiqiang · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

Let (P,ε)(P,\varepsilon)(P,ε) be a valid rational source instance of dimension nnn. Let ppp be a rational price vector with at least n+1n+1n+1 entries and positive first entry, and zzz any rational allocation matrix of compatible dimensions. There is a polynomial-time function of the tagged pair of the source word and the price–allocation word that returns the public rational-vector encoding of

(2L(pi/p0−1))i=1n,\left(2^L(p_i/p_0-1)\right)_{i=1}^n,(2L(pi​/p0​−1))i=1n​,

where LLL is the dyadic exponent determined by the source. Correctness concerns the first n+1n+1n+1 price entries and holds without any equilibrium condition.

Preamble
import Definitions.Def_LinearChoresCLS_PriceFamily
import Definitions.Def_LinearChoresCLS_ChoresSearch

Formal statement
namespace LinearChoresCLS

open NetworkEquilibriumCLS.LinearNash in
theorem encoded_basic_price_ratios :
    ∃ g : List (Option (Bool ⊕ Bool)) → List Bool, PolyTime g ∧
      ∀ {n a m : ℕ}, 0 < n → ∀ (P : Quadratic n) (ε : ℚ), 0 < ε →
        ∀ (b : Fin (n+1) → Fin m), (∀ j, (b j).val = j.val) →
        ∀ (p : Fin m → ℚ) (z : Fin a → Fin m → ℚ), 0 < p (b 0) →
        encVector (fun i : Fin n =>
          (1 / ((1/2 : ℚ)^chainLength P ε)) * (p (b i.succ) / p (b 0) - 1)) =
        g (pairCode (encQuadratic P ++ encRat ε) (encCE p z)) := by sorry

end LinearChoresCLS
Source
Liu, Ma, Tao, Yang, and Zheng, Competitive Equilibrium for Linear Chores is CLS-complete, arXiv:2611.06589v1. https://arxiv.org/html/2611.06589v1 Section 7.1, equation (7.3) and Completing the Verification.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me