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

Theorem raltpd 4781
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 1484 . . . . . 6 ((𝜑 ∧ (𝜒𝜃𝜏)) ↔ ((𝜑𝜒) ∧ (𝜑𝜃) ∧ (𝜑𝜏)))
21a1i 11 . . . . 5 (𝜑 → ((𝜑 ∧ (𝜒𝜃𝜏)) ↔ ((𝜑𝜒) ∧ (𝜑𝜃) ∧ (𝜑𝜏))))
3 ralprd.a . . . . . 6 (𝜑𝐴𝑉)
4 ralprd.b . . . . . 6 (𝜑𝐵𝑊)
5 raltpd.c . . . . . 6 (𝜑𝐶𝑋)
6 ralprd.1 . . . . . . . . 9 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
76expcom 413 . . . . . . . 8 (𝑥 = 𝐴 → (𝜑 → (𝜓𝜒)))
87pm5.32d 577 . . . . . . 7 (𝑥 = 𝐴 → ((𝜑𝜓) ↔ (𝜑𝜒)))
9 ralprd.2 . . . . . . . . 9 ((𝜑𝑥 = 𝐵) → (𝜓𝜃))
109expcom 413 . . . . . . . 8 (𝑥 = 𝐵 → (𝜑 → (𝜓𝜃)))
1110pm5.32d 577 . . . . . . 7 (𝑥 = 𝐵 → ((𝜑𝜓) ↔ (𝜑𝜃)))
12 raltpd.3 . . . . . . . . 9 ((𝜑𝑥 = 𝐶) → (𝜓𝜏))
1312expcom 413 . . . . . . . 8 (𝑥 = 𝐶 → (𝜑 → (𝜓𝜏)))
1413pm5.32d 577 . . . . . . 7 (𝑥 = 𝐶 → ((𝜑𝜓) ↔ (𝜑𝜏)))
158, 11, 14raltpg 4698 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶} (𝜑𝜓) ↔ ((𝜑𝜒) ∧ (𝜑𝜃) ∧ (𝜑𝜏))))
163, 4, 5, 15syl3anc 1373 . . . . 5 (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶} (𝜑𝜓) ↔ ((𝜑𝜒) ∧ (𝜑𝜃) ∧ (𝜑𝜏))))
173tpnzd 4780 . . . . . 6 (𝜑 → {𝐴, 𝐵, 𝐶} ≠ ∅)
18 r19.28zv 4501 . . . . . 6 ({𝐴, 𝐵, 𝐶} ≠ ∅ → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶} (𝜑𝜓) ↔ (𝜑 ∧ ∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓)))
1917, 18syl 17 . . . . 5 (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶} (𝜑𝜓) ↔ (𝜑 ∧ ∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓)))
202, 16, 193bitr2d 307 . . . 4 (𝜑 → ((𝜑 ∧ (𝜒𝜃𝜏)) ↔ (𝜑 ∧ ∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓)))
2120bianabs 541 . . 3 (𝜑 → ((𝜑 ∧ (𝜒𝜃𝜏)) ↔ ∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓))
2221bicomd 223 . 2 (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓 ↔ (𝜑 ∧ (𝜒𝜃𝜏))))
2322bianabs 541 1 (𝜑 → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜓 ↔ (𝜒𝜃𝜏)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1087   = wceq 1540  wcel 2108  wne 2940  wral 3061  c0 4333  {ctp 4630
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-12 2177  ax-ext 2708
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-clab 2715  df-cleq 2729  df-clel 2816  df-ne 2941  df-ral 3062  df-rex 3071  df-v 3482  df-dif 3954  df-un 3956  df-nul 4334  df-sn 4627  df-pr 4629  df-tp 4631
This theorem is referenced by:  eqwrds3  15000  trgcgrg  28523  tgcgr4  28539  cplgr3v  29452
  Copyright terms: Public domain W3C validator