KnapsackAuction.supportedOn_nil_iff
theoremverifiedformalizationimported Lean
KnapsackAuction.supportedOn_nil_iff
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open scoped BigOperators in variable {I : Type*} [Fintype I] [DecidableEq I] in omit [Fintype I] [DecidableEq I] in lemma KnapsackAuction.supportedOn_nil_iff {x : BinaryAllocation I} : supportedOn ([] : List I) x ↔ x = fun _ => false
- Formalizes
- EconCSLib, `KnapsackAuction.supportedOn_nil_iff`
- 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.KnapsackAuction.supportedOn_nil_iff← KnapsackAuction.supportedOn_nil_iff (EconCSLib/MechanismDesign/Auction/Knapsack.lean:445): verbatim
- Verified
- 08 Oct 2026
- Axioms
Quot.soundpropext- Built on 3
- KnapsackAuction.supportedOnAn allocation is supported on a list of agents if every selected agent appears in that list.
- KnapsackAuction.eq_false_of_supportedOn_of_not_memKnapsackAuction.eq_false_of_supportedOn_of_not_mem
- KnapsackAuction.BinaryAllocationA discrete knapsack allocation profile: each agent is either selected or not.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen scoped BigOperators invariable {I : Type*} [Fintype I] [DecidableEq I] inomit [Fintype I] [DecidableEq I] inlemma KnapsackAuction.supportedOn_nil_iff {x : BinaryAllocation I} : supportedOn ([] : List I) x ↔ x = fun _ => false := by constructor · intro hsupp funext i exact eq_false_of_supportedOn_of_not_mem hsupp (by simp) · intro hx i hi simp [hx] at hi