Theorem: LO.FirstOrder.Arith.Model.mod_add_remove_right (Arithmetization/Basic/IOpen.lean)

State before:
M : Type u_1
inst✝⁶ : Zero M
inst✝⁵ : One M
inst✝⁴ : Add M
inst✝³ : Mul M
inst✝² : LT M
inst✝¹ : M ⊧ₘ* 𝐏𝐀⁻
inst✝ : M ⊧ₘ* 𝐈open
a b : M
pos : 0 < b
⊢ (a + b) % b = a % b
Tactic:
simpa using mod_add_mul a 1 pos
State after:
no goals