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

Theorem riotaxfrd 7141
Description: Change the variable 𝑥 in the expression for "the unique 𝑥 such that 𝜓 " to another variable 𝑦 contained in expression 𝐵. Use reuhypd 5313 to eliminate the last hypothesis. (Contributed by NM, 16-Jan-2012.) (Revised by Mario Carneiro, 15-Oct-2016.)
Hypotheses
Ref Expression
riotaxfrd.1 𝑦𝐶
riotaxfrd.2 ((𝜑𝑦𝐴) → 𝐵𝐴)
riotaxfrd.3 ((𝜑 ∧ (𝑦𝐴 𝜒) ∈ 𝐴) → 𝐶𝐴)
riotaxfrd.4 (𝑥 = 𝐵 → (𝜓𝜒))
riotaxfrd.5 (𝑦 = (𝑦𝐴 𝜒) → 𝐵 = 𝐶)
riotaxfrd.6 ((𝜑𝑥𝐴) → ∃!𝑦𝐴 𝑥 = 𝐵)
Assertion
Ref Expression
riotaxfrd ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝑥𝐴 𝜓) = 𝐶)
Distinct variable groups:   𝑥,𝐵   𝑥,𝐶   𝑥,𝑦,𝐴   𝜑,𝑥,𝑦   𝜓,𝑦   𝜒,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦)   𝐵(𝑦)   𝐶(𝑦)

Proof of Theorem riotaxfrd
StepHypRef Expression
1 rabid 3377 . . . 4 (𝑥 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴𝜓))
21baib 538 . . 3 (𝑥𝐴 → (𝑥 ∈ {𝑥𝐴𝜓} ↔ 𝜓))
32riotabiia 7127 . 2 (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = (𝑥𝐴 𝜓)
4 riotaxfrd.2 . . . . . 6 ((𝜑𝑦𝐴) → 𝐵𝐴)
5 riotaxfrd.6 . . . . . 6 ((𝜑𝑥𝐴) → ∃!𝑦𝐴 𝑥 = 𝐵)
6 riotaxfrd.4 . . . . . 6 (𝑥 = 𝐵 → (𝜓𝜒))
74, 5, 6reuxfr1ds 3738 . . . . 5 (𝜑 → (∃!𝑥𝐴 𝜓 ↔ ∃!𝑦𝐴 𝜒))
8 riotacl2 7123 . . . . . . . 8 (∃!𝑦𝐴 𝜒 → (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒})
98adantl 484 . . . . . . 7 ((𝜑 ∧ ∃!𝑦𝐴 𝜒) → (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒})
10 riotacl 7124 . . . . . . . 8 (∃!𝑦𝐴 𝜒 → (𝑦𝐴 𝜒) ∈ 𝐴)
11 nfriota1 7114 . . . . . . . . 9 𝑦(𝑦𝐴 𝜒)
12 riotaxfrd.1 . . . . . . . . 9 𝑦𝐶
13 riotaxfrd.5 . . . . . . . . 9 (𝑦 = (𝑦𝐴 𝜒) → 𝐵 = 𝐶)
1411, 12, 4, 6, 13rabxfrd 5311 . . . . . . . 8 ((𝜑 ∧ (𝑦𝐴 𝜒) ∈ 𝐴) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒}))
1510, 14sylan2 594 . . . . . . 7 ((𝜑 ∧ ∃!𝑦𝐴 𝜒) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒}))
169, 15mpbird 259 . . . . . 6 ((𝜑 ∧ ∃!𝑦𝐴 𝜒) → 𝐶 ∈ {𝑥𝐴𝜓})
1716ex 415 . . . . 5 (𝜑 → (∃!𝑦𝐴 𝜒𝐶 ∈ {𝑥𝐴𝜓}))
187, 17sylbid 242 . . . 4 (𝜑 → (∃!𝑥𝐴 𝜓𝐶 ∈ {𝑥𝐴𝜓}))
1918imp 409 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝐶 ∈ {𝑥𝐴𝜓})
20 riotaxfrd.3 . . . . . . . 8 ((𝜑 ∧ (𝑦𝐴 𝜒) ∈ 𝐴) → 𝐶𝐴)
2120ex 415 . . . . . . 7 (𝜑 → ((𝑦𝐴 𝜒) ∈ 𝐴𝐶𝐴))
2210, 21syl5 34 . . . . . 6 (𝜑 → (∃!𝑦𝐴 𝜒𝐶𝐴))
237, 22sylbid 242 . . . . 5 (𝜑 → (∃!𝑥𝐴 𝜓𝐶𝐴))
2423imp 409 . . . 4 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝐶𝐴)
251baibr 539 . . . . . . 7 (𝑥𝐴 → (𝜓𝑥 ∈ {𝑥𝐴𝜓}))
2625reubiia 3389 . . . . . 6 (∃!𝑥𝐴 𝜓 ↔ ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
2726biimpi 218 . . . . 5 (∃!𝑥𝐴 𝜓 → ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
2827adantl 484 . . . 4 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
29 nfcv 2976 . . . . 5 𝑥𝐶
30 nfrab1 3383 . . . . . 6 𝑥{𝑥𝐴𝜓}
3130nfel2 2995 . . . . 5 𝑥 𝐶 ∈ {𝑥𝐴𝜓}
32 eleq1 2899 . . . . 5 (𝑥 = 𝐶 → (𝑥 ∈ {𝑥𝐴𝜓} ↔ 𝐶 ∈ {𝑥𝐴𝜓}))
3329, 31, 32riota2f 7131 . . . 4 ((𝐶𝐴 ∧ ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶))
3424, 28, 33syl2anc 586 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶))
3519, 34mpbid 234 . 2 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶)
363, 35syl5eqr 2869 1 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝑥𝐴 𝜓) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1536  wcel 2113  wnfc 2960  ∃!wreu 3139  {crab 3141  crio 7106
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ral 3142  df-rex 3143  df-reu 3144  df-rmo 3145  df-rab 3146  df-v 3493  df-sbc 3769  df-un 3934  df-in 3936  df-ss 3945  df-sn 4561  df-pr 4563  df-uni 4832  df-iota 6307  df-riota 7107
This theorem is referenced by:  riotaneg  11613  zriotaneg  12090  riotaocN  36378
  Copyright terms: Public domain W3C validator