Metamath Proof Explorer


Theorem dfbi1

Description: Relate the biconditional connective to primitive connectives. See dfbi1ALT for an unusual version proved directly from axioms. (Contributed by NM, 29-Dec-1992)

Ref Expression
Assertion dfbi1 ( ( 𝜑𝜓 ) ↔ ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) )

Proof

Step Hyp Ref Expression
1 df-bi ¬ ( ( ( 𝜑𝜓 ) → ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) ) → ¬ ( ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) → ( 𝜑𝜓 ) ) )
2 impbi ( ( ( 𝜑𝜓 ) → ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) ) → ( ( ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) → ( 𝜑𝜓 ) ) → ( ( 𝜑𝜓 ) ↔ ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) ) ) )
3 2 con3rr3 ( ¬ ( ( 𝜑𝜓 ) ↔ ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) ) → ( ( ( 𝜑𝜓 ) → ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) ) → ¬ ( ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) → ( 𝜑𝜓 ) ) ) )
4 1 3 mt3 ( ( 𝜑𝜓 ) ↔ ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜓𝜑 ) ) )