Mathlib Map

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.