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

Theorem rexprg 4593
Description: Convert a restricted existential quantification over a pair to a disjunction. (Contributed by NM, 17-Sep-2011.) (Revised by Mario Carneiro, 23-Apr-2015.) (Proof shortened by AV, 8-Apr-2023.)
Hypotheses
Ref Expression
ralprg.1 (𝑥 = 𝐴 → (𝜑𝜓))
ralprg.2 (𝑥 = 𝐵 → (𝜑𝜒))
Assertion
Ref Expression
rexprg ((𝐴𝑉𝐵𝑊) → (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓𝜒)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝜓,𝑥   𝜒,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem rexprg
StepHypRef Expression
1 nfv 1915 . 2 𝑥𝜓
2 nfv 1915 . 2 𝑥𝜒
3 ralprg.1 . 2 (𝑥 = 𝐴 → (𝜑𝜓))
4 ralprg.2 . 2 (𝑥 = 𝐵 → (𝜑𝜒))
51, 2, 3, 4rexprgf 4591 1 ((𝐴𝑉𝐵𝑊) → (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓𝜒)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 844   = wceq 1538  wcel 2111  wrex 3107  {cpr 4527
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-rex 3112  df-v 3443  df-sbc 3721  df-un 3886  df-sn 4526  df-pr 4528
This theorem is referenced by:  rextpg  4595  rexpr  4597  reurexprg  4600  fr2nr  5497  sgrp2nmndlem5  18086  nb3grprlem2  27171  nfrgr2v  28057  3vfriswmgrlem  28062  brfvrcld  40392  rnmptpr  41801  ldepspr  44882  zlmodzxzldeplem4  44912
  Copyright terms: Public domain W3C validator