Metamath Proof Explorer


Theorem congid

Description: Every integer is congruent to itself mod every base. (Contributed by Stefan O'Rear, 1-Oct-2014)

Ref Expression
Assertion congid ⊢ A ∈ ℤ ∧ B ∈ ℤ → A ∥ B − B

Proof

Step Hyp Ref Expression
1 dvds0 ⊢ A ∈ ℤ → A ∥ 0
2 1 adantr ⊢ A ∈ ℤ ∧ B ∈ ℤ → A ∥ 0
3 zcn ⊢ B ∈ ℤ → B ∈ ℂ
4 3 adantl ⊢ A ∈ ℤ ∧ B ∈ ℤ → B ∈ ℂ
5 4 subidd ⊢ A ∈ ℤ ∧ B ∈ ℤ → B − B = 0
6 2 5 breqtrrd ⊢ A ∈ ℤ ∧ B ∈ ℤ → A ∥ B − B