MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  raltpd Structured version   Visualization version   GIF version

Theorem raltpd 4717
Description: Convert a universal quantification over an unordered triple to a conjunction. (Contributed by Thierry Arnoux, 8-Apr-2019.)
Hypotheses
Ref Expression
ralprd.1 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
ralprd.2 ((𝜑𝑥 = 𝐵) → (𝜓𝜃))
raltpd.3 ((𝜑𝑥 = 𝐶) → (𝜓𝜏))
ralprd.a (𝜑𝐴𝑉)
ralprd.b (𝜑𝐵𝑊)
raltpd.c (𝜑𝐶𝑋)
Assertion
Ref Expression
raltpd (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓 ↔ (𝜒𝜃𝜏)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝜑,𝑥   𝜒,𝑥   𝜃,𝑥   𝜏,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝑉(𝑥)   𝑊(𝑥)   𝑋(𝑥)

Proof of Theorem raltpd
StepHypRef Expression
1 an3andi 1481 . . . . . 6 ((𝜑 ∧ (𝜒𝜃𝜏)) ↔ ((𝜑𝜒) ∧ (𝜑𝜃) ∧ (𝜑𝜏)))
21a1i 11 . . . . 5 (𝜑 → ((𝜑 ∧ (𝜒𝜃𝜏)) ↔ ((𝜑𝜒) ∧ (𝜑𝜃) ∧ (𝜑𝜏))))
3 ralprd.a . . . . . 6 (𝜑𝐴𝑉)
4 ralprd.b . . . . . 6 (𝜑𝐵𝑊)
5 raltpd.c . . . . . 6 (𝜑𝐶𝑋)
6 ralprd.1 . . . . . . . . 9 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
76expcom 414 . . . . . . . 8 (𝑥 = 𝐴 → (𝜑 → (𝜓𝜒)))
87pm5.32d 577 . . . . . . 7 (𝑥 = 𝐴 → ((𝜑𝜓) ↔ (𝜑𝜒)))
9 ralprd.2 . . . . . . . . 9 ((𝜑𝑥 = 𝐵) → (𝜓𝜃))
109expcom 414 . . . . . . . 8 (𝑥 = 𝐵 → (𝜑 → (𝜓𝜃)))
1110pm5.32d 577 . . . . . . 7 (𝑥 = 𝐵 → ((𝜑𝜓) ↔ (𝜑𝜃)))
12 raltpd.3 . . . . . . . . 9 ((𝜑𝑥 = 𝐶) → (𝜓𝜏))
1312expcom 414 . . . . . . . 8 (𝑥 = 𝐶 → (𝜑 → (𝜓𝜏)))
1413pm5.32d 577 . . . . . . 7 (𝑥 = 𝐶 → ((𝜑𝜓) ↔ (𝜑𝜏)))
158, 11, 14raltpg 4634 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶} (𝜑𝜓) ↔ ((𝜑𝜒) ∧ (𝜑𝜃) ∧ (𝜑𝜏))))
163, 4, 5, 15syl3anc 1370 . . . . 5 (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶} (𝜑𝜓) ↔ ((𝜑𝜒) ∧ (𝜑𝜃) ∧ (𝜑𝜏))))
173tpnzd 4716 . . . . . 6 (𝜑 → {𝐴, 𝐵, 𝐶} ≠ ∅)
18 r19.28zv 4431 . . . . . 6 ({𝐴, 𝐵, 𝐶} ≠ ∅ → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶} (𝜑𝜓) ↔ (𝜑 ∧ ∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓)))
1917, 18syl 17 . . . . 5 (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶} (𝜑𝜓) ↔ (𝜑 ∧ ∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓)))
202, 16, 193bitr2d 307 . . . 4 (𝜑 → ((𝜑 ∧ (𝜒𝜃𝜏)) ↔ (𝜑 ∧ ∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓)))
2120bianabs 542 . . 3 (𝜑 → ((𝜑 ∧ (𝜒𝜃𝜏)) ↔ ∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓))
2221bicomd 222 . 2 (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓 ↔ (𝜑 ∧ (𝜒𝜃𝜏))))
2322bianabs 542 1 (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓 ↔ (𝜒𝜃𝜏)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wral 3064  c0 4256  {ctp 4565
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-12 2171  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-ral 3069  df-v 3434  df-dif 3890  df-un 3892  df-nul 4257  df-sn 4562  df-pr 4564  df-tp 4566
This theorem is referenced by:  eqwrds3  14676  trgcgrg  26876  tgcgr4  26892  cplgr3v  27802
  Copyright terms: Public domain W3C validator