Note about deprecated files #
This file is deprecated, and is no longer imported by anything in mathlib other than other deprecated files, and test files. You should not need to import it.
multiplication
@[deprecated Nat.mul_eq_zero]
Alias of the forward direction of Nat.mul_eq_zero
.
successor and predecessor
induction principles
@[deprecated]
def
Nat.subInduction
{P : ℕ → ℕ → Sort u}
(H1 : (m : ℕ) → P 0 m)
(H2 : (n : ℕ) → P n.succ 0)
(H3 : (n m : ℕ) → P n m → P n.succ m.succ)
(n : ℕ)
(m : ℕ)
:
P n m
Equations
- Nat.subInduction H1 H2 H3 0 x = H1 x
- Nat.subInduction H1 H2 H3 _n.succ 0 = H2 _n
- Nat.subInduction H1 H2 H3 n.succ m.succ = H3 n m (Nat.subInduction H1 H2 H3 n m)
Instances For
mod