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

Theorem raltpg 4658
Description: Convert a restricted universal 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 4656 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓 ∧ 𝜒)))
4 raltpg.3 . . . . 5 (𝑥 = 𝐶 → (𝜑 ↔ 𝜃))
54ralsng 4635 . . . 4 (𝐶 ∈ 𝑋 → (∀𝑥 ∈ {𝐶}𝜑 ↔ 𝜃))
63, 5bi2anan9 650 . . 3 (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ 𝐶 ∈ 𝑋) → ((∀𝑥 ∈ {𝐴, 𝐵}𝜑 ∧ ∀𝑥 ∈ {𝐶}𝜑) ↔ ((𝜓 ∧ 𝜒) ∧ 𝜃)))
763impa 1127 . 2 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊 ∧ 𝐶 ∈ 𝑋) → ((∀𝑥 ∈ {𝐴, 𝐵}𝜑 ∧ ∀𝑥 ∈ {𝐶}𝜑) ↔ ((𝜓 ∧ 𝜒) ∧ 𝜃)))
8 df-tp 4588 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶})
98raleqi 3317 . . 3 (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ ∀𝑥 ∈ ({𝐴, 𝐵} ∪ {𝐶})𝜑)
10 ralunb 4195 . . 3 (∀𝑥 ∈ ({𝐴, 𝐵} ∪ {𝐶})𝜑 ↔ (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ∧ ∀𝑥 ∈ {𝐶}𝜑))
119, 10bitri 278 . 2 (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ∧ ∀𝑥 ∈ {𝐶}𝜑))
12 df-3an 1105 . 2 ((𝜓 ∧ 𝜒 ∧ 𝜃) ↔ ((𝜓 ∧ 𝜒) ∧ 𝜃))
137, 11, 123bitr4g 317 1 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊 ∧ 𝐶 ∈ 𝑋) → (∀𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (𝜓 ∧ 𝜒 ∧ 𝜃)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ∀wral 3076   ∪ cun 4149  {csn 4583  {cpr 4585  {ctp 4587
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-v 3452  df-un 4151  df-sn 4584  df-pr 4586  df-tp 4588
This theorem is used by:  raltp  4665  raltpd  4741  f13dfv  7282  sumtp  15915  lcmftp  16811  nb3grpr  29963  frgr3v  30876  usgrexmpl1lem  49119
  Copyright terms: Public domain W3C validator