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

Theorem riotaxfrd 7409
Description: Change the variable 𝑥 in the expression for "the unique 𝑥 such that 𝜓 " to another variable 𝑦 contained in expression 𝐵. Use reuhypd 5381 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 3433 . . . 4 (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (𝑥 ∈ 𝐴 ∧ 𝜓))
21baib 545 . . 3 (𝑥 ∈ 𝐴 → (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ 𝜓))
32riotabiia 7395 . 2 (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = (℩𝑥 ∈ 𝐴 𝜓)
4 riotaxfrd.2 . . . . . 6 ((𝜑 ∧ 𝑦 ∈ 𝐴) → 𝐵 ∈ 𝐴)
5 riotaxfrd.6 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → ∃!𝑦 ∈ 𝐴 𝑥 = 𝐵)
6 riotaxfrd.4 . . . . . 6 (𝑥 = 𝐵 → (𝜓 ↔ 𝜒))
74, 5, 6reuxfr1ds 3709 . . . . 5 (𝜑 → (∃!𝑥 ∈ 𝐴 𝜓 ↔ ∃!𝑦 ∈ 𝐴 𝜒))
8 riotacl2 7391 . . . . . . . 8 (∃!𝑦 ∈ 𝐴 𝜒 → (℩𝑦 ∈ 𝐴 𝜒) ∈ {𝑦 ∈ 𝐴 ∣ 𝜒})
98adantl 487 . . . . . . 7 ((𝜑 ∧ ∃!𝑦 ∈ 𝐴 𝜒) → (℩𝑦 ∈ 𝐴 𝜒) ∈ {𝑦 ∈ 𝐴 ∣ 𝜒})
10 riotacl 7392 . . . . . . . 8 (∃!𝑦 ∈ 𝐴 𝜒 → (℩𝑦 ∈ 𝐴 𝜒) ∈ 𝐴)
11 nfriota1 7382 . . . . . . . . 9 Ⅎ𝑦(℩𝑦 ∈ 𝐴 𝜒)
12 riotaxfrd.1 . . . . . . . . 9 Ⅎ𝑦𝐶
13 riotaxfrd.5 . . . . . . . . 9 (𝑦 = (℩𝑦 ∈ 𝐴 𝜒) → 𝐵 = 𝐶)
1411, 12, 4, 6, 13rabxfrd 5379 . . . . . . . 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 3373 . . . . 5 (∃!𝑥 ∈ 𝐴 𝜓 ↔ ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓})
2726bilani 510 . . . 4 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓})
28 nfcv 2923 . . . . 5 Ⅎ𝑥𝐶
29 nfrab1 3432 . . . . . 6 Ⅎ𝑥{𝑥 ∈ 𝐴 ∣ 𝜓}
3029nfel2 2941 . . . . 5 Ⅎ𝑥 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}
31 eleq1 2849 . . . . 5 (𝑥 = 𝐶 → (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}))
3228, 30, 31riota2f 7399 . . . 4 ((𝐶 ∈ 𝐴 ∧ ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) → (𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶))
3324, 27, 32syl2anc 596 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶))
3419, 33mpbid 235 . 2 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶)
353, 34eqtr3id 2810 1 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (℩𝑥 ∈ 𝐴 𝜓) = 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Ⅎwnfc 2908  ∃!wreu 3364  {crab 3413  ℩crio 7374
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-un 3904  df-ss 3916  df-sn 4585  df-pr 4587  df-uni 4868  df-iota 6493  df-riota 7375
This theorem is used by:  riotaneg  12289  zriotaneg  12805  riotaocN  40246
  Copyright terms: Public domain W3C validator