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

Theorem ralxpxfr2d 3576
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 3069 . . . 4 (∀𝑥𝐵 𝜓 ↔ ∀𝑥(𝑥𝐵𝜓))
2 ralxpxfr2d.b . . . . . 6 (𝜑 → (𝑥𝐵 ↔ ∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴))
32imbi1d 342 . . . . 5 (𝜑 → ((𝑥𝐵𝜓) ↔ (∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
43albidv 1923 . . . 4 (𝜑 → (∀𝑥(𝑥𝐵𝜓) ↔ ∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
51, 4bitrid 282 . . 3 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
6 ralcom4 3164 . . . 4 (∀𝑦𝐶𝑥𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
7 ralcom4 3164 . . . . 5 (∀𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑧𝐷 (𝑥 = 𝐴𝜓))
87ralbii 3092 . . . 4 (∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑥𝑧𝐷 (𝑥 = 𝐴𝜓))
9 r19.23v 3208 . . . . . . 7 (∀𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ (∃𝑧𝐷 𝑥 = 𝐴𝜓))
109ralbii 3092 . . . . . 6 (∀𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶 (∃𝑧𝐷 𝑥 = 𝐴𝜓))
11 r19.23v 3208 . . . . . 6 (∀𝑦𝐶 (∃𝑧𝐷 𝑥 = 𝐴𝜓) ↔ (∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓))
1210, 11bitr2i 275 . . . . 5 ((∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
1312albii 1822 . . . 4 (∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
146, 8, 133bitr4ri 304 . . 3 (∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓))
155, 14bitrdi 287 . 2 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓)))
16 ralxpxfr2d.c . . . . . 6 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
1716pm5.74da 801 . . . . 5 (𝜑 → ((𝑥 = 𝐴𝜓) ↔ (𝑥 = 𝐴𝜒)))
1817albidv 1923 . . . 4 (𝜑 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑥(𝑥 = 𝐴𝜒)))
19 ralxpxfr2d.a . . . . 5 𝐴 ∈ V
20 biidd 261 . . . . 5 (𝑥 = 𝐴 → (𝜒𝜒))
2119, 20ceqsalv 3467 . . . 4 (∀𝑥(𝑥 = 𝐴𝜒) ↔ 𝜒)
2218, 21bitrdi 287 . . 3 (𝜑 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜒))
23222ralbidv 3129 . 2 (𝜑 → (∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷 𝜒))
2415, 23bitrd 278 1 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶𝑧𝐷 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wcel 2106  wral 3064  wrex 3065  Vcvv 3432
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-11 2154
This theorem depends on definitions:  df-bi 206  df-an 397  df-ex 1783  df-clel 2816  df-ral 3069  df-rex 3070
This theorem is referenced by:  ralxpmap  8684
  Copyright terms: Public domain W3C validator