The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V03. Sets, finite structures and big operators

Mathlib.Data.Set.Finite.Lemmas

9 declarations. Mathlib docs · Source

Lemmas on finiteness of sets

This file should contain lemmas that prove some result under the assumption of Set.Finite. If your proof has as result Set.Finite, then it should go to a more specific file.

Tags

finite sets

Properties

Infinite sets

Order properties

theorem Set.Finite.fin_embedding E1 #

∀ {α : Type u} {s : Set α}, s.Finite → ∃ n f, Set.range ⇑f = s

theorem Set.Finite.fin_param E1 #

∀ {α : Type u} {s : Set α}, s.Finite → ∃ n f, Function.Injective f ∧ Set.range f = s

theorem Set.Finite.induction_to E1 #

∀ {α : Type u} {C : Set α → Prop} {S : Set α},
  S.Finite → ∀ S0 ⊆ S, C S0 → (∀ s ⊂ S, C s → ∃ a ∈ S \ s, C (insert a s)) → C S

Induction up to a finite set S.

theorem Set.Finite.induction_to_univ E1 #

∀ {α : Type u} [Finite α] {C : Set α → Prop} (S0 : Set α),
  C S0 → (∀ (S : Set α), S ≠ Set.univ → C S → ∃ a ∉ S, C (insert a S)) → C Set.univ

Induction up to univ.

theorem Set.sUnion_finite_eq_univ E1 #

∀ {X : Type u_1}, ⋃₀ {s | s.Finite} = Set.univ

theorem Set.exists_min_image E1 #

∀ {α : Type u} {β : Type v} [inst : LinearOrder β] (s : Set α) (f : α → β),
  s.Finite → s.Nonempty → ∃ a ∈ s, ∀ b ∈ s, f a ≤ f b

theorem Set.exists_max_image E1 #

∀ {α : Type u} {β : Type v} [inst : LinearOrder β] (s : Set α) (f : α → β),
  s.Finite → s.Nonempty → ∃ a ∈ s, ∀ b ∈ s, f b ≤ f a

theorem Set.exists_lower_bound_image E1 #

∀ {α : Type u} {β : Type v} [Nonempty α] [inst : LinearOrder β] (s : Set α) (f : α → β),
  s.Finite → ∃ a, ∀ b ∈ s, f a ≤ f b

theorem Set.exists_upper_bound_image E1 #

∀ {α : Type u} {β : Type v} [Nonempty α] [inst : LinearOrder β] (s : Set α) (f : α → β),
  s.Finite → ∃ a, ∀ b ∈ s, f b ≤ f a