Theorems · Theorem · order theory
mul_self_tsub_mul_self
∀ {R : Type u} [inst : CommSemiring R] [inst_1 : PartialOrder R] [CanonicallyOrderedAdd R] [inst_3 : Sub R]
[OrderedSub R] [Std.Total fun x1 x2 => x1 ≤ x2] [AddLeftReflectLE R] (a b : R), a * a - b * b = (a + b) * (a - b)The tsub version of mul_self_sub_mul_self. Notably, this holds for Nat and NNReal.
- Defined in
- Mathlib.Algebra.Order.Ring.Canonical
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 14 from the axioms · uses propext, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites10
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
- mul_commproof · cited by 2,262
- add_mulproof · cited by 363
- 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
- mul_tsubproof · cited by 11
- tsub_add_eq_tsub_tsubproof · cited by 7
Cited by2
Results whose statement or proof uses this declaration.
- sq_tsub_sqproof · cited by 0
- mul_self_tsub_oneproof · cited by 0