ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  rexrnmpo GIF version

Theorem rexrnmpo 5957
Description: A restricted quantifier over an image set. (Contributed by Mario Carneiro, 1-Sep-2015.)
Hypotheses
Ref Expression
rngop.1 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
ralrnmpo.2 (𝑧 = 𝐶 → (𝜑𝜓))
Assertion
Ref Expression
rexrnmpo (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → (∃𝑧 ∈ ran 𝐹𝜑 ↔ ∃𝑥𝐴𝑦𝐵 𝜓))
Distinct variable groups:   𝑦,𝑧,𝐴   𝑧,𝐵   𝑧,𝐶   𝑧,𝐹   𝜓,𝑧   𝑥,𝑦,𝑧   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑧)   𝜓(𝑥,𝑦)   𝐴(𝑥)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝑉(𝑥,𝑦,𝑧)

Proof of Theorem rexrnmpo
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 rngop.1 . . . . 5 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
21rnmpo 5952 . . . 4 ran 𝐹 = {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}
32rexeqi 2666 . . 3 (∃𝑧 ∈ ran 𝐹𝜑 ↔ ∃𝑧 ∈ {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}𝜑)
4 eqeq1 2172 . . . . 5 (𝑤 = 𝑧 → (𝑤 = 𝐶𝑧 = 𝐶))
542rexbidv 2491 . . . 4 (𝑤 = 𝑧 → (∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶 ↔ ∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶))
65rexab 2888 . . 3 (∃𝑧 ∈ {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}𝜑 ↔ ∃𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
7 rexcom4 2749 . . . 4 (∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑧𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑))
8 r19.41v 2622 . . . . 5 (∃𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
98exbii 1593 . . . 4 (∃𝑧𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
107, 9bitr2i 184 . . 3 (∃𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
113, 6, 103bitri 205 . 2 (∃𝑧 ∈ ran 𝐹𝜑 ↔ ∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
12 rexcom4 2749 . . . . . 6 (∃𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∃𝑧𝑦𝐵 (𝑧 = 𝐶𝜑))
13 r19.41v 2622 . . . . . . 7 (∃𝑦𝐵 (𝑧 = 𝐶𝜑) ↔ (∃𝑦𝐵 𝑧 = 𝐶𝜑))
1413exbii 1593 . . . . . 6 (∃𝑧𝑦𝐵 (𝑧 = 𝐶𝜑) ↔ ∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
1512, 14bitri 183 . . . . 5 (∃𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
16 ralrnmpo.2 . . . . . . . 8 (𝑧 = 𝐶 → (𝜑𝜓))
1716ceqsexgv 2855 . . . . . . 7 (𝐶𝑉 → (∃𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓))
1817ralimi 2529 . . . . . 6 (∀𝑦𝐵 𝐶𝑉 → ∀𝑦𝐵 (∃𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓))
19 rexbi 2599 . . . . . 6 (∀𝑦𝐵 (∃𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓) → (∃𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓))
2018, 19syl 14 . . . . 5 (∀𝑦𝐵 𝐶𝑉 → (∃𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓))
2115, 20bitr3id 193 . . . 4 (∀𝑦𝐵 𝐶𝑉 → (∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓))
2221ralimi 2529 . . 3 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → ∀𝑥𝐴 (∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓))
23 rexbi 2599 . . 3 (∀𝑥𝐴 (∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓) → (∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑥𝐴𝑦𝐵 𝜓))
2422, 23syl 14 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → (∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑥𝐴𝑦𝐵 𝜓))
2511, 24syl5bb 191 1 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → (∃𝑧 ∈ ran 𝐹𝜑 ↔ ∃𝑥𝐴𝑦𝐵 𝜓))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1343  wex 1480  wcel 2136  {cab 2151  wral 2444  wrex 2445  ran crn 4605  cmpo 5844
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-opab 4044  df-cnv 4612  df-dm 4614  df-rn 4615  df-oprab 5846  df-mpo 5847
This theorem is referenced by:  eltx  12899  txrest  12916  txlm  12919
  Copyright terms: Public domain W3C validator