Theorems · Theorem · order theory
Nat.cast_tsub
∀ {α : Type u_2} [inst : CommSemiring α] [inst_1 : PartialOrder α] [IsOrderedRing α] [CanonicallyOrderedAdd α]
[inst_4 : Sub α] [OrderedSub α] [AddLeftReflectLE α] (m n : ℕ), ↑(m - n) = ↑m - ↑nA version of Nat.cast_sub that works for ℝ≥0 and ℚ≥0. Note that this proof doesn't work
for ℕ∞ and ℝ≥0∞, so we use type-specific lemmas for these types.
- Defined in
- Mathlib.Data.Nat.Cast.Order.Ring
- Cited by
- 4 results in Mathlib
- Foundations
- Depth 26 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites13
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- CommSemiringstatement and proof · cited by 10,911
- PartialOrderstatement and proof · cited by 6,410
- Nat.cast_zeroproof · cited by 1,870
- IsOrderedRingstatement and proof · cited by 777
- Nat.cast_addproof · cited by 586
- le_totalproof · cited by 294
- OrderedSubstatement and proof · cited by 236
- CanonicallyOrderedAddstatement and proof · cited by 229
- add_tsub_cancel_rightproof · cited by 172
- AddLeftReflectLEstatement and proof · cited by 119
- Nat.mono_castproof · cited by 76
- tsub_eq_zero_of_leproof · cited by 26
Cited by4
Results whose statement or proof uses this declaration.
- ENNReal.natCast_subproof · cited by 4
- Polynomial.natDegree_derivativeproof · cited by 1
- ENat.le_ceilproof · cited by 1
- ENat.toENNReal_subproof · cited by 0