Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ifpbi12 Structured version   Visualization version   GIF version

Theorem ifpbi12 40993
Description: Equivalence theorem for conditional logical operators. (Contributed by RP, 15-Apr-2020.)
Assertion
Ref Expression
ifpbi12 (((𝜑𝜓) ∧ (𝜒𝜃)) → (if-(𝜑, 𝜒, 𝜏) ↔ if-(𝜓, 𝜃, 𝜏)))

Proof of Theorem ifpbi12
StepHypRef Expression
1 imbi12 346 . . . 4 ((𝜑𝜓) → ((𝜒𝜃) → ((𝜑𝜒) ↔ (𝜓𝜃))))
21imp 406 . . 3 (((𝜑𝜓) ∧ (𝜒𝜃)) → ((𝜑𝜒) ↔ (𝜓𝜃)))
3 simpl 482 . . . . 5 (((𝜑𝜓) ∧ (𝜒𝜃)) → (𝜑𝜓))
43notbid 317 . . . 4 (((𝜑𝜓) ∧ (𝜒𝜃)) → (¬ 𝜑 ↔ ¬ 𝜓))
54imbi1d 341 . . 3 (((𝜑𝜓) ∧ (𝜒𝜃)) → ((¬ 𝜑𝜏) ↔ (¬ 𝜓𝜏)))
62, 5anbi12d 630 . 2 (((𝜑𝜓) ∧ (𝜒𝜃)) → (((𝜑𝜒) ∧ (¬ 𝜑𝜏)) ↔ ((𝜓𝜃) ∧ (¬ 𝜓𝜏))))
7 dfifp2 1061 . 2 (if-(𝜑, 𝜒, 𝜏) ↔ ((𝜑𝜒) ∧ (¬ 𝜑𝜏)))
8 dfifp2 1061 . 2 (if-(𝜓, 𝜃, 𝜏) ↔ ((𝜓𝜃) ∧ (¬ 𝜓𝜏)))
96, 7, 83bitr4g 313 1 (((𝜑𝜓) ∧ (𝜒𝜃)) → (if-(𝜑, 𝜒, 𝜏) ↔ if-(𝜓, 𝜃, 𝜏)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  if-wif 1059
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-ifp 1060
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator