Theorems · Definition · number theory
Nat.psub
ℕ → ℕ → Option ℕ
Partial subtraction operation. Returns psub m n = some k
if m = n + k, otherwise none.
- Defined in
- Mathlib.Data.Nat.PSub
- Cited by
- 9 results in Mathlib
- Foundations
- Depth 9 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites0
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
Nothing in Mathlib beyond the foundations.
Cited by9
Results whose statement or proof uses this declaration.
- Nat.psub_eq_somestatement · cited by 2
- Nat.psub_eq_nonestatement and proof · cited by 1
- Nat.psub_eq_substatement · cited by 1
- Nat.sub_eq_psubstatement · cited by 0
- Nat.psub'_eq_psubstatement and proof · cited by 0
- Nat.psub_addstatement and proof · cited by 0
- Nat.psub_succstatement · cited by 0
- Nat.psub_zerostatement · cited by 0
- Nat.psub.eq_defstatement and proof · cited by 0