Metamath Proof Explorer


Theorem bnj1241

Description: First-order logic and set theory. (Contributed by Jonathan Ben-Naim, 3-Jun-2011) (New usage is discouraged.)

Ref Expression
Hypotheses bnj1241.1 ( 𝜑𝐴𝐵 )
bnj1241.2 ( 𝜓𝐶 = 𝐴 )
Assertion bnj1241 ( ( 𝜑𝜓 ) → 𝐶𝐵 )

Proof

Step Hyp Ref Expression
1 bnj1241.1 ( 𝜑𝐴𝐵 )
2 bnj1241.2 ( 𝜓𝐶 = 𝐴 )
3 2 eqcomd ( 𝜓𝐴 = 𝐶 )
4 3 adantl ( ( 𝜑𝜓 ) → 𝐴 = 𝐶 )
5 1 adantr ( ( 𝜑𝜓 ) → 𝐴𝐵 )
6 4 5 eqsstrrd ( ( 𝜑𝜓 ) → 𝐶𝐵 )