Theorems · Definition · logic and foundations
Equiv.Set.insert
{α : Type u} → {s : Set α} → [DecidablePred fun x => x ∈ s] → {a : α} → a ∉ s → ↑(insert a s) ≃ ↑s ⊕ PUnit.{u + 1}If a ∉ s, then insert a s is equivalent to s ⊕ PUnit.
- Defined in
- Mathlib.Logic.Equiv.Set
- Cited by
- 6 results in Mathlib
- Foundations
- Depth 59 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- DecidablePred
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites8
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
- Equivstatement · cited by 8,337
- Set.Elemstatement and proof · cited by 7,166
- Equiv.reflproof · cited by 274
- Equiv.sumCongrproof · cited by 25
- Equiv.setCongrproof · cited by 13
- Equiv.Set.unionproof · cited by 10
- Equiv.Set.singletonproof · cited by 0
Cited by6
Results whose statement or proof uses this declaration.
- linearIndepOn_insertproof · cited by 4
- Equiv.Set.insert.congr_simpstatement and proof · cited by 0
- Equiv.Set.insert_apply_leftstatement and proof · cited by 0
- Equiv.Set.insert_apply_rightstatement and proof · cited by 0
- Equiv.Set.insert_symm_apply_inlstatement · cited by 0
- Equiv.Set.insert_symm_apply_inrstatement · cited by 0