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

Theorem ifpananb 36870
 Description: Factor conditional logic operator over conjunction in terms 2 and 3. (Contributed by RP, 21-Apr-2020.)
Assertion
Ref Expression
ifpananb (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∧ if-(𝜑, 𝜒, 𝜏)))

Proof of Theorem ifpananb
StepHypRef Expression
1 anor 509 . . 3 ((𝜓𝜒) ↔ ¬ (¬ 𝜓 ∨ ¬ 𝜒))
2 anor 509 . . 3 ((𝜃𝜏) ↔ ¬ (¬ 𝜃 ∨ ¬ 𝜏))
3 ifpbi23 36836 . . 3 ((((𝜓𝜒) ↔ ¬ (¬ 𝜓 ∨ ¬ 𝜒)) ∧ ((𝜃𝜏) ↔ ¬ (¬ 𝜃 ∨ ¬ 𝜏))) → (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ if-(𝜑, ¬ (¬ 𝜓 ∨ ¬ 𝜒), ¬ (¬ 𝜃 ∨ ¬ 𝜏))))
41, 2, 3mp2an 704 . 2 (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ if-(𝜑, ¬ (¬ 𝜓 ∨ ¬ 𝜒), ¬ (¬ 𝜃 ∨ ¬ 𝜏)))
5 ifpororb 36869 . . . . 5 (if-(𝜑, (¬ 𝜓 ∨ ¬ 𝜒), (¬ 𝜃 ∨ ¬ 𝜏)) ↔ (if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, ¬ 𝜒, ¬ 𝜏)))
6 ifpnotnotb 36843 . . . . . 6 (if-(𝜑, ¬ 𝜓, ¬ 𝜃) ↔ ¬ if-(𝜑, 𝜓, 𝜃))
7 ifpnotnotb 36843 . . . . . 6 (if-(𝜑, ¬ 𝜒, ¬ 𝜏) ↔ ¬ if-(𝜑, 𝜒, 𝜏))
86, 7orbi12i 542 . . . . 5 ((if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, ¬ 𝜒, ¬ 𝜏)) ↔ (¬ if-(𝜑, 𝜓, 𝜃) ∨ ¬ if-(𝜑, 𝜒, 𝜏)))
95, 8bitri 263 . . . 4 (if-(𝜑, (¬ 𝜓 ∨ ¬ 𝜒), (¬ 𝜃 ∨ ¬ 𝜏)) ↔ (¬ if-(𝜑, 𝜓, 𝜃) ∨ ¬ if-(𝜑, 𝜒, 𝜏)))
109notbii 309 . . 3 (¬ if-(𝜑, (¬ 𝜓 ∨ ¬ 𝜒), (¬ 𝜃 ∨ ¬ 𝜏)) ↔ ¬ (¬ if-(𝜑, 𝜓, 𝜃) ∨ ¬ if-(𝜑, 𝜒, 𝜏)))
11 ifpnotnotb 36843 . . 3 (if-(𝜑, ¬ (¬ 𝜓 ∨ ¬ 𝜒), ¬ (¬ 𝜃 ∨ ¬ 𝜏)) ↔ ¬ if-(𝜑, (¬ 𝜓 ∨ ¬ 𝜒), (¬ 𝜃 ∨ ¬ 𝜏)))
12 anor 509 . . 3 ((if-(𝜑, 𝜓, 𝜃) ∧ if-(𝜑, 𝜒, 𝜏)) ↔ ¬ (¬ if-(𝜑, 𝜓, 𝜃) ∨ ¬ if-(𝜑, 𝜒, 𝜏)))
1310, 11, 123bitr4i 291 . 2 (if-(𝜑, ¬ (¬ 𝜓 ∨ ¬ 𝜒), ¬ (¬ 𝜃 ∨ ¬ 𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∧ if-(𝜑, 𝜒, 𝜏)))
144, 13bitri 263 1 (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∧ if-(𝜑, 𝜒, 𝜏)))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   ↔ wb 195   ∨ wo 382   ∧ wa 383  if-wif 1006 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 196  df-or 384  df-an 385  df-ifp 1007 This theorem is referenced by:  ifpnannanb  36871
 Copyright terms: Public domain W3C validator