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

Theorem ceqsex2v 3544
Description: Elimination of two existential quantifiers, using implicit substitution. (Contributed by Scott Fenton, 7-Jun-2006.) Avoid ax-10 2141 and ax-11 2157. (Revised by Gino Giotto, 20-Aug-2023.)
Hypotheses
Ref Expression
ceqsex2v.1 𝐴 ∈ V
ceqsex2v.2 𝐵 ∈ V
ceqsex2v.3 (𝑥 = 𝐴 → (𝜑𝜓))
ceqsex2v.4 (𝑦 = 𝐵 → (𝜓𝜒))
Assertion
Ref Expression
ceqsex2v (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵𝜑) ↔ 𝜒)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝜓,𝑥   𝜒,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑦)   𝜒(𝑥)

Proof of Theorem ceqsex2v
StepHypRef Expression
1 3anass 1091 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵𝜑) ↔ (𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
21exbii 1844 . . . 4 (∃𝑦(𝑥 = 𝐴𝑦 = 𝐵𝜑) ↔ ∃𝑦(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
3 19.42v 1950 . . . 4 (∃𝑦(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)) ↔ (𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)))
42, 3bitri 277 . . 3 (∃𝑦(𝑥 = 𝐴𝑦 = 𝐵𝜑) ↔ (𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)))
54exbii 1844 . 2 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)))
6 ceqsex2v.1 . . 3 𝐴 ∈ V
7 ceqsex2v.3 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
87anbi2d 630 . . . 4 (𝑥 = 𝐴 → ((𝑦 = 𝐵𝜑) ↔ (𝑦 = 𝐵𝜓)))
98exbidv 1918 . . 3 (𝑥 = 𝐴 → (∃𝑦(𝑦 = 𝐵𝜑) ↔ ∃𝑦(𝑦 = 𝐵𝜓)))
106, 9ceqsexv 3541 . 2 (∃𝑥(𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)) ↔ ∃𝑦(𝑦 = 𝐵𝜓))
11 ceqsex2v.2 . . 3 𝐵 ∈ V
12 ceqsex2v.4 . . 3 (𝑦 = 𝐵 → (𝜓𝜒))
1311, 12ceqsexv 3541 . 2 (∃𝑦(𝑦 = 𝐵𝜓) ↔ 𝜒)
145, 10, 133bitri 299 1 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵𝜑) ↔ 𝜒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1533  wex 1776  wcel 2110  Vcvv 3494
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-3an 1085  df-ex 1777  df-nf 1781  df-cleq 2814  df-clel 2893
This theorem is referenced by:  ceqsex3v  3545  ceqsex4v  3546  ispos  17551  elfuns  33371  brimg  33393  brapply  33394  brsuccf  33397  brrestrict  33405  dfrdg4  33407  diblsmopel  38301
  Copyright terms: Public domain W3C validator