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

Theorem ralrnmpo 7268
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
ralrnmpo (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → (∀𝑧 ∈ ran 𝐹𝜑 ↔ ∀𝑥𝐴𝑦𝐵 𝜓))
Distinct variable groups:   𝑦,𝑧,𝐴   𝑧,𝐵   𝑧,𝐶   𝑧,𝐹   𝜓,𝑧   𝑥,𝑦,𝑧   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑧)   𝜓(𝑥,𝑦)   𝐴(𝑥)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝑉(𝑥,𝑦,𝑧)

Proof of Theorem ralrnmpo
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 rngop.1 . . . . 5 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
21rnmpo 7263 . . . 4 ran 𝐹 = {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}
32raleqi 3362 . . 3 (∀𝑧 ∈ ran 𝐹𝜑 ↔ ∀𝑧 ∈ {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}𝜑)
4 eqeq1 2802 . . . . 5 (𝑤 = 𝑧 → (𝑤 = 𝐶𝑧 = 𝐶))
542rexbidv 3259 . . . 4 (𝑤 = 𝑧 → (∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶 ↔ ∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶))
65ralab 3632 . . 3 (∀𝑧 ∈ {𝑤 ∣ ∃𝑥𝐴𝑦𝐵 𝑤 = 𝐶}𝜑 ↔ ∀𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
7 ralcom4 3198 . . . 4 (∀𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∀𝑧𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑))
8 r19.23v 3238 . . . . 5 (∀𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
98albii 1821 . . . 4 (∀𝑧𝑥𝐴 (∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∀𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑))
107, 9bitr2i 279 . . 3 (∀𝑧(∃𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∀𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
113, 6, 103bitri 300 . 2 (∀𝑧 ∈ ran 𝐹𝜑 ↔ ∀𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
12 ralcom4 3198 . . . . . 6 (∀𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∀𝑧𝑦𝐵 (𝑧 = 𝐶𝜑))
13 r19.23v 3238 . . . . . . 7 (∀𝑦𝐵 (𝑧 = 𝐶𝜑) ↔ (∃𝑦𝐵 𝑧 = 𝐶𝜑))
1413albii 1821 . . . . . 6 (∀𝑧𝑦𝐵 (𝑧 = 𝐶𝜑) ↔ ∀𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
1512, 14bitri 278 . . . . 5 (∀𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∀𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑))
16 nfv 1915 . . . . . . . 8 𝑧𝜓
17 ralrnmpo.2 . . . . . . . 8 (𝑧 = 𝐶 → (𝜑𝜓))
1816, 17ceqsalg 3476 . . . . . . 7 (𝐶𝑉 → (∀𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓))
1918ralimi 3128 . . . . . 6 (∀𝑦𝐵 𝐶𝑉 → ∀𝑦𝐵 (∀𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓))
20 ralbi 3135 . . . . . 6 (∀𝑦𝐵 (∀𝑧(𝑧 = 𝐶𝜑) ↔ 𝜓) → (∀𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∀𝑦𝐵 𝜓))
2119, 20syl 17 . . . . 5 (∀𝑦𝐵 𝐶𝑉 → (∀𝑦𝐵𝑧(𝑧 = 𝐶𝜑) ↔ ∀𝑦𝐵 𝜓))
2215, 21bitr3id 288 . . . 4 (∀𝑦𝐵 𝐶𝑉 → (∀𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∀𝑦𝐵 𝜓))
2322ralimi 3128 . . 3 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → ∀𝑥𝐴 (∀𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∀𝑦𝐵 𝜓))
24 ralbi 3135 . . 3 (∀𝑥𝐴 (∀𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∀𝑦𝐵 𝜓) → (∀𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∀𝑥𝐴𝑦𝐵 𝜓))
2523, 24syl 17 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → (∀𝑥𝐴𝑧(∃𝑦𝐵 𝑧 = 𝐶𝜑) ↔ ∀𝑥𝐴𝑦𝐵 𝜓))
2611, 25syl5bb 286 1 (∀𝑥𝐴𝑦𝐵 𝐶𝑉 → (∀𝑧 ∈ ran 𝐹𝜑 ↔ ∀𝑥𝐴𝑦𝐵 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wal 1536   = wceq 1538  wcel 2111  {cab 2776  wral 3106  wrex 3107  ran crn 5520  cmpo 7137
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-cnv 5527  df-dm 5529  df-rn 5530  df-oprab 7139  df-mpo 7140
This theorem is referenced by:  rexrnmpo  7269  efgval2  18842  txcnp  22225  txcnmpt  22229  txflf  22611
  Copyright terms: Public domain W3C validator