Skip to content

Commit 5229c35

Browse files
committed
implicit
1 parent 09d5a39 commit 5229c35

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

Mathlib/Order/Cofinal.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ variable {α β : Type*}
3434
section LE
3535
variable [LE α]
3636

37-
theorem IsCofinal.of_isEmpty [IsEmpty α] (s : Set α) : IsCofinal s :=
37+
theorem IsCofinal.of_isEmpty [IsEmpty α] {s : Set α} : IsCofinal s :=
3838
fun a ↦ isEmptyElim a
3939

4040
theorem isCofinal_empty_iff : IsCofinal (∅ : Set α) ↔ IsEmpty α := by
41-
refine ⟨fun h ↦ ⟨fun a ↦ ?_⟩, fun h ↦ .of_isEmpty _
41+
refine ⟨fun h ↦ ⟨fun a ↦ ?_⟩, fun h ↦ .of_isEmpty⟩
4242
simpa using h a
4343

4444
@[simp]

Mathlib/Order/DirSupClosed.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ def DirSupInacc (s : Set α) : Prop :=
6363
@[simp] lemma DirSupClosed.dirSupClosedOn : DirSupClosed s → DirSupClosedOn D s := @fun h _ _ ↦ @h _
6464
@[simp] lemma DirSupInacc.dirSupInaccOn : DirSupInacc s → DirSupInaccOn D s := @fun h _ _ ↦ @h _
6565

66-
@[simp] theorem DirSupClosed.of_isEmpty [IsEmpty α] (s : Set α) : DirSupClosed s :=
66+
@[simp] theorem DirSupClosed.of_isEmpty [IsEmpty α] {s : Set α} : DirSupClosed s :=
6767
fun _ _ ⟨a, _⟩ ↦ isEmptyElim a
6868

69-
@[simp] theorem DirSupInacc.of_isEmpty [IsEmpty α] (s : Set α) : DirSupInacc s :=
69+
@[simp] theorem DirSupInacc.of_isEmpty [IsEmpty α] {s : Set α} : DirSupInacc s :=
7070
fun _ ⟨a, _⟩ ↦ isEmptyElim a
7171

72-
theorem DirSupClosedOn.of_isEmpty [IsEmpty α] (s : Set α) : DirSupClosedOn D s := by simp
73-
theorem DirSupInaccOn.of_isEmpty [IsEmpty α] (s : Set α) : DirSupInaccOn D s := by simp
72+
theorem DirSupClosedOn.of_isEmpty [IsEmpty α] {s : Set α} : DirSupClosedOn D s := by simp
73+
theorem DirSupInaccOn.of_isEmpty [IsEmpty α] {s : Set α} : DirSupInaccOn D s := by simp
7474

7575
@[gcongr]
7676
lemma DirSupClosedOn.mono (hD : D₁ ⊆ D₂) (hf : DirSupClosedOn D₂ s) : DirSupClosedOn D₁ s :=

Mathlib/SetTheory/Cardinal/Cofinality/Club.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For any type equipped with the Scott-Hausdorff topology (which includes well-ord
2323
topology), `DirSupClosed s` and `IsClosed s` are equivalent predicates.
2424
-/
2525

26-
@[expose] public section
26+
public section
2727

2828
universe u v
2929

@@ -41,8 +41,8 @@ structure IsClub {α : Type*} [LinearOrder α] (s : Set α) where
4141
variable {α : Type v} {s t : Set α} {x : α} [LinearOrder α]
4242

4343
@[simp]
44-
theorem IsClub.of_isEmpty [IsEmpty α] (s : Set α) : IsClub s :=
45-
⟨.of_isEmpty s, .of_isEmpty s
44+
theorem IsClub.of_isEmpty [IsEmpty α] {s : Set α} : IsClub s :=
45+
⟨.of_isEmpty, .of_isEmpty⟩
4646

4747
@[simp]
4848
theorem IsClub.univ : IsClub (α := α) .univ :=

0 commit comments

Comments
 (0)