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

Theorem riotaxfrd 7458
Description: Change the variable 𝑥 in the expression for "the unique 𝑥 such that 𝜓 " to another variable 𝑦 contained in expression 𝐵. Use reuhypd 5396 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 3443 . . . 4 (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (𝑥 ∈ 𝐴 ∧ 𝜓))
21baib 545 . . 3 (𝑥 ∈ 𝐴 → (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ 𝜓))
32riotabiia 7444 . 2 (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = (℩𝑥 ∈ 𝐴 𝜓)
4 riotaxfrd.2 . . . . . 6 ((𝜑 ∧ 𝑦 ∈ 𝐴) → 𝐵 ∈ 𝐴)
5 riotaxfrd.6 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → ∃!𝑦 ∈ 𝐴 𝑥 = 𝐵)
6 riotaxfrd.4 . . . . . 6 (𝑥 = 𝐵 → (𝜓 ↔ 𝜒))
74, 5, 6reuxfr1ds 3719 . . . . 5 (𝜑 → (∃!𝑥 ∈ 𝐴 𝜓 ↔ ∃!𝑦 ∈ 𝐴 𝜒))
8 riotacl2 7439 . . . . . . . 8 (∃!𝑦 ∈ 𝐴 𝜒 → (℩𝑦 ∈ 𝐴 𝜒) ∈ {𝑦 ∈ 𝐴 ∣ 𝜒})
98adantl 487 . . . . . . 7 ((𝜑 ∧ ∃!𝑦 ∈ 𝐴 𝜒) → (℩𝑦 ∈ 𝐴 𝜒) ∈ {𝑦 ∈ 𝐴 ∣ 𝜒})
10 riotacl 7440 . . . . . . . 8 (∃!𝑦 ∈ 𝐴 𝜒 → (℩𝑦 ∈ 𝐴 𝜒) ∈ 𝐴)
11 nfriota1 7430 . . . . . . . . 9 Ⅎ𝑦(℩𝑦 ∈ 𝐴 𝜒)
12 riotaxfrd.1 . . . . . . . . 9 Ⅎ𝑦𝐶
13 riotaxfrd.5 . . . . . . . . 9 (𝑦 = (℩𝑦 ∈ 𝐴 𝜒) → 𝐵 = 𝐶)
1411, 12, 4, 6, 13rabxfrd 5394 . . . . . . . 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 3383 . . . . 5 (∃!𝑥 ∈ 𝐴 𝜓 ↔ ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓})
2726bilani 510 . . . 4 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓})
28 nfcv 2937 . . . . 5 Ⅎ𝑥𝐶
29 nfrab1 3442 . . . . . 6 Ⅎ𝑥{𝑥 ∈ 𝐴 ∣ 𝜓}
3029nfel2 2955 . . . . 5 Ⅎ𝑥 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}
31 eleq1 2863 . . . . 5 (𝑥 = 𝐶 → (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ 𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}))
3228, 30, 31riota2f 7448 . . . 4 ((𝐶 ∈ 𝐴 ∧ ∃!𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) → (𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶))
3324, 27, 32syl2anc 596 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (𝐶 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶))
3419, 33mpbid 235 . 2 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (℩𝑥 ∈ 𝐴 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}) = 𝐶)
353, 34eqtr3id 2823 1 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (℩𝑥 ∈ 𝐴 𝜓) = 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  Ⅎwnfc 2922  ∃!wreu 3374  {crab 3423  ℩crio 7422
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-un 4161  df-sn 4596  df-pr 4598  df-uni 4881  df-iota 6532  df-riota 7423
This theorem is used by:  riotaneg  12352  zriotaneg  12868  riotaocN  40615
  Copyright terms: Public domain W3C validator