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

Theorem riotaxfrd 7412
Description: Change the variable 𝑥 in the expression for "the unique 𝑥 such that 𝜓 " to another variable 𝑦 contained in expression 𝐵. Use reuhypd 5380 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 3432 . . . 4 (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (𝑥 ∈ 𝐴 ∧ 𝜓))
21baib 545 . . 3 (𝑥 ∈ 𝐴 → (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ 𝜓))
32riotabiia 7398 . 2 (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = (℩𝑥 ∈ 𝐴 𝜓)
4 riotaxfrd.2 . . . . . 6 ((𝜑 ∧ 𝑦 ∈ 𝐴) → 𝐵 ∈ 𝐴)
5 riotaxfrd.6 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → ∃!𝑦 ∈ 𝐴 𝑥 = 𝐵)
6 riotaxfrd.4 . . . . . 6 (𝑥 = 𝐵 → (𝜓 ↔ 𝜒))
74, 5, 6reuxfr1ds 3708 . . . . 5 (𝜑 → (∃!𝑥 ∈ 𝐴 𝜓 ↔ ∃!𝑦 ∈ 𝐴 𝜒))
8 riotacl2 7394 . . . . . . . 8 (∃!𝑦 ∈ 𝐴 𝜒 → (℩𝑦 ∈ 𝐴 𝜒) ∈ {𝑦 ∈ 𝐴 ∣ 𝜒})
98adantl 487 . . . . . . 7 ((𝜑 ∧ ∃!𝑦 ∈ 𝐴 𝜒) → (℩𝑦 ∈ 𝐴 𝜒) ∈ {𝑦 ∈ 𝐴 ∣ 𝜒})
10 riotacl 7395 . . . . . . . 8 (∃!𝑦 ∈ 𝐴 𝜒 → (℩𝑦 ∈ 𝐴 𝜒) ∈ 𝐴)
11 nfriota1 7385 . . . . . . . . 9 Ⅎ𝑦(℩𝑦 ∈ 𝐴 𝜒)
12 riotaxfrd.1 . . . . . . . . 9 Ⅎ𝑦𝐶
13 riotaxfrd.5 . . . . . . . . 9 (𝑦 = (℩𝑦 ∈ 𝐴 𝜒) → 𝐵 = 𝐶)
1411, 12, 4, 6, 13rabxfrd 5378 . . . . . . . 8 ((𝜑 ∧ (℩𝑦 ∈ 𝐴 𝜒) ∈ 𝐴) → (𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (℩𝑦 ∈ 𝐴 𝜒) ∈ {𝑦 ∈ 𝐴 ∣ 𝜒}))
1510, 14sylan2 605 . . . . . . 7 ((𝜑 ∧ ∃!𝑦 ∈ 𝐴 𝜒) → (𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (℩𝑦 ∈ 𝐴 𝜒) ∈ {𝑦 ∈ 𝐴 ∣ 𝜒}))
169, 15mpbird 260 . . . . . 6 ((𝜑 ∧ ∃!𝑦 ∈ 𝐴 𝜒) → 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓})
1716ex 418 . . . . 5 (𝜑 → (∃!𝑦 ∈ 𝐴 𝜒 → 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}))
187, 17sylbid 243 . . . 4 (𝜑 → (∃!𝑥 ∈ 𝐴 𝜓 → 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}))
1918imp 412 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓})
20 riotaxfrd.3 . . . . . . . 8 ((𝜑 ∧ (℩𝑦 ∈ 𝐴 𝜒) ∈ 𝐴) → 𝐶 ∈ 𝐴)
2120ex 418 . . . . . . 7 (𝜑 → ((℩𝑦 ∈ 𝐴 𝜒) ∈ 𝐴 → 𝐶 ∈ 𝐴))
2210, 21syl5 35 . . . . . 6 (𝜑 → (∃!𝑦 ∈ 𝐴 𝜒 → 𝐶 ∈ 𝐴))
237, 22sylbid 243 . . . . 5 (𝜑 → (∃!𝑥 ∈ 𝐴 𝜓 → 𝐶 ∈ 𝐴))
2423imp 412 . . . 4 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → 𝐶 ∈ 𝐴)
251baibr 546 . . . . . 6 (𝑥 ∈ 𝐴 → (𝜓 ↔ 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}))
2625reubiia 3372 . . . . 5 (∃!𝑥 ∈ 𝐴 𝜓 ↔ ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓})
2726bilani 510 . . . 4 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓})
28 nfcv 2922 . . . . 5 Ⅎ𝑥𝐶
29 nfrab1 3431 . . . . . 6 Ⅎ𝑥{𝑥 ∈ 𝐴 ∣ 𝜓}
3029nfel2 2940 . . . . 5 Ⅎ𝑥 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}
31 eleq1 2848 . . . . 5 (𝑥 = 𝐶 → (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}))
3228, 30, 31riota2f 7402 . . . 4 ((𝐶 ∈ 𝐴 ∧ ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) → (𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶))
3324, 27, 32syl2anc 596 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶))
3419, 33mpbid 235 . 2 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶)
353, 34eqtr3id 2809 1 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (℩𝑥 ∈ 𝐴 𝜓) = 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Ⅎwnfc 2907  ∃!wreu 3363  {crab 3412  ℩crio 7377
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-un 4151  df-sn 4585  df-pr 4587  df-uni 4867  df-iota 6494  df-riota 7378
This theorem is used by:  riotaneg  12300  zriotaneg  12816  riotaocN  40360
  Copyright terms: Public domain W3C validator