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

Theorem ralrnmpo 7580
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 7573 . . . 4 ran 𝐹 = {𝑤 ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑤 = 𝐶}
32raleqi 3321 . . 3 (∀𝑧 ∈ ran 𝐹𝜑 ↔ ∀𝑧 ∈ {𝑤 ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑤 = 𝐶}𝜑)
4 eqeq1 2767 . . . . 5 (𝑤 = 𝑧 → (𝑤 = 𝐶 ↔ 𝑧 = 𝐶))
542rexbidv 3231 . . . 4 (𝑤 = 𝑧 → (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑤 = 𝐶 ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 = 𝐶))
65ralab 3654 . . 3 (∀𝑧 ∈ {𝑤 ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑤 = 𝐶}𝜑 ↔ ∀𝑧(∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
7 ralcom4 3292 . . . 4 (∀𝑥 ∈ 𝐴 ∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ ∀𝑧∀𝑥 ∈ 𝐴 (∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
8 r19.23v 3193 . . . . 5 (∀𝑥 ∈ 𝐴 (∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
98albii 1852 . . . 4 (∀𝑧∀𝑥 ∈ 𝐴 (∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ ∀𝑧(∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
107, 9bitr2i 279 . . 3 (∀𝑧(∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ ∀𝑥 ∈ 𝐴 ∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
113, 6, 103bitri 300 . 2 (∀𝑧 ∈ ran 𝐹𝜑 ↔ ∀𝑥 ∈ 𝐴 ∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
12 ralcom4 3292 . . . . . 6 (∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 → 𝜑) ↔ ∀𝑧∀𝑦 ∈ 𝐵 (𝑧 = 𝐶 → 𝜑))
13 r19.23v 3193 . . . . . . 7 (∀𝑦 ∈ 𝐵 (𝑧 = 𝐶 → 𝜑) ↔ (∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
1413albii 1852 . . . . . 6 (∀𝑧∀𝑦 ∈ 𝐵 (𝑧 = 𝐶 → 𝜑) ↔ ∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
1512, 14bitri 278 . . . . 5 (∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 → 𝜑) ↔ ∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑))
16 nfv 1949 . . . . . . . 8 Ⅎ𝑧𝜓
17 ralrnmpo.2 . . . . . . . 8 (𝑧 = 𝐶 → (𝜑 ↔ 𝜓))
1816, 17ceqsalg 3489 . . . . . . 7 (𝐶 ∈ 𝑉 → (∀𝑧(𝑧 = 𝐶 → 𝜑) ↔ 𝜓))
1918ralimi 3103 . . . . . 6 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → ∀𝑦 ∈ 𝐵 (∀𝑧(𝑧 = 𝐶 → 𝜑) ↔ 𝜓))
20 ralbi 3121 . . . . . 6 (∀𝑦 ∈ 𝐵 (∀𝑧(𝑧 = 𝐶 → 𝜑) ↔ 𝜓) → (∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 → 𝜑) ↔ ∀𝑦 ∈ 𝐵 𝜓))
2119, 20syl 18 . . . . 5 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → (∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 → 𝜑) ↔ ∀𝑦 ∈ 𝐵 𝜓))
2215, 21bitr3id 288 . . . 4 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → (∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ ∀𝑦 ∈ 𝐵 𝜓))
2322ralimi 3103 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → ∀𝑥 ∈ 𝐴 (∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ ∀𝑦 ∈ 𝐵 𝜓))
24 ralbi 3121 . . 3 (∀𝑥 ∈ 𝐴 (∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ ∀𝑦 ∈ 𝐵 𝜓) → (∀𝑥 ∈ 𝐴 ∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜓))
2523, 24syl 18 . 2 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → (∀𝑥 ∈ 𝐴 ∀𝑧(∃𝑦 ∈ 𝐵 𝑧 = 𝐶 → 𝜑) ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜓))
2611, 25bitrid 286 1 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → (∀𝑧 ∈ ran 𝐹𝜑 ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1568   = wceq 1570   ∈ wcel 2147  {cab 2741  ∀wral 3080  ∃wrex 3090  ran crn 5656   ∈ cmpo 7442
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-cnv 5663  df-dm 5665  df-rn 5666  df-oprab 7444  df-mpo 7445
This theorem is used by:  rexrnmpo  7581  efgval2  19965  txcnp  23966  txcnmpt  23970  txflf  24352
  Copyright terms: Public domain W3C validator