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

Theorem riotaxfrd 7148
Description: Change the variable 𝑥 in the expression for "the unique 𝑥 such that 𝜓 " to another variable 𝑦 contained in expression 𝐵. Use reuhypd 5320 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 3378 . . . 4 (𝑥 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴𝜓))
21baib 538 . . 3 (𝑥𝐴 → (𝑥 ∈ {𝑥𝐴𝜓} ↔ 𝜓))
32riotabiia 7134 . 2 (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = (𝑥𝐴 𝜓)
4 riotaxfrd.2 . . . . . 6 ((𝜑𝑦𝐴) → 𝐵𝐴)
5 riotaxfrd.6 . . . . . 6 ((𝜑𝑥𝐴) → ∃!𝑦𝐴 𝑥 = 𝐵)
6 riotaxfrd.4 . . . . . 6 (𝑥 = 𝐵 → (𝜓𝜒))
74, 5, 6reuxfr1ds 3742 . . . . 5 (𝜑 → (∃!𝑥𝐴 𝜓 ↔ ∃!𝑦𝐴 𝜒))
8 riotacl2 7130 . . . . . . . 8 (∃!𝑦𝐴 𝜒 → (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒})
98adantl 484 . . . . . . 7 ((𝜑 ∧ ∃!𝑦𝐴 𝜒) → (𝑦𝐴 𝜒) ∈ {𝑦𝐴𝜒})
10 riotacl 7131 . . . . . . . 8 (∃!𝑦𝐴 𝜒 → (𝑦𝐴 𝜒) ∈ 𝐴)
11 nfriota1 7121 . . . . . . . . 9 𝑦(𝑦𝐴 𝜒)
12 riotaxfrd.1 . . . . . . . . 9 𝑦𝐶
13 riotaxfrd.5 . . . . . . . . 9 (𝑦 = (𝑦𝐴 𝜒) → 𝐵 = 𝐶)
1411, 12, 4, 6, 13rabxfrd 5318 . . . . . . . 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 3390 . . . . . 6 (∃!𝑥𝐴 𝜓 ↔ ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
2726biimpi 218 . . . . 5 (∃!𝑥𝐴 𝜓 → ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
2827adantl 484 . . . 4 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓})
29 nfcv 2977 . . . . 5 𝑥𝐶
30 nfrab1 3384 . . . . . 6 𝑥{𝑥𝐴𝜓}
3130nfel2 2996 . . . . 5 𝑥 𝐶 ∈ {𝑥𝐴𝜓}
32 eleq1 2900 . . . . 5 (𝑥 = 𝐶 → (𝑥 ∈ {𝑥𝐴𝜓} ↔ 𝐶 ∈ {𝑥𝐴𝜓}))
3329, 31, 32riota2f 7138 . . . 4 ((𝐶𝐴 ∧ ∃!𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶))
3424, 28, 33syl2anc 586 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝐶 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶))
3519, 34mpbid 234 . 2 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝑥𝐴 𝑥 ∈ {𝑥𝐴𝜓}) = 𝐶)
363, 35syl5eqr 2870 1 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝑥𝐴 𝜓) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wnfc 2961  ∃!wreu 3140  {crab 3142  crio 7113
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-un 3941  df-in 3943  df-ss 3952  df-sn 4568  df-pr 4570  df-uni 4839  df-iota 6314  df-riota 7114
This theorem is referenced by:  riotaneg  11620  zriotaneg  12097  riotaocN  36360
  Copyright terms: Public domain W3C validator