AFTD Auto-Formalizing Theoretical Domains

IndexedLOrder.sigma_nonempty_of_room

theoremverifiedformalizationimported Lean

IndexedLOrder.sigma_nonempty_of_room

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open IndexedLOrder in
open Classical in
variable {T : Type*} [Inhabited T] in
variable {I : Type*} in
variable [IST : IndexedLOrder I T] in
set_option quotPrecheck false in
variable (σ : Finset T) (C : Finset I) in
lemma IndexedLOrder.sigma_nonempty_of_room {σ : Finset T} {C : Finset I} (h : isRoom σ C) : σ.Nonempty
Formalizes
EconCSLib, `IndexedLOrder.sigma_nonempty_of_room`
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.
Verified
08 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 5

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen IndexedLOrder inopen Classical invariable {T : Type*} [Inhabited T] invariable {I : Type*} invariable [IST : IndexedLOrder I T] inset_option quotPrecheck false invariable (σ : Finset T) (C : Finset I) inlemma IndexedLOrder.sigma_nonempty_of_room {σ : Finset T} {C : Finset I} (h : isRoom σ C) : σ.Nonempty := by  have hC : C.Nonempty := Nonempty_of_Dominant h.1  have hCpos : 0 < C.card := Finset.card_pos.2 hC  have h_card : σ.card = C.card := h.2.symm  have hpos : 0 < σ.card := by rwa [h_card]  exact Finset.card_pos.1 hpos
See it in the graphDiscuss this resultChallenge it