Metamath Proof Explorer


Theorem cleq2lem

Description: Equality implies bijection. (Contributed by RP, 24-Jul-2020)

Ref Expression
Hypothesis cleq2lem.b ( 𝐴 = 𝐵 → ( 𝜑𝜓 ) )
Assertion cleq2lem ( 𝐴 = 𝐵 → ( ( 𝑅𝐴𝜑 ) ↔ ( 𝑅𝐵𝜓 ) ) )

Proof

Step Hyp Ref Expression
1 cleq2lem.b ( 𝐴 = 𝐵 → ( 𝜑𝜓 ) )
2 sseq2 ( 𝐴 = 𝐵 → ( 𝑅𝐴𝑅𝐵 ) )
3 2 1 anbi12d ( 𝐴 = 𝐵 → ( ( 𝑅𝐴𝜑 ) ↔ ( 𝑅𝐵𝜓 ) ) )