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

Theorem raltpg 4183
Description: Convert a quantification over a triple to a conjunction. (Contributed by NM, 17-Sep-2011.) (Revised by Mario Carneiro, 23-Apr-2015.)
Hypotheses
Ref Expression
ralprg.1 (𝑥 = 𝐴 → (𝜑𝜓))
ralprg.2 (𝑥 = 𝐵 → (𝜑𝜒))
raltpg.3 (𝑥 = 𝐶 → (𝜑𝜃))
Assertion
Ref Expression
raltpg ((𝐴𝑉𝐵𝑊𝐶𝑋) → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (𝜓𝜒𝜃)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝜓,𝑥   𝜒,𝑥   𝜃,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝑉(𝑥)   𝑊(𝑥)   𝑋(𝑥)

Proof of Theorem raltpg
StepHypRef Expression
1 ralprg.1 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
2 ralprg.2 . . . . 5 (𝑥 = 𝐵 → (𝜑𝜒))
31, 2ralprg 4181 . . . 4 ((𝐴𝑉𝐵𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓𝜒)))
4 raltpg.3 . . . . 5 (𝑥 = 𝐶 → (𝜑𝜃))
54ralsng 4165 . . . 4 (𝐶𝑋 → (∀𝑥 ∈ {𝐶}𝜑𝜃))
63, 5bi2anan9 913 . . 3 (((𝐴𝑉𝐵𝑊) ∧ 𝐶𝑋) → ((∀𝑥 ∈ {𝐴, 𝐵}𝜑 ∧ ∀𝑥 ∈ {𝐶}𝜑) ↔ ((𝜓𝜒) ∧ 𝜃)))
763impa 1251 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((∀𝑥 ∈ {𝐴, 𝐵}𝜑 ∧ ∀𝑥 ∈ {𝐶}𝜑) ↔ ((𝜓𝜒) ∧ 𝜃)))
8 df-tp 4130 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶})
98raleqi 3119 . . 3 (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ ∀𝑥 ∈ ({𝐴, 𝐵} ∪ {𝐶})𝜑)
10 ralunb 3756 . . 3 (∀𝑥 ∈ ({𝐴, 𝐵} ∪ {𝐶})𝜑 ↔ (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ∧ ∀𝑥 ∈ {𝐶}𝜑))
119, 10bitri 263 . 2 (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ∧ ∀𝑥 ∈ {𝐶}𝜑))
12 df-3an 1033 . 2 ((𝜓𝜒𝜃) ↔ ((𝜓𝜒) ∧ 𝜃))
137, 11, 123bitr4g 302 1 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (𝜓𝜒𝜃)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  w3a 1031   = wceq 1475  wcel 1977  wral 2896  cun 3538  {csn 4125  {cpr 4127  {ctp 4129
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-v 3175  df-sbc 3403  df-un 3545  df-sn 4126  df-pr 4128  df-tp 4130
This theorem is referenced by:  raltp  4187  raltpd  4258  f13dfv  6430  sumtp  14322  lcmftp  15187  nb3grapr  25982  cusgra3v  25993  3v3e3cycl1  26172  constr3trllem2  26179  constr3trllem5  26182  frgra3v  26529  nb3grpr  40610  frgr3v  41445
  Copyright terms: Public domain W3C validator