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

Theorem rextp 4664
Description: Convert an existential quantification over an unordered triple to a disjunction. (Contributed by Mario Carneiro, 23-Apr-2015.)
Hypotheses
Ref Expression
raltp.1 𝐴 ∈ V
raltp.2 𝐵 ∈ V
raltp.3 𝐶 ∈ V
raltp.4 (𝑥 = 𝐴 → (𝜑𝜓))
raltp.5 (𝑥 = 𝐵 → (𝜑𝜒))
raltp.6 (𝑥 = 𝐶 → (𝜑𝜃))
Assertion
Ref Expression
rextp (∃𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (𝜓𝜒𝜃))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝜓,𝑥   𝜒,𝑥   𝜃,𝑥
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem rextp
StepHypRef Expression
1 raltp.1 . 2 𝐴 ∈ V
2 raltp.2 . 2 𝐵 ∈ V
3 raltp.3 . 2 𝐶 ∈ V
4 raltp.4 . . 3 (𝑥 = 𝐴 → (𝜑𝜓))
5 raltp.5 . . 3 (𝑥 = 𝐵 → (𝜑𝜒))
6 raltp.6 . . 3 (𝑥 = 𝐶 → (𝜑𝜃))
74, 5, 6rextpg 4657 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝐶 ∈ V) → (∃𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (𝜓𝜒𝜃)))
81, 2, 3, 7mp3an 1481 1 (∃𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (𝜓𝜒𝜃))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  w3o 1096   = wceq 1559  wcel 2141  wrex 3085  Vcvv 3453  {ctp 4585
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-ext 2733
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1098  df-3an 1099  df-tru 1562  df-ex 1799  df-sb 2090  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3076  df-rex 3086  df-v 3455  df-un 3909  df-sn 4582  df-pr 4584  df-tp 4586
This theorem is referenced by:  1cubr  26884
  Copyright terms: Public domain W3C validator