Kernel monotonicity, meets, and decidable equality for setoids #
This file adds to Mathlib/Data/Setoid/Basic.lean the monotonicity of Setoid.ker under
composition and its equality case for an injective outer map, the relation of an indexed meet
of setoids, the kernel of a map into a product as the meet of its coordinates' kernels, the
classes of a meet and the order in terms of classes, the strict antitonicity of the number of
classes on a finite type, and decidable equality of setoids on a finite type. Mathlib has the
monotonicity for algebraic kernels (LinearMap.ker_le_ker_comp, MonoidHom.comap_ker,
RingHom.ker_comp_of_injective) but not for the plain Setoid.ker they specialize. [UPSTREAM]
On a finite type a strictly finer setoid has strictly more classes. [UPSTREAM]
The kernel of a map into a type with decidable equality is decidable. [UPSTREAM]
Equations
- Setoid.ker.decidableRel f a b = inst✝ (f a) (f b)
Equality of setoids on a finite type is decided pairwise. [UPSTREAM]
Equations
- s.decidableEqOfDecidableRel t = decidable_of_iff (∀ (a b : α), s a b ↔ t a b) ⋯