Mathlib Map

Theorems · Theorem · order theory

Set.range_ite_const

∀ {α : Type u_1} {β : Type u_2} {p : α → Prop} [inst : DecidablePred p] {x y : β},
  (∃ a, p a) → (∃ a, ¬p a) → (Set.range fun a => if p a then x else y) = {x, y}
Defined in
Mathlib.Data.Set.Insert
Cited by
2 results in Mathlib
Foundations
Depth 16 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.

Cites2

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

  • Setstatement · cited by 53,352
  • Set.rangestatement · cited by 4,705

Cited by2

Results whose statement or proof uses this declaration.