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 35871
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 2739 . . . . 5 (𝜓𝐶 = 𝐶)
21ancli 549 . . . 4 (𝜓 → (𝜓𝐶 = 𝐶))
3 unirep.1 . . . . . 6 (𝑦 = 𝐷 → (𝜑𝜓))
4 unirep.2 . . . . . . 7 (𝑦 = 𝐷𝐵 = 𝐶)
54eqeq2d 2749 . . . . . 6 (𝑦 = 𝐷 → (𝐶 = 𝐵𝐶 = 𝐶))
63, 5anbi12d 631 . . . . 5 (𝑦 = 𝐷 → ((𝜑𝐶 = 𝐵) ↔ (𝜓𝐶 = 𝐶)))
76rspcev 3561 . . . 4 ((𝐷𝐴 ∧ (𝜓𝐶 = 𝐶)) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
82, 7sylan2 593 . . 3 ((𝐷𝐴𝜓) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
98adantl 482 . 2 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃𝑦𝐴 (𝜑𝐶 = 𝐵))
10 nfcvd 2908 . . . . . 6 (𝐷𝐴𝑦𝐶)
1110, 4csbiegf 3866 . . . . 5 (𝐷𝐴𝐷 / 𝑦𝐵 = 𝐶)
12 unirep.5 . . . . . 6 𝐵 ∈ V
1312csbex 5235 . . . . 5 𝐷 / 𝑦𝐵 ∈ V
1411, 13eqeltrrdi 2848 . . . 4 (𝐷𝐴𝐶 ∈ V)
1514ad2antrl 725 . . 3 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → 𝐶 ∈ V)
16 eqeq1 2742 . . . . . . . . . . 11 (𝑥 = 𝐶 → (𝑥 = 𝐵𝐶 = 𝐵))
1716anbi2d 629 . . . . . . . . . 10 (𝑥 = 𝐶 → ((𝜑𝑥 = 𝐵) ↔ (𝜑𝐶 = 𝐵)))
1817rexbidv 3226 . . . . . . . . 9 (𝑥 = 𝐶 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑦𝐴 (𝜑𝐶 = 𝐵)))
1918spcegv 3536 . . . . . . . 8 (𝐶 ∈ V → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
2014, 19syl 17 . . . . . . 7 (𝐷𝐴 → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
2120adantr 481 . . . . . 6 ((𝐷𝐴𝜓) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)))
228, 21mpd 15 . . . . 5 ((𝐷𝐴𝜓) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
2322adantl 482 . . . 4 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
24 r19.29 3184 . . . . . . . 8 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑦𝐴 (𝜑𝑥 = 𝐵)) → ∃𝑦𝐴 (∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)))
25 r19.29 3184 . . . . . . . . . . . 12 ((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → ∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)))
26 an4 653 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 = 𝐵) ∧ (𝜒𝑤 = 𝐹)) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐵𝑤 = 𝐹)))
27 pm3.35 800 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝜒) ∧ ((𝜑𝜒) → 𝐵 = 𝐹)) → 𝐵 = 𝐹)
28 eqeq12 2755 . . . . . . . . . . . . . . . . . . . 20 ((𝑥 = 𝐵𝑤 = 𝐹) → (𝑥 = 𝑤𝐵 = 𝐹))
2927, 28syl5ibrcom 246 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝜒) ∧ ((𝜑𝜒) → 𝐵 = 𝐹)) → ((𝑥 = 𝐵𝑤 = 𝐹) → 𝑥 = 𝑤))
3029ancoms 459 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝜒)) → ((𝑥 = 𝐵𝑤 = 𝐹) → 𝑥 = 𝑤))
3130expimpd 454 . . . . . . . . . . . . . . . . 17 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜑𝜒) ∧ (𝑥 = 𝐵𝑤 = 𝐹)) → 𝑥 = 𝑤))
3226, 31syl5bi 241 . . . . . . . . . . . . . . . 16 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜑𝑥 = 𝐵) ∧ (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
3332ancomsd 466 . . . . . . . . . . . . . . 15 (((𝜑𝜒) → 𝐵 = 𝐹) → (((𝜒𝑤 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤))
3433expdimp 453 . . . . . . . . . . . . . 14 ((((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) → ((𝜑𝑥 = 𝐵) → 𝑥 = 𝑤))
3534rexlimivw 3211 . . . . . . . . . . . . 13 (∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) → ((𝜑𝑥 = 𝐵) → 𝑥 = 𝑤))
3635imp 407 . . . . . . . . . . . 12 ((∃𝑧𝐴 (((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜒𝑤 = 𝐹)) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤)
3725, 36sylan 580 . . . . . . . . . . 11 (((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) ∧ (𝜑𝑥 = 𝐵)) → 𝑥 = 𝑤)
3837an32s 649 . . . . . . . . . 10 (((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤)
3938ex 413 . . . . . . . . 9 ((∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4039rexlimivw 3211 . . . . . . . 8 (∃𝑦𝐴 (∀𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4124, 40syl 17 . . . . . . 7 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ ∃𝑦𝐴 (𝜑𝑥 = 𝐵)) → (∃𝑧𝐴 (𝜒𝑤 = 𝐹) → 𝑥 = 𝑤))
4241expimpd 454 . . . . . 6 (∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) → ((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
4342adantr 481 . . . . 5 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
4443alrimivv 1931 . . . 4 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∀𝑥𝑤((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤))
45 eqeq1 2742 . . . . . . . 8 (𝑥 = 𝑤 → (𝑥 = 𝐵𝑤 = 𝐵))
4645anbi2d 629 . . . . . . 7 (𝑥 = 𝑤 → ((𝜑𝑥 = 𝐵) ↔ (𝜑𝑤 = 𝐵)))
4746rexbidv 3226 . . . . . 6 (𝑥 = 𝑤 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑦𝐴 (𝜑𝑤 = 𝐵)))
48 unirep.3 . . . . . . . 8 (𝑦 = 𝑧 → (𝜑𝜒))
49 unirep.4 . . . . . . . . 9 (𝑦 = 𝑧𝐵 = 𝐹)
5049eqeq2d 2749 . . . . . . . 8 (𝑦 = 𝑧 → (𝑤 = 𝐵𝑤 = 𝐹))
5148, 50anbi12d 631 . . . . . . 7 (𝑦 = 𝑧 → ((𝜑𝑤 = 𝐵) ↔ (𝜒𝑤 = 𝐹)))
5251cbvrexvw 3384 . . . . . 6 (∃𝑦𝐴 (𝜑𝑤 = 𝐵) ↔ ∃𝑧𝐴 (𝜒𝑤 = 𝐹))
5347, 52bitrdi 287 . . . . 5 (𝑥 = 𝑤 → (∃𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)))
5453eu4 2617 . . . 4 (∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵) ↔ (∃𝑥𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∀𝑥𝑤((∃𝑦𝐴 (𝜑𝑥 = 𝐵) ∧ ∃𝑧𝐴 (𝜒𝑤 = 𝐹)) → 𝑥 = 𝑤)))
5523, 44, 54sylanbrc 583 . . 3 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → ∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵))
5618iota2 6422 . . 3 ((𝐶 ∈ V ∧ ∃!𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) ↔ (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶))
5715, 55, 56syl2anc 584 . 2 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → (∃𝑦𝐴 (𝜑𝐶 = 𝐵) ↔ (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶))
589, 57mpbid 231 1 ((∀𝑦𝐴𝑧𝐴 ((𝜑𝜒) → 𝐵 = 𝐹) ∧ (𝐷𝐴𝜓)) → (℩𝑥𝑦𝐴 (𝜑𝑥 = 𝐵)) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wex 1782  wcel 2106  ∃!weu 2568  wral 3064  wrex 3065  Vcvv 3432  csb 3832  cio 6389
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-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-nul 5230
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-sn 4562  df-pr 4564  df-uni 4840  df-iota 6391
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator