Theorems · Definition
Set.piecewise
{α : Type u} →
{β : α → Sort v} → (s : Set α) → ((i : α) → β i) → ((i : α) → β i) → [(j : α) → Decidable (j ∈ s)] → (i : α) → β is.piecewise f g is the function equal to f on the set s, and to g on its complement.
- Defined in
- Mathlib.Logic.Function.Basic
- Cited by
- 136 results in Mathlib
- Foundations
- Depth 6 from the axioms, rests on 12 definitions · uses no axioms
- Assumes
- Decidable
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
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
Cited by139
Results whose statement or proof uses this declaration.
- Set.piecewise_eq_of_memstatement · cited by 49
- Set.piecewise_eq_of_notMemstatement · cited by 49
- MeasureTheory.SimpleFunc.piecewiseproof · cited by 26
- Set.piecewise_eq_indicatorstatement · cited by 15
- MeasureTheory.SimpleFunc.inductionproof · cited by 14
- BoxIntegral.Box.splitCenterBoxproof · cited by 12
- MeasureTheory.SimpleFunc.coe_restrictproof · cited by 11
- Measurable.piecewisestatement · cited by 9
- PartialEquiv.piecewiseproof · cited by 8
- Finset.piecewise_insertproof · cited by 6
- Set.piecewise_preimagestatement · cited by 6
- Set.piecewise_eqOnstatement · cited by 6