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

Theorem ralxpxfr2d 3568
Description: Transfer a universal quantifier between one variable with pair-like semantics and two. (Contributed by Stefan O'Rear, 27-Feb-2015.)
Hypotheses
Ref Expression
ralxpxfr2d.a 𝐴 ∈ V
ralxpxfr2d.b (𝜑 → (𝑥𝐵 ↔ ∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴))
ralxpxfr2d.c ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
Assertion
Ref Expression
ralxpxfr2d (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶𝑧𝐷 𝜒))
Distinct variable groups:   𝜑,𝑥,𝑧   𝜑,𝑦,𝑥   𝜓,𝑦   𝜓,𝑧   𝑥,𝐴   𝑥,𝐶   𝑥,𝐷   𝜒,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦,𝑧)   𝐴(𝑦,𝑧)   𝐵(𝑥,𝑦,𝑧)   𝐶(𝑦,𝑧)   𝐷(𝑦,𝑧)

Proof of Theorem ralxpxfr2d
StepHypRef Expression
1 df-ral 3068 . . . 4 (∀𝑥𝐵 𝜓 ↔ ∀𝑥(𝑥𝐵𝜓))
2 ralxpxfr2d.b . . . . . 6 (𝜑 → (𝑥𝐵 ↔ ∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴))
32imbi1d 341 . . . . 5 (𝜑 → ((𝑥𝐵𝜓) ↔ (∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
43albidv 1924 . . . 4 (𝜑 → (∀𝑥(𝑥𝐵𝜓) ↔ ∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
51, 4syl5bb 282 . . 3 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
6 ralcom4 3161 . . . 4 (∀𝑦𝐶𝑥𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
7 ralcom4 3161 . . . . 5 (∀𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑧𝐷 (𝑥 = 𝐴𝜓))
87ralbii 3090 . . . 4 (∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑥𝑧𝐷 (𝑥 = 𝐴𝜓))
9 r19.23v 3207 . . . . . . 7 (∀𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ (∃𝑧𝐷 𝑥 = 𝐴𝜓))
109ralbii 3090 . . . . . 6 (∀𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶 (∃𝑧𝐷 𝑥 = 𝐴𝜓))
11 r19.23v 3207 . . . . . 6 (∀𝑦𝐶 (∃𝑧𝐷 𝑥 = 𝐴𝜓) ↔ (∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓))
1210, 11bitr2i 275 . . . . 5 ((∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
1312albii 1823 . . . 4 (∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
146, 8, 133bitr4ri 303 . . 3 (∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓))
155, 14bitrdi 286 . 2 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓)))
16 ralxpxfr2d.c . . . . . 6 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
1716pm5.74da 800 . . . . 5 (𝜑 → ((𝑥 = 𝐴𝜓) ↔ (𝑥 = 𝐴𝜒)))
1817albidv 1924 . . . 4 (𝜑 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑥(𝑥 = 𝐴𝜒)))
19 ralxpxfr2d.a . . . . 5 𝐴 ∈ V
20 biidd 261 . . . . 5 (𝑥 = 𝐴 → (𝜒𝜒))
2119, 20ceqsalv 3457 . . . 4 (∀𝑥(𝑥 = 𝐴𝜒) ↔ 𝜒)
2218, 21bitrdi 286 . . 3 (𝜑 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜒))
23222ralbidv 3122 . 2 (𝜑 → (∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷 𝜒))
2415, 23bitrd 278 1 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶𝑧𝐷 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wcel 2108  wral 3063  wrex 3064  Vcvv 3422
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-11 2156
This theorem depends on definitions:  df-bi 206  df-an 396  df-ex 1784  df-clel 2817  df-ral 3068  df-rex 3069
This theorem is referenced by:  ralxpmap  8642
  Copyright terms: Public domain W3C validator