Theorems · Theorem · logic and foundations
Set.apply_piecewise
∀ {α : Type u_1} {δ : α → Sort u_7} (s : Set α) (f g : (i : α) → δ i) [inst : (j : α) → Decidable (j ∈ s)]
{δ' : α → Sort u_8} (h : (i : α) → δ i → δ' i) {x : α},
h x (s.piecewise f g x) = s.piecewise (fun x => h x (f x)) (fun x => h x (g x)) x- Defined in
- Mathlib.Data.Set.Piecewise
- Cited by
- 3 results in Mathlib
- Foundations
- Depth 8 from the axioms · uses propext
- Assumes
- Decidable
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites4
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Setstatement and proof · cited by 53,352
- Set.piecewisestatement · cited by 136
- Set.piecewise_eq_of_memproof · cited by 49
- Set.piecewise_eq_of_notMemproof · cited by 49
Cited by3
Results whose statement or proof uses this declaration.
- Set.piecewise_opproof · cited by 4
- Set.comp_indicatorproof · cited by 0
- Set.comp_mulIndicatorproof · cited by 0