Metamath Proof Explorer


Theorem int-add01d

Description: First AdditionZero generator rule. (Contributed by Stanislas Polu, 7-Apr-2020)

Ref Expression
Hypotheses int-add01d.1 ( 𝜑𝐴 ∈ ℝ )
int-add01d.2 ( 𝜑𝐴 = 𝐵 )
Assertion int-add01d ( 𝜑 → ( 𝐴 + 0 ) = 𝐵 )

Proof

Step Hyp Ref Expression
1 int-add01d.1 ( 𝜑𝐴 ∈ ℝ )
2 int-add01d.2 ( 𝜑𝐴 = 𝐵 )
3 1 recnd ( 𝜑𝐴 ∈ ℂ )
4 3 addid1d ( 𝜑 → ( 𝐴 + 0 ) = 𝐴 )
5 4 2 eqtrd ( 𝜑 → ( 𝐴 + 0 ) = 𝐵 )