Theorem: MyRing.add_right_cancel (LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean)

State before:
R : Type u_1
inst✝ : Ring R
a b c : R
h : a + b = c + b
⊢ a = c
Tactic:
rw [← add_neg_cancel_right a b, h, add_neg_cancel_right]
State after:
no goals