Equivalence_Class_Equivalent_Statements
Provedequivalence-classesproofwiki
Let R be an equivalence on S. Then x R y if and only if x ∈ [y]_R.
Preamble
import Mathlib.Data.Setoid.Basic import Mathlib.Data.Set.Basic
Formal statement
theorem Equivalence_Class_Equivalent_Statements {α : Type _} (s : Setoid α) (x y : α) : s.r x y ↔ x ∈ {z | s.r y z} := by sorrySource