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

Theorem reusv3 5323
Description: Two ways to express single-valuedness of a class expression 𝐶(𝑦). See reusv1 5315 for the connection to uniqueness. (Contributed by NM, 27-Dec-2012.)
Hypotheses
Ref Expression
reusv3.1 (𝑦 = 𝑧 → (𝜑𝜓))
reusv3.2 (𝑦 = 𝑧𝐶 = 𝐷)
Assertion
Ref Expression
reusv3 (∃𝑦𝐵 (𝜑𝐶𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥,𝐶,𝑧   𝑥,𝐷,𝑦   𝜑,𝑥,𝑧   𝜓,𝑥,𝑦   𝑥,𝐴,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑦)   𝜓(𝑧)   𝐶(𝑦)   𝐷(𝑧)

Proof of Theorem reusv3
StepHypRef Expression
1 reusv3.1 . . . . 5 (𝑦 = 𝑧 → (𝜑𝜓))
2 reusv3.2 . . . . . 6 (𝑦 = 𝑧𝐶 = 𝐷)
32eleq1d 2823 . . . . 5 (𝑦 = 𝑧 → (𝐶𝐴𝐷𝐴))
41, 3anbi12d 630 . . . 4 (𝑦 = 𝑧 → ((𝜑𝐶𝐴) ↔ (𝜓𝐷𝐴)))
54cbvrexvw 3373 . . 3 (∃𝑦𝐵 (𝜑𝐶𝐴) ↔ ∃𝑧𝐵 (𝜓𝐷𝐴))
6 nfra2w 3151 . . . . 5 𝑧𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷)
7 nfv 1918 . . . . 5 𝑧𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)
86, 7nfim 1900 . . . 4 𝑧(∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))
9 risset 3193 . . . . . 6 (𝐷𝐴 ↔ ∃𝑥𝐴 𝑥 = 𝐷)
10 ralcom 3280 . . . . . . . . . . . . . 14 (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧𝐵𝑦𝐵 ((𝜑𝜓) → 𝐶 = 𝐷))
11 impexp 450 . . . . . . . . . . . . . . . . . 18 (((𝜑𝜓) → 𝐶 = 𝐷) ↔ (𝜑 → (𝜓𝐶 = 𝐷)))
12 bi2.04 388 . . . . . . . . . . . . . . . . . 18 ((𝜑 → (𝜓𝐶 = 𝐷)) ↔ (𝜓 → (𝜑𝐶 = 𝐷)))
1311, 12bitri 274 . . . . . . . . . . . . . . . . 17 (((𝜑𝜓) → 𝐶 = 𝐷) ↔ (𝜓 → (𝜑𝐶 = 𝐷)))
1413ralbii 3090 . . . . . . . . . . . . . . . 16 (∀𝑦𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∀𝑦𝐵 (𝜓 → (𝜑𝐶 = 𝐷)))
15 r19.21v 3100 . . . . . . . . . . . . . . . 16 (∀𝑦𝐵 (𝜓 → (𝜑𝐶 = 𝐷)) ↔ (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
1614, 15bitri 274 . . . . . . . . . . . . . . 15 (∀𝑦𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
1716ralbii 3090 . . . . . . . . . . . . . 14 (∀𝑧𝐵𝑦𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧𝐵 (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
1810, 17bitri 274 . . . . . . . . . . . . 13 (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧𝐵 (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
19 rsp 3129 . . . . . . . . . . . . 13 (∀𝑧𝐵 (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)) → (𝑧𝐵 → (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷))))
2018, 19sylbi 216 . . . . . . . . . . . 12 (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → (𝑧𝐵 → (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷))))
2120com3l 89 . . . . . . . . . . 11 (𝑧𝐵 → (𝜓 → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∀𝑦𝐵 (𝜑𝐶 = 𝐷))))
2221imp31 417 . . . . . . . . . 10 (((𝑧𝐵𝜓) ∧ ∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷)) → ∀𝑦𝐵 (𝜑𝐶 = 𝐷))
23 eqeq1 2742 . . . . . . . . . . . . 13 (𝑥 = 𝐷 → (𝑥 = 𝐶𝐷 = 𝐶))
24 eqcom 2745 . . . . . . . . . . . . 13 (𝐷 = 𝐶𝐶 = 𝐷)
2523, 24bitrdi 286 . . . . . . . . . . . 12 (𝑥 = 𝐷 → (𝑥 = 𝐶𝐶 = 𝐷))
2625imbi2d 340 . . . . . . . . . . 11 (𝑥 = 𝐷 → ((𝜑𝑥 = 𝐶) ↔ (𝜑𝐶 = 𝐷)))
2726ralbidv 3120 . . . . . . . . . 10 (𝑥 = 𝐷 → (∀𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
2822, 27syl5ibrcom 246 . . . . . . . . 9 (((𝑧𝐵𝜓) ∧ ∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷)) → (𝑥 = 𝐷 → ∀𝑦𝐵 (𝜑𝑥 = 𝐶)))
2928reximdv 3201 . . . . . . . 8 (((𝑧𝐵𝜓) ∧ ∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷)) → (∃𝑥𝐴 𝑥 = 𝐷 → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
3029ex 412 . . . . . . 7 ((𝑧𝐵𝜓) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → (∃𝑥𝐴 𝑥 = 𝐷 → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))))
3130com23 86 . . . . . 6 ((𝑧𝐵𝜓) → (∃𝑥𝐴 𝑥 = 𝐷 → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))))
329, 31syl5bi 241 . . . . 5 ((𝑧𝐵𝜓) → (𝐷𝐴 → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))))
3332expimpd 453 . . . 4 (𝑧𝐵 → ((𝜓𝐷𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))))
348, 33rexlimi 3243 . . 3 (∃𝑧𝐵 (𝜓𝐷𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
355, 34sylbi 216 . 2 (∃𝑦𝐵 (𝜑𝐶𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
361, 2reusv3i 5322 . 2 (∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) → ∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷))
3735, 36impbid1 224 1 (∃𝑦𝐵 (𝜑𝐶𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064
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-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-dif 3886  df-nul 4254
This theorem is referenced by:  cdleme25b  38295  cdleme29b  38316  cdlemk28-3  38849  dihlsscpre  39175  mapdh9a  39730  mapdh9aOLDN  39731
  Copyright terms: Public domain W3C validator