Theorem: UInt.add_sub_assoc (Algdata/Classes/UInt.lean)

State before:
α : Type
inst✝¹ : (n : Nat) → OfNat α n
inst✝ : UInt α
a b c : α
⊢ a + b - c = a + (b - c)
Tactic:
apply toNat_inj
State after:
case a
α : Type
inst✝¹ : (n : Nat) → OfNat α n
inst✝ : UInt α
a b c : α
⊢ toNat (a + b - c) = toNat (a + (b - c))

State before:
case a
α : Type
inst✝¹ : (n : Nat) → OfNat α n
inst✝ : UInt α
a b c : α
⊢ toNat (a + b - c) = toNat (a + (b - c))
Tactic:
simp [toNat_add, toNat_sub, Nat.add_assoc]
State after:
no goals