fix: change Quotient.sound to a theorem (#3765)

The result is a proof, so presumably this should not be a `def`.
This commit is contained in:
Eric Wieser 2024-03-25 19:28:31 +00:00 committed by GitHub
parent e0c6c5d226
commit d8047ddeb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1596,7 +1596,7 @@ protected def mk' {α : Sort u} [s : Setoid α] (a : α) : Quotient s :=
The analogue of `Quot.sound`: If `a` and `b` are related by the equivalence relation,
then they have equal equivalence classes.
-/
def sound {α : Sort u} {s : Setoid α} {a b : α} : a ≈ b → Quotient.mk s a = Quotient.mk s b :=
theorem sound {α : Sort u} {s : Setoid α} {a b : α} : a ≈ b → Quotient.mk s a = Quotient.mk s b :=
Quot.sound
/--