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

Theorem ceqsex2v 3501
Description: Elimination of two existential quantifiers, using implicit substitution. (Contributed by Scott Fenton, 7-Jun-2006.) Avoid ax-10 2178 and ax-11 2194. (Revised by GG, 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 1111 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝜑) ↔ (𝑥 = 𝐴 ∧ (𝑦 = 𝐵 ∧ 𝜑)))
21exbii 1881 . . . 4 (∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝜑) ↔ ∃𝑦(𝑥 = 𝐴 ∧ (𝑦 = 𝐵 ∧ 𝜑)))
3 19.42v 1986 . . . 4 (∃𝑦(𝑥 = 𝐴 ∧ (𝑦 = 𝐵 ∧ 𝜑)) ↔ (𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵 ∧ 𝜑)))
42, 3bitri 278 . . 3 (∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝜑) ↔ (𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵 ∧ 𝜑)))
54exbii 1881 . 2 (∃𝑥∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵 ∧ 𝜑)))
6 ceqsex2v.1 . . 3 𝐴 ∈ V
7 ceqsex2v.3 . . . . 5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
87anbi2d 642 . . . 4 (𝑥 = 𝐴 → ((𝑦 = 𝐵 ∧ 𝜑) ↔ (𝑦 = 𝐵 ∧ 𝜓)))
98exbidv 1954 . . 3 (𝑥 = 𝐴 → (∃𝑦(𝑦 = 𝐵 ∧ 𝜑) ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝜓)))
106, 9ceqsexv 3498 . 2 (∃𝑥(𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵 ∧ 𝜑)) ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝜓))
11 ceqsex2v.2 . . 3 𝐵 ∈ V
12 ceqsex2v.4 . . 3 (𝑦 = 𝐵 → (𝜓 ↔ 𝜒))
1311, 12ceqsexv 3498 . 2 (∃𝑦(𝑦 = 𝐵 ∧ 𝜓) ↔ 𝜒)
145, 10, 133bitri 300 1 (∃𝑥∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝜑) ↔ 𝜒)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570  ∃wex 1812   ∈ wcel 2145  Vcvv 3450
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-ex 1813  df-clel 2835
This theorem is used by:  ceqsex3v  3502  ceqsex4v  3503  ispos  18449  elfuns  36599  brimg  36621  brapply  36622  lemsuccf  36625  brrestrict  36635  dfrdg4  36637  impprop  38564  diblsmopel  42148
  Copyright terms: Public domain W3C validator