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

Theorem eusvobj2 7248
Description: Specify the same property in two ways when class 𝐵(𝑦) is single-valued. (Contributed by NM, 1-Nov-2010.) (Proof shortened by Mario Carneiro, 24-Dec-2016.)
Hypothesis
Ref Expression
eusvobj1.1 𝐵 ∈ V
Assertion
Ref Expression
eusvobj2 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → (∃𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑥 = 𝐵))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵
Allowed substitution hint:   𝐵(𝑦)

Proof of Theorem eusvobj2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 euabsn2 4658 . . 3 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃𝑧{𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧})
2 eleq2 2827 . . . . . 6 ({𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → (𝑥 ∈ {𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} ↔ 𝑥 ∈ {𝑧}))
3 abid 2719 . . . . . 6 (𝑥 ∈ {𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} ↔ ∃𝑦𝐴 𝑥 = 𝐵)
4 velsn 4574 . . . . . 6 (𝑥 ∈ {𝑧} ↔ 𝑥 = 𝑧)
52, 3, 43bitr3g 312 . . . . 5 ({𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → (∃𝑦𝐴 𝑥 = 𝐵𝑥 = 𝑧))
6 nfre1 3234 . . . . . . . . 9 𝑦𝑦𝐴 𝑥 = 𝐵
76nfab 2912 . . . . . . . 8 𝑦{𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵}
87nfeq1 2921 . . . . . . 7 𝑦{𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧}
9 eusvobj1.1 . . . . . . . . 9 𝐵 ∈ V
109elabrex 7098 . . . . . . . 8 (𝑦𝐴𝐵 ∈ {𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵})
11 eleq2 2827 . . . . . . . . 9 ({𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → (𝐵 ∈ {𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} ↔ 𝐵 ∈ {𝑧}))
129elsn 4573 . . . . . . . . . 10 (𝐵 ∈ {𝑧} ↔ 𝐵 = 𝑧)
13 eqcom 2745 . . . . . . . . . 10 (𝐵 = 𝑧𝑧 = 𝐵)
1412, 13bitri 274 . . . . . . . . 9 (𝐵 ∈ {𝑧} ↔ 𝑧 = 𝐵)
1511, 14bitrdi 286 . . . . . . . 8 ({𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → (𝐵 ∈ {𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} ↔ 𝑧 = 𝐵))
1610, 15syl5ib 243 . . . . . . 7 ({𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → (𝑦𝐴𝑧 = 𝐵))
178, 16ralrimi 3139 . . . . . 6 ({𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → ∀𝑦𝐴 𝑧 = 𝐵)
18 eqeq1 2742 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝐵𝑧 = 𝐵))
1918ralbidv 3120 . . . . . 6 (𝑥 = 𝑧 → (∀𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑧 = 𝐵))
2017, 19syl5ibrcom 246 . . . . 5 ({𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
215, 20sylbid 239 . . . 4 ({𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
2221exlimiv 1934 . . 3 (∃𝑧{𝑥 ∣ ∃𝑦𝐴 𝑥 = 𝐵} = {𝑧} → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
231, 22sylbi 216 . 2 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
24 euex 2577 . . 3 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥𝑦𝐴 𝑥 = 𝐵)
25 rexn0 4438 . . . 4 (∃𝑦𝐴 𝑥 = 𝐵𝐴 ≠ ∅)
2625exlimiv 1934 . . 3 (∃𝑥𝑦𝐴 𝑥 = 𝐵𝐴 ≠ ∅)
27 r19.2z 4422 . . . 4 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑥 = 𝐵) → ∃𝑦𝐴 𝑥 = 𝐵)
2827ex 412 . . 3 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2924, 26, 283syl 18 . 2 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
3023, 29impbid 211 1 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → (∃𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑥 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  wex 1783  wcel 2108  ∃!weu 2568  {cab 2715  wne 2942  wral 3063  wrex 3064  Vcvv 3422  c0 4253  {csn 4558
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-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-nul 4254  df-sn 4559
This theorem is referenced by:  eusvobj1  7249
  Copyright terms: Public domain W3C validator