Metamath Proof Explorer


Theorem ifpbi3

Description: Equivalence theorem for conditional logical operators. (Contributed by RP, 14-Apr-2020)

Ref Expression
Assertion ifpbi3 ( ( 𝜑𝜓 ) → ( if- ( 𝜒 , 𝜃 , 𝜑 ) ↔ if- ( 𝜒 , 𝜃 , 𝜓 ) ) )

Proof

Step Hyp Ref Expression
1 imbi2 ( ( 𝜑𝜓 ) → ( ( ¬ 𝜒𝜑 ) ↔ ( ¬ 𝜒𝜓 ) ) )
2 1 anbi2d ( ( 𝜑𝜓 ) → ( ( ( 𝜒𝜃 ) ∧ ( ¬ 𝜒𝜑 ) ) ↔ ( ( 𝜒𝜃 ) ∧ ( ¬ 𝜒𝜓 ) ) ) )
3 dfifp2 ( if- ( 𝜒 , 𝜃 , 𝜑 ) ↔ ( ( 𝜒𝜃 ) ∧ ( ¬ 𝜒𝜑 ) ) )
4 dfifp2 ( if- ( 𝜒 , 𝜃 , 𝜓 ) ↔ ( ( 𝜒𝜃 ) ∧ ( ¬ 𝜒𝜓 ) ) )
5 2 3 4 3bitr4g ( ( 𝜑𝜓 ) → ( if- ( 𝜒 , 𝜃 , 𝜑 ) ↔ if- ( 𝜒 , 𝜃 , 𝜓 ) ) )