Skip to content

Commit 7c54188

Browse files
committed
chore(Logic): generalise universes for relator and relation (leanprover-community#34391)
The definitions from core are already in `Sort`, so it makes sense for the mathlib lemmas about them to work here too.
1 parent 0287992 commit 7c54188

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Mathlib/Logic/Relation.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ the bundled version, see `Rel`.
5252

5353
open Function
5454

55-
variable {α β γ δ ε ζ : Type*}
55+
variable {α β γ δ ε ζ : Sort*}
5656

5757
section NeImp
5858

Mathlib/Logic/Relator.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ end
4141

4242
section
4343

44-
variable {α : Type u₁} {β : Type u₂} (R : α → β → Prop)
44+
variable {α : Sort u₁} {β : Sort u₂} (R : α → β → Prop)
4545

4646
/-- A relation is "right total" if every element appears on the right. -/
4747
def RightTotal : Prop := ∀ b, ∃ a, R a b

0 commit comments

Comments
 (0)