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 35608
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 2738 . . . . 5 (𝜓𝐶 = 𝐶)
21ancli 552 . . . 4 (𝜓 → (𝜓𝐶 = 𝐶))
3 unirep.1 . . . . . 6 (𝑦 = 𝐷 → (𝜑𝜓))
4 unirep.2 . . . . . . 7 (𝑦 = 𝐷𝐵 = 𝐶)
54eqeq2d 2748 . . . . . 6 (𝑦 = 𝐷 → (𝐶 = 𝐵𝐶 = 𝐶))
63, 5anbi12d 634 . . . . 5 (𝑦 = 𝐷 → ((𝜑𝐶 = 𝐵) ↔ (𝜓𝐶 = 𝐶)))
76rspcev 3537 . . . 4 ((𝐷𝐴 ∧ (𝜓𝐶 = 𝐶)) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
82, 7sylan2 596 . . 3 ((𝐷𝐴𝜓) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
98adantl 485 . 2 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
10 nfcvd 2905 . . . . . 6 (𝐷𝐴𝑦𝐶)
1110, 4csbiegf 3845 . . . . 5 (𝐷𝐴𝐷 / 𝑦𝐵 = 𝐶)
12 unirep.5 . . . . . 6 𝐵 ∈ V
1312csbex 5204 . . . . 5 𝐷 / 𝑦𝐵 ∈ V
1411, 13eqeltrrdi 2847 . . . 4 (𝐷𝐴𝐶 ∈ V)
1514ad2antrl 728 . . 3 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → 𝐶 ∈ V)
16 eqeq1 2741 . . . . . . . . . . 11 (𝑥 = 𝐶 → (𝑥 = 𝐵𝐶 = 𝐵))
1716anbi2d 632 . . . . . . . . . 10 (𝑥 = 𝐶 → ((𝜑𝑥 = 𝐵) ↔ (𝜑𝐶 = 𝐵)))
1817rexbidv 3216 . . . . . . . . 9 (𝑥 = 𝐶 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑦𝐴 (𝜑𝐶 = 𝐵)))
1918spcegv 3512 . . . . . . . 8 (𝐶 ∈ V → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
2014, 19syl 17 . . . . . . 7 (𝐷𝐴 → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
2120adantr 484 . . . . . 6 ((𝐷𝐴𝜓) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
228, 21mpd 15 . . . . 5 ((𝐷𝐴𝜓) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
2322adantl 485 . . . 4 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
24 r19.29 3176 . . . . . . . 8 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑦𝐴 (𝜑𝑥 = 𝐵)) → ∃𝑦𝐴 (∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)))
25 r19.29 3176 . . . . . . . . . . . 12 ((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → ∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)))
26 an4 656 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = 𝐵) ∧ (𝜒𝑤 = 𝐹)) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐵𝑤 = 𝐹)))
27 pm3.35 803 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝜒) ∧ ((𝜑𝜒) → 𝐵 = 𝐹)) → 𝐵 = 𝐹)
28 eqeq12 2754 . . . . . . . . . . . . . . . . . . . 20 ((𝑥 = 𝐵𝑤 = 𝐹) → (𝑥 = 𝑤𝐵 = 𝐹))
2927, 28syl5ibrcom 250 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝜒) ∧ ((𝜑𝜒) → 𝐵 = 𝐹)) → ((𝑥 = 𝐵𝑤 = 𝐹) → 𝑥 = 𝑤))
3029ancoms 462 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝜒)) → ((𝑥 = 𝐵𝑤 = 𝐹) → 𝑥 = 𝑤))
3130expimpd 457 . . . . . . . . . . . . . . . . 17 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜑𝜒) ∧ (𝑥 = 𝐵𝑤 = 𝐹)) → 𝑥 = 𝑤))
3226, 31syl5bi 245 . . . . . . . . . . . . . . . 16 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜑𝑥 = 𝐵) ∧ (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
3332ancomsd 469 . . . . . . . . . . . . . . 15 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜒𝑤 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤))
3433expdimp 456 . . . . . . . . . . . . . 14 ((((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) → ((𝜑𝑥 = 𝐵) → 𝑥 = 𝑤))
3534rexlimivw 3201 . . . . . . . . . . . . 13 (∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) → ((𝜑𝑥 = 𝐵) → 𝑥 = 𝑤))
3635imp 410 . . . . . . . . . . . 12 ((∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤)
3725, 36sylan 583 . . . . . . . . . . 11 (((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤)
3837an32s 652 . . . . . . . . . 10 (((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤)
3938ex 416 . . . . . . . . 9 ((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4039rexlimivw 3201 . . . . . . . 8 (∃𝑦𝐴 (∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4124, 40syl 17 . . . . . . 7 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑦𝐴 (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4241expimpd 457 . . . . . 6 (∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) → ((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
4342adantr 484 . . . . 5 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
4443alrimivv 1936 . . . 4 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∀𝑥𝑤((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
45 eqeq1 2741 . . . . . . . 8 (𝑥 = 𝑤 → (𝑥 = 𝐵𝑤 = 𝐵))
4645anbi2d 632 . . . . . . 7 (𝑥 = 𝑤 → ((𝜑𝑥 = 𝐵) ↔ (𝜑𝑤 = 𝐵)))
4746rexbidv 3216 . . . . . 6 (𝑥 = 𝑤 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑦𝐴 (𝜑𝑤 = 𝐵)))
48 unirep.3 . . . . . . . 8 (𝑦 = 𝑧 → (𝜑𝜒))
49 unirep.4 . . . . . . . . 9 (𝑦 = 𝑧𝐵 = 𝐹)
5049eqeq2d 2748 . . . . . . . 8 (𝑦 = 𝑧 → (𝑤 = 𝐵𝑤 = 𝐹))
5148, 50anbi12d 634 . . . . . . 7 (𝑦 = 𝑧 → ((𝜑𝑤 = 𝐵) ↔ (𝜒𝑤 = 𝐹)))
5251cbvrexvw 3359 . . . . . 6 (∃𝑦𝐴 (𝜑𝑤 = 𝐵) ↔ ∃𝑧𝐴 (𝜒𝑤 = 𝐹))
5347, 52bitrdi 290 . . . . 5 (𝑥 = 𝑤 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)))
5453eu4 2616 . . . 4 (∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ (∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∀𝑥𝑤((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤)))
5523, 44, 54sylanbrc 586 . . 3 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
5618iota2 6369 . . 3 ((𝐶 ∈ V ∧ ∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) ↔ (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶))
5715, 55, 56syl2anc 587 . 2 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) ↔ (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶))
589, 57mpbid 235 1 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1541   = wceq 1543  wex 1787  wcel 2110  ∃!weu 2567  wral 3061  wrex 3062  Vcvv 3408  csb 3811  cio 6336
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-nul 5199
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ral 3066  df-rex 3067  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-sn 4542  df-pr 4544  df-uni 4820  df-iota 6338
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator