Metamath Proof Explorer


Theorem hadbi123i

Description: Equality theorem for the adder sum. (Contributed by Mario Carneiro, 4-Sep-2016)

Ref Expression
Hypotheses hadbii.1 ( 𝜑𝜓 )
hadbii.2 ( 𝜒𝜃 )
hadbii.3 ( 𝜏𝜂 )
Assertion hadbi123i ( hadd ( 𝜑 , 𝜒 , 𝜏 ) ↔ hadd ( 𝜓 , 𝜃 , 𝜂 ) )

Proof

Step Hyp Ref Expression
1 hadbii.1 ( 𝜑𝜓 )
2 hadbii.2 ( 𝜒𝜃 )
3 hadbii.3 ( 𝜏𝜂 )
4 1 a1i ( ⊤ → ( 𝜑𝜓 ) )
5 2 a1i ( ⊤ → ( 𝜒𝜃 ) )
6 3 a1i ( ⊤ → ( 𝜏𝜂 ) )
7 4 5 6 hadbi123d ( ⊤ → ( hadd ( 𝜑 , 𝜒 , 𝜏 ) ↔ hadd ( 𝜓 , 𝜃 , 𝜂 ) ) )
8 7 mptru ( hadd ( 𝜑 , 𝜒 , 𝜏 ) ↔ hadd ( 𝜓 , 𝜃 , 𝜂 ) )