Theorems · Theorem · logic and foundations
ite_mem
∀ {α : Type u_1} {β : Type u_2} [inst : Membership α β] {p : Prop} [inst_1 : Decidable p] {a b : α} {s : β},
(if p then a else b) ∈ s ↔ (p → a ∈ s) ∧ (¬p → b ∈ s)- Defined in
- Mathlib.Logic.Basic
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 11 from the axioms · uses propext, Quot.sound
- Assumes
- MembershipDecidable
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.
- dite_memproof · cited by 1
Cited by2
Results whose statement or proof uses this declaration.
- Matrix.diagonal_mem_matrix_iffproof · cited by 0
- Matrix.single_mem_matrixproof · cited by 0