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

State before:
α : Type
inst✝¹ : (n : Nat) → OfNat α n
inst✝ : UInt α
a b : α
⊢ ~~~a = ~~~b → a = b
Tactic:
intro h
State after:
α : Type
inst✝¹ : (n : Nat) → OfNat α n
inst✝ : UInt α
a b : α
h : ~~~a = ~~~b
⊢ a = b

State before:
α : Type
inst✝¹ : (n : Nat) → OfNat α n
inst✝ : UInt α
a b : α
h : ~~~a = ~~~b
⊢ a = b
Tactic:
rw [←UInt.complement_complement a, ←UInt.complement_complement b, h]
State after:
no goals