m n k : Int
this : (m % n + k) % n = (m % n + k + n * (m / n)) % n
⊢ (m % n + k) % n = (m + k) % n
m n k : Int
⊢ (m % n + k) % n = (m + k) % n
have := (add_mul_emod_self_left (m % n + k) n (m / n)).symm
no goals
m n k : Int
this : (m % n + k) % n = (m % n + k + n * (m / n)) % n
⊢ (m % n + k) % n = (m + k) % n
rwa [Int.add_right_comm, emod_add_ediv] at this