Metamath Proof Explorer


Theorem aibandbiaiaiffb

Description: A closed form showing (a implies b and b implies a) implies (a same-as b). (Contributed by Jarvin Udandy, 3-Sep-2016)

Ref Expression
Assertion aibandbiaiaiffb ( ( ( 𝜑 → 𝜓 ) ∧ ( 𝜓 → 𝜑 ) ) → ( 𝜑 ↔ 𝜓 ) )

Proof

Step Hyp Ref Expression
1 dfbi2 ⊢ ( ( 𝜑 ↔ 𝜓 ) ↔ ( ( 𝜑 → 𝜓 ) ∧ ( 𝜓 → 𝜑 ) ) )
2 1 biimpri ⊢ ( ( ( 𝜑 → 𝜓 ) ∧ ( 𝜓 → 𝜑 ) ) → ( 𝜑 ↔ 𝜓 ) )