Theorem: mergeBitRes_getBit_of_getRes_eq (Controlbits/BitResiduum.lean)

State before:
a✝ : ℕ
i : Fin (a✝ + 1)
q : BV (a✝ + 1)
p : BV a✝
h : getRes i q = p
⊢ mergeBitRes i (getBit i q) p = q
Tactic:
simp_rw [← h, mergeBitRes_getBit_getRes]
State after:
no goals