Documentation

ProofsWMathlib.Lean.day_2025_12_30

theorem setoid_trans {a : Sort u_1} (r : Setoid a) (x y z : a) (h : r x y ∧ r y z) :
r x z
theorem setoid_refl {a : Sort u_1} (r : Setoid a) (x : a) :
r x x
theorem classes_nonempty {a : Type u_1} (r : Setoid a) :
∅ ∉ r.classes
theorem nondisjoint_classes_eq {a : Type u_1} {x y : Set a} {z : a} (r : Setoid a) (h1 : x ∈ r.classes) (h2 : y ∈ r.classes) (hz : z ∈ x ∧ z ∈ y) :
x = y
theorem exists_class {a : Type u_1} (r : Setoid a) (x : a) :
∃ b ∈ r.classes, x ∈ b
theorem covers_unique {a : Type u_1} (r : Setoid a) (x : a) :
∃! b : Set a, b ∈ r.classes ∧ x ∈ b
theorem hasa_prop {A : Sort u_1} (h : ∃ (x : A), True) :
theorem g_surj_if_left_inv {A : Sort u_1} {B : Sort u_2} {g : B → A} (f : A → B) (h : Function.LeftInverse g f) :