Skip to content

Commit dde6db9

Browse files
committed
refactor: add gcongr tag to IsMeagre.mono (#32686)
Note that to add the `gcongr` attribute we are required to reorder the last two arguments of `IsMeagre.mono`. Co-authored-by: Lara Toledano <lara_toledano@yahoo.fr>
1 parent 9afedb2 commit dde6db9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Mathlib/Topology/GDelta/Basic.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ lemma IsMeagre.empty : IsMeagre (∅ : Set X) := by
223223
exact Filter.univ_mem
224224

225225
/-- Subsets of meagre sets are meagre. -/
226-
lemma IsMeagre.mono {s t : Set X} (hs : IsMeagre s) (hts : t ⊆ s) : IsMeagre t :=
226+
@[gcongr]
227+
lemma IsMeagre.mono {s t : Set X} (hts : t ⊆ s) (hs : IsMeagre s) : IsMeagre t :=
227228
Filter.mem_of_superset hs (compl_subset_compl.mpr hts)
228229

229230
/-- An intersection with a meagre set is meagre. -/

0 commit comments

Comments
 (0)