AFTD Auto-Formalizing Theoretical Domains

MechanismWithTransfers.toQuasiLinearGame

defimported Lean

The standard quasi-linear specialization of toStrategicGame.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {I : Type*} [DecidableEq I] {T : I → Type*} {A P V U : Type*} in
variable (M : MechanismWithTransfers I T A P) in
def MechanismWithTransfers.toQuasiLinearGame [Sub U]
    (val : A → (∀ i, T i) → I → V)
    (valueToUtility : V → U) (paymentToUtility : P → U)
    (trueTypes : ∀ i, T i) : EconCSLib.StrategicGame I U
Defined in
EconCSLib, `MechanismWithTransfers.toQuasiLinearGame`
Lean proof
By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at 1a88f809b538 (Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.
What was changed in MechanismWithTransfers.toQuasiLinearGame
--- EconCSLib/MechanismDesign/Auction/Transfer.lean:128 (MechanismWithTransfers.toQuasiLinearGame)
+++ as compiled here
@@ -1,6 +1,9 @@
-/-- The standard quasi-linear specialization of `toStrategicGame`. -/
-def toQuasiLinearGame [Sub U]
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+variable {I : Type*} [DecidableEq I] {T : I → Type*} {A P V U : Type*} in
+variable (M : MechanismWithTransfers I T A P) in
+def MechanismWithTransfers.toQuasiLinearGame [Sub U]
     (val : A → (∀ i, T i) → I → V)
     (valueToUtility : V → U) (paymentToUtility : P → U)
-    (trueTypes : ∀ i, T i) : StrategicGame I U :=
+    (trueTypes : ∀ i, T i) : EconCSLib.StrategicGame I U :=
   M.toStrategicGame
Verified
08 Oct 2026
Axioms
none listed
Built on 3
  • MechanismWithTransfers.toStrategicGameThe strategic game induced by a transfer mechanism and an external utility rule. Utility is supplied as a function of: - allocation -…
  • MechanismWithTransfersA mechanism with monetary transfers. - I — agents - T — report/type space of each agent - A — allocation space - P — payment space…
  • EconCSLib.StrategicGameA strategic game (normal-form game) with players N and utilities in U. The structure records only the bare data: strategy spaces and a…

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {I : Type*} [DecidableEq I] {T : I → Type*} {A P V U : Type*} in
variable (M : MechanismWithTransfers I T A P) in
/-- The standard quasi-linear specialization of `toStrategicGame`. -/
def MechanismWithTransfers.toQuasiLinearGame [Sub U]
    (val : A → (∀ i, T i) → I → V)
    (valueToUtility : V → U) (paymentToUtility : P → U)
    (trueTypes : ∀ i, T i) : EconCSLib.StrategicGame I U :=
  M.toStrategicGame
    (fun a pay types i => valueToUtility (val a types i) - paymentToUtility (pay i))
    trueTypes
See it in the graphDiscuss this resultChallenge it