Mathlib Map

Theorems · Definition · logic and foundations

Set.Nonempty.some

{α : Type u} → {s : Set α} → s.Nonempty → α

Extract a witness from s.Nonempty. This function might be used instead of case analysis on the argument. Note that it makes a proof depend on the Classical.choice axiom.

Defined in
Mathlib.Data.Set.Basic
Cited by
53 results in Mathlib
Foundations
Depth 8 from the axioms · uses Classical.choice

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 and proof · cited by 53,352
  • Set.Nonemptystatement and proof · cited by 2,627

Cited by61

Results whose statement or proof uses this declaration.