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

Theorem riotaxfrd 7247
Description: Change the variable 𝑥 in the expression for "the unique 𝑥 such that 𝜓 " to another variable 𝑦 contained in expression 𝐵. Use reuhypd 5337 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 3304 . . . 4 (𝑥 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴𝜓))
21baib 535 . . 3 (𝑥𝐴 → (𝑥 ∈ {𝑥𝐴𝜓} ↔ 𝜓))
32riotabiia 7233 . 2 (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = (𝑥𝐴 𝜓)
4 riotaxfrd.2 . . . . . 6 ((𝜑𝑦𝐴) → 𝐵𝐴)
5 riotaxfrd.6 . . . . . 6 ((𝜑𝑥𝐴) → ∃!𝑦𝐴 𝑥 = 𝐵)
6 riotaxfrd.4 . . . . . 6 (𝑥 = 𝐵 → (𝜓𝜒))
74, 5, 6reuxfr1ds 3681 . . . . 5 (𝜑 → (∃!𝑥𝐴 𝜓 ↔ ∃!𝑦𝐴 𝜒))
8 riotacl2 7229 . . . . . . . 8 (∃!𝑦𝐴 𝜒 → (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒})
98adantl 481 . . . . . . 7 ((𝜑 ∧ ∃!𝑦𝐴 𝜒) → (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒})
10 riotacl 7230 . . . . . . . 8 (∃!𝑦𝐴 𝜒 → (𝑦𝐴 𝜒) ∈ 𝐴)
11 nfriota1 7219 . . . . . . . . 9 𝑦(𝑦𝐴 𝜒)
12 riotaxfrd.1 . . . . . . . . 9 𝑦𝐶
13 riotaxfrd.5 . . . . . . . . 9 (𝑦 = (𝑦𝐴 𝜒) → 𝐵 = 𝐶)
1411, 12, 4, 6, 13rabxfrd 5335 . . . . . . . 8 ((𝜑 ∧ (𝑦𝐴 𝜒) ∈ 𝐴) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒}))
1510, 14sylan2 592 . . . . . . 7 ((𝜑 ∧ ∃!𝑦𝐴 𝜒) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒}))
169, 15mpbird 256 . . . . . 6 ((𝜑 ∧ ∃!𝑦𝐴 𝜒) → 𝐶 ∈ {𝑥𝐴𝜓})
1716ex 412 . . . . 5 (𝜑 → (∃!𝑦𝐴 𝜒𝐶 ∈ {𝑥𝐴𝜓}))
187, 17sylbid 239 . . . 4 (𝜑 → (∃!𝑥𝐴 𝜓𝐶 ∈ {𝑥𝐴𝜓}))
1918imp 406 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝐶 ∈ {𝑥𝐴𝜓})
20 riotaxfrd.3 . . . . . . . 8 ((𝜑 ∧ (𝑦𝐴 𝜒) ∈ 𝐴) → 𝐶𝐴)
2120ex 412 . . . . . . 7 (𝜑 → ((𝑦𝐴 𝜒) ∈ 𝐴𝐶𝐴))
2210, 21syl5 34 . . . . . 6 (𝜑 → (∃!𝑦𝐴 𝜒𝐶𝐴))
237, 22sylbid 239 . . . . 5 (𝜑 → (∃!𝑥𝐴 𝜓𝐶𝐴))
2423imp 406 . . . 4 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝐶𝐴)
251baibr 536 . . . . . . 7 (𝑥𝐴 → (𝜓𝑥 ∈ {𝑥𝐴𝜓}))
2625reubiia 3316 . . . . . 6 (∃!𝑥𝐴 𝜓 ↔ ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
2726biimpi 215 . . . . 5 (∃!𝑥𝐴 𝜓 → ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
2827adantl 481 . . . 4 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
29 nfcv 2906 . . . . 5 𝑥𝐶
30 nfrab1 3310 . . . . . 6 𝑥{𝑥𝐴𝜓}
3130nfel2 2924 . . . . 5 𝑥 𝐶 ∈ {𝑥𝐴𝜓}
32 eleq1 2826 . . . . 5 (𝑥 = 𝐶 → (𝑥 ∈ {𝑥𝐴𝜓} ↔ 𝐶 ∈ {𝑥𝐴𝜓}))
3329, 31, 32riota2f 7237 . . . 4 ((𝐶𝐴 ∧ ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶))
3424, 28, 33syl2anc 583 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶))
3519, 34mpbid 231 . 2 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶)
363, 35eqtr3id 2793 1 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝑥𝐴 𝜓) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wnfc 2886  ∃!wreu 3065  {crab 3067  crio 7211
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-un 3888  df-in 3890  df-ss 3900  df-sn 4559  df-pr 4561  df-uni 4837  df-iota 6376  df-riota 7212
This theorem is referenced by:  riotaneg  11884  zriotaneg  12364  riotaocN  37150
  Copyright terms: Public domain W3C validator