Users' Mathboxes Mathbox for Jeff Madsen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  unirep Structured version   Visualization version   GIF version

Theorem unirep 34869
Description: Define a quantity whose definition involves a choice of representative, but which is uniquely determined regardless of the choice. (Contributed by Jeff Madsen, 1-Jun-2011.)
Hypotheses
Ref Expression
unirep.1 (𝑦 = 𝐷 → (𝜑𝜓))
unirep.2 (𝑦 = 𝐷𝐵 = 𝐶)
unirep.3 (𝑦 = 𝑧 → (𝜑𝜒))
unirep.4 (𝑦 = 𝑧𝐵 = 𝐹)
unirep.5 𝐵 ∈ V
Assertion
Ref Expression
unirep ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶)
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝑥,𝐵,𝑧   𝑥,𝐶,𝑦   𝑥,𝐷,𝑦   𝑥,𝐹,𝑦   𝜑,𝑥,𝑧   𝜓,𝑥,𝑦   𝜒,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑦)   𝜓(𝑧)   𝜒(𝑧)   𝐵(𝑦)   𝐶(𝑧)   𝐷(𝑧)   𝐹(𝑧)

Proof of Theorem unirep
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 eqidd 2819 . . . . 5 (𝜓𝐶 = 𝐶)
21ancli 549 . . . 4 (𝜓 → (𝜓𝐶 = 𝐶))
3 unirep.1 . . . . . 6 (𝑦 = 𝐷 → (𝜑𝜓))
4 unirep.2 . . . . . . 7 (𝑦 = 𝐷𝐵 = 𝐶)
54eqeq2d 2829 . . . . . 6 (𝑦 = 𝐷 → (𝐶 = 𝐵𝐶 = 𝐶))
63, 5anbi12d 630 . . . . 5 (𝑦 = 𝐷 → ((𝜑𝐶 = 𝐵) ↔ (𝜓𝐶 = 𝐶)))
76rspcev 3620 . . . 4 ((𝐷𝐴 ∧ (𝜓𝐶 = 𝐶)) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
82, 7sylan2 592 . . 3 ((𝐷𝐴𝜓) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
98adantl 482 . 2 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
10 nfcvd 2975 . . . . . 6 (𝐷𝐴𝑦𝐶)
1110, 4csbiegf 3913 . . . . 5 (𝐷𝐴𝐷 / 𝑦𝐵 = 𝐶)
12 unirep.5 . . . . . 6 𝐵 ∈ V
1312csbex 5206 . . . . 5 𝐷 / 𝑦𝐵 ∈ V
1411, 13syl6eqelr 2919 . . . 4 (𝐷𝐴𝐶 ∈ V)
1514ad2antrl 724 . . 3 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → 𝐶 ∈ V)
16 eqeq1 2822 . . . . . . . . . . 11 (𝑥 = 𝐶 → (𝑥 = 𝐵𝐶 = 𝐵))
1716anbi2d 628 . . . . . . . . . 10 (𝑥 = 𝐶 → ((𝜑𝑥 = 𝐵) ↔ (𝜑𝐶 = 𝐵)))
1817rexbidv 3294 . . . . . . . . 9 (𝑥 = 𝐶 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑦𝐴 (𝜑𝐶 = 𝐵)))
1918spcegv 3594 . . . . . . . 8 (𝐶 ∈ V → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
2014, 19syl 17 . . . . . . 7 (𝐷𝐴 → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
2120adantr 481 . . . . . 6 ((𝐷𝐴𝜓) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
228, 21mpd 15 . . . . 5 ((𝐷𝐴𝜓) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
2322adantl 482 . . . 4 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
24 r19.29 3251 . . . . . . . 8 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑦𝐴 (𝜑𝑥 = 𝐵)) → ∃𝑦𝐴 (∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)))
25 r19.29 3251 . . . . . . . . . . . 12 ((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → ∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)))
26 an4 652 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = 𝐵) ∧ (𝜒𝑤 = 𝐹)) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐵𝑤 = 𝐹)))
27 pm3.35 799 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝜒) ∧ ((𝜑𝜒) → 𝐵 = 𝐹)) → 𝐵 = 𝐹)
28 eqeq12 2832 . . . . . . . . . . . . . . . . . . . 20 ((𝑥 = 𝐵𝑤 = 𝐹) → (𝑥 = 𝑤𝐵 = 𝐹))
2927, 28syl5ibrcom 248 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝜒) ∧ ((𝜑𝜒) → 𝐵 = 𝐹)) → ((𝑥 = 𝐵𝑤 = 𝐹) → 𝑥 = 𝑤))
3029ancoms 459 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝜒)) → ((𝑥 = 𝐵𝑤 = 𝐹) → 𝑥 = 𝑤))
3130expimpd 454 . . . . . . . . . . . . . . . . 17 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜑𝜒) ∧ (𝑥 = 𝐵𝑤 = 𝐹)) → 𝑥 = 𝑤))
3226, 31syl5bi 243 . . . . . . . . . . . . . . . 16 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜑𝑥 = 𝐵) ∧ (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
3332ancomsd 466 . . . . . . . . . . . . . . 15 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜒𝑤 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤))
3433expdimp 453 . . . . . . . . . . . . . 14 ((((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) → ((𝜑𝑥 = 𝐵) → 𝑥 = 𝑤))
3534rexlimivw 3279 . . . . . . . . . . . . 13 (∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) → ((𝜑𝑥 = 𝐵) → 𝑥 = 𝑤))
3635imp 407 . . . . . . . . . . . 12 ((∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤)
3725, 36sylan 580 . . . . . . . . . . 11 (((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤)
3837an32s 648 . . . . . . . . . 10 (((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤)
3938ex 413 . . . . . . . . 9 ((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4039rexlimivw 3279 . . . . . . . 8 (∃𝑦𝐴 (∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4124, 40syl 17 . . . . . . 7 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑦𝐴 (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4241expimpd 454 . . . . . 6 (∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) → ((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
4342adantr 481 . . . . 5 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
4443alrimivv 1920 . . . 4 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∀𝑥𝑤((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
45 eqeq1 2822 . . . . . . . 8 (𝑥 = 𝑤 → (𝑥 = 𝐵𝑤 = 𝐵))
4645anbi2d 628 . . . . . . 7 (𝑥 = 𝑤 → ((𝜑𝑥 = 𝐵) ↔ (𝜑𝑤 = 𝐵)))
4746rexbidv 3294 . . . . . 6 (𝑥 = 𝑤 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑦𝐴 (𝜑𝑤 = 𝐵)))
48 unirep.3 . . . . . . . 8 (𝑦 = 𝑧 → (𝜑𝜒))
49 unirep.4 . . . . . . . . 9 (𝑦 = 𝑧𝐵 = 𝐹)
5049eqeq2d 2829 . . . . . . . 8 (𝑦 = 𝑧 → (𝑤 = 𝐵𝑤 = 𝐹))
5148, 50anbi12d 630 . . . . . . 7 (𝑦 = 𝑧 → ((𝜑𝑤 = 𝐵) ↔ (𝜒𝑤 = 𝐹)))
5251cbvrexvw 3448 . . . . . 6 (∃𝑦𝐴 (𝜑𝑤 = 𝐵) ↔ ∃𝑧𝐴 (𝜒𝑤 = 𝐹))
5347, 52syl6bb 288 . . . . 5 (𝑥 = 𝑤 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)))
5453eu4 2692 . . . 4 (∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ (∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∀𝑥𝑤((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤)))
5523, 44, 54sylanbrc 583 . . 3 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
5618iota2 6337 . . 3 ((𝐶 ∈ V ∧ ∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) ↔ (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶))
5715, 55, 56syl2anc 584 . 2 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) ↔ (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶))
589, 57mpbid 233 1 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wal 1526   = wceq 1528  wex 1771  wcel 2105  ∃!weu 2646  wral 3135  wrex 3136  Vcvv 3492  csb 3880  cio 6305
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-nul 5201
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-fal 1541  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-nul 4289  df-sn 4558  df-pr 4560  df-uni 4831  df-iota 6307
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator