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

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

Proof of Theorem rexrnmpt2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 rngop.1 . . . . 5 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
21rnmpt2 5631 . . . 4 ran 𝐹 = {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}
32rexeqi 2554 . . 3 (∃𝑧 ∈ ran 𝐹𝜑 ↔ ∃𝑧 ∈ {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}𝜑)
4 eqeq1 2087 . . . . 5 (𝑤 = 𝑧 → (𝑤 = 𝐶𝑧 = 𝐶))
542rexbidv 2391 . . . 4 (𝑤 = 𝑧 → (∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶 ↔ ∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶))
65rexab 2754 . . 3 (∃𝑧 ∈ {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}𝜑 ↔ ∃𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
7 rexcom4 2622 . . . 4 (∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑧𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑))
8 r19.41v 2510 . . . . 5 (∃𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
98exbii 1536 . . . 4 (∃𝑧𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
107, 9bitr2i 183 . . 3 (∃𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
113, 6, 103bitri 204 . 2 (∃𝑧 ∈ ran 𝐹𝜑 ↔ ∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
12 rexcom4 2622 . . . . . 6 (∃𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∃𝑧𝑦𝐵 (𝑧 = 𝐶𝜑))
13 r19.41v 2510 . . . . . . 7 (∃𝑦𝐵 (𝑧 = 𝐶𝜑) ↔ (∃𝑦𝐵 𝑧 = 𝐶𝜑))
1413exbii 1536 . . . . . 6 (∃𝑧𝑦𝐵 (𝑧 = 𝐶𝜑) ↔ ∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
1512, 14bitri 182 . . . . 5 (∃𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
16 ralrnmpt2.2 . . . . . . . 8 (𝑧 = 𝐶 → (𝜑𝜓))
1716ceqsexgv 2724 . . . . . . 7 (𝐶𝑉 → (∃𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓))
1817ralimi 2426 . . . . . 6 (∀𝑦𝐵 𝐶𝑉 → ∀𝑦𝐵 (∃𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓))
19 rexbi 2490 . . . . . 6 (∀𝑦𝐵 (∃𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓) → (∃𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓))
2018, 19syl 14 . . . . 5 (∀𝑦𝐵 𝐶𝑉 → (∃𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓))
2115, 20syl5bbr 192 . . . 4 (∀𝑦𝐵 𝐶𝑉 → (∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓))
2221ralimi 2426 . . 3 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → ∀𝑥𝐴 (∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓))
23 rexbi 2490 . . 3 (∀𝑥𝐴 (∃𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑦𝐵 𝜓) → (∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑥𝐴𝑦𝐵 𝜓))
2422, 23syl 14 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → (∃𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∃𝑥𝐴𝑦𝐵 𝜓))
2511, 24syl5bb 190 1 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → (∃𝑧 ∈ ran 𝐹𝜑 ↔ ∃𝑥𝐴𝑦𝐵 𝜓))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103   = wceq 1284  wex 1421  wcel 1433  {cab 2067  wral 2348  wrex 2349  ran crn 4364  cmpt2 5534
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-pow 3948  ax-pr 3964
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-br 3786  df-opab 3840  df-cnv 4371  df-dm 4373  df-rn 4374  df-oprab 5536  df-mpt2 5537
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator