Skip to content

Commit a2df56f

Browse files
committed
feat(Filter): a finite set is eventually a subset of any exhaustion (leanprover-community#30152)
This will be used to prove a sort of compactness result for finite minors of a graph. From the ProofBench workshop
1 parent bd2b5c4 commit a2df56f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Mathlib/Order/Filter/Finite.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ protected alias _root_.Set.Finite.eventually_all := eventually_all_finite
278278

279279
protected alias _root_.Finset.eventually_all := eventually_all_finset
280280

281+
lemma eventually_subset_of_finite {ι : Type*} {f : Filter ι} {s : ι → Set α} {t : Set α}
282+
(ht : t.Finite) (hs : ∀ a ∈ t, ∀ᶠ i in f, a ∈ s i) : ∀ᶠ i in f, t ⊆ s i := by
283+
simpa [Set.subset_def, eventually_all_finite ht] using hs
284+
281285
/-!
282286
### Relation “eventually equal”
283287
-/

0 commit comments

Comments
 (0)