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

Theorem rexrnmpt 5609
Description: A restricted quantifier over an image set. (Contributed by Mario Carneiro, 20-Aug-2015.)
Hypotheses
Ref Expression
ralrnmpt.1 𝐹 = (𝑥𝐴𝐵)
ralrnmpt.2 (𝑦 = 𝐵 → (𝜓𝜒))
Assertion
Ref Expression
rexrnmpt (∀𝑥𝐴 𝐵𝑉 → (∃𝑦 ∈ ran 𝐹𝜓 ↔ ∃𝑥𝐴 𝜒))
Distinct variable groups:   𝑥,𝐴   𝑦,𝐵   𝜒,𝑦   𝑦,𝐹   𝜓,𝑥
Allowed substitution hints:   𝜓(𝑦)   𝜒(𝑥)   𝐴(𝑦)   𝐵(𝑥)   𝐹(𝑥)   𝑉(𝑥,𝑦)

Proof of Theorem rexrnmpt
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ralrnmpt.1 . . . . 5 𝐹 = (𝑥𝐴𝐵)
21fnmpt 5295 . . . 4 (∀𝑥𝐴 𝐵𝑉𝐹 Fn 𝐴)
3 dfsbcq 2939 . . . . 5 (𝑤 = (𝐹𝑧) → ([𝑤 / 𝑦]𝜓[(𝐹𝑧) / 𝑦]𝜓))
43rexrn 5603 . . . 4 (𝐹 Fn 𝐴 → (∃𝑤 ∈ ran 𝐹[𝑤 / 𝑦]𝜓 ↔ ∃𝑧𝐴 [(𝐹𝑧) / 𝑦]𝜓))
52, 4syl 14 . . 3 (∀𝑥𝐴 𝐵𝑉 → (∃𝑤 ∈ ran 𝐹[𝑤 / 𝑦]𝜓 ↔ ∃𝑧𝐴 [(𝐹𝑧) / 𝑦]𝜓))
6 nfv 1508 . . . . 5 𝑤𝜓
7 nfsbc1v 2955 . . . . 5 𝑦[𝑤 / 𝑦]𝜓
8 sbceq1a 2946 . . . . 5 (𝑦 = 𝑤 → (𝜓[𝑤 / 𝑦]𝜓))
96, 7, 8cbvrex 2677 . . . 4 (∃𝑦 ∈ ran 𝐹𝜓 ↔ ∃𝑤 ∈ ran 𝐹[𝑤 / 𝑦]𝜓)
109bicomi 131 . . 3 (∃𝑤 ∈ ran 𝐹[𝑤 / 𝑦]𝜓 ↔ ∃𝑦 ∈ ran 𝐹𝜓)
11 nfmpt1 4057 . . . . . . 7 𝑥(𝑥𝐴𝐵)
121, 11nfcxfr 2296 . . . . . 6 𝑥𝐹
13 nfcv 2299 . . . . . 6 𝑥𝑧
1412, 13nffv 5477 . . . . 5 𝑥(𝐹𝑧)
15 nfv 1508 . . . . 5 𝑥𝜓
1614, 15nfsbc 2957 . . . 4 𝑥[(𝐹𝑧) / 𝑦]𝜓
17 nfv 1508 . . . 4 𝑧[(𝐹𝑥) / 𝑦]𝜓
18 fveq2 5467 . . . . 5 (𝑧 = 𝑥 → (𝐹𝑧) = (𝐹𝑥))
1918sbceq1d 2942 . . . 4 (𝑧 = 𝑥 → ([(𝐹𝑧) / 𝑦]𝜓[(𝐹𝑥) / 𝑦]𝜓))
2016, 17, 19cbvrex 2677 . . 3 (∃𝑧𝐴 [(𝐹𝑧) / 𝑦]𝜓 ↔ ∃𝑥𝐴 [(𝐹𝑥) / 𝑦]𝜓)
215, 10, 203bitr3g 221 . 2 (∀𝑥𝐴 𝐵𝑉 → (∃𝑦 ∈ ran 𝐹𝜓 ↔ ∃𝑥𝐴 [(𝐹𝑥) / 𝑦]𝜓))
221fvmpt2 5550 . . . . . 6 ((𝑥𝐴𝐵𝑉) → (𝐹𝑥) = 𝐵)
2322sbceq1d 2942 . . . . 5 ((𝑥𝐴𝐵𝑉) → ([(𝐹𝑥) / 𝑦]𝜓[𝐵 / 𝑦]𝜓))
24 ralrnmpt.2 . . . . . . 7 (𝑦 = 𝐵 → (𝜓𝜒))
2524sbcieg 2969 . . . . . 6 (𝐵𝑉 → ([𝐵 / 𝑦]𝜓𝜒))
2625adantl 275 . . . . 5 ((𝑥𝐴𝐵𝑉) → ([𝐵 / 𝑦]𝜓𝜒))
2723, 26bitrd 187 . . . 4 ((𝑥𝐴𝐵𝑉) → ([(𝐹𝑥) / 𝑦]𝜓𝜒))
2827ralimiaa 2519 . . 3 (∀𝑥𝐴 𝐵𝑉 → ∀𝑥𝐴 ([(𝐹𝑥) / 𝑦]𝜓𝜒))
29 pm5.32 449 . . . . . 6 ((𝑥𝐴 → ([(𝐹𝑥) / 𝑦]𝜓𝜒)) ↔ ((𝑥𝐴[(𝐹𝑥) / 𝑦]𝜓) ↔ (𝑥𝐴𝜒)))
3029albii 1450 . . . . 5 (∀𝑥(𝑥𝐴 → ([(𝐹𝑥) / 𝑦]𝜓𝜒)) ↔ ∀𝑥((𝑥𝐴[(𝐹𝑥) / 𝑦]𝜓) ↔ (𝑥𝐴𝜒)))
31 exbi 1584 . . . . 5 (∀𝑥((𝑥𝐴[(𝐹𝑥) / 𝑦]𝜓) ↔ (𝑥𝐴𝜒)) → (∃𝑥(𝑥𝐴[(𝐹𝑥) / 𝑦]𝜓) ↔ ∃𝑥(𝑥𝐴𝜒)))
3230, 31sylbi 120 . . . 4 (∀𝑥(𝑥𝐴 → ([(𝐹𝑥) / 𝑦]𝜓𝜒)) → (∃𝑥(𝑥𝐴[(𝐹𝑥) / 𝑦]𝜓) ↔ ∃𝑥(𝑥𝐴𝜒)))
33 df-ral 2440 . . . 4 (∀𝑥𝐴 ([(𝐹𝑥) / 𝑦]𝜓𝜒) ↔ ∀𝑥(𝑥𝐴 → ([(𝐹𝑥) / 𝑦]𝜓𝜒)))
34 df-rex 2441 . . . . 5 (∃𝑥𝐴 [(𝐹𝑥) / 𝑦]𝜓 ↔ ∃𝑥(𝑥𝐴[(𝐹𝑥) / 𝑦]𝜓))
35 df-rex 2441 . . . . 5 (∃𝑥𝐴 𝜒 ↔ ∃𝑥(𝑥𝐴𝜒))
3634, 35bibi12i 228 . . . 4 ((∃𝑥𝐴 [(𝐹𝑥) / 𝑦]𝜓 ↔ ∃𝑥𝐴 𝜒) ↔ (∃𝑥(𝑥𝐴[(𝐹𝑥) / 𝑦]𝜓) ↔ ∃𝑥(𝑥𝐴𝜒)))
3732, 33, 363imtr4i 200 . . 3 (∀𝑥𝐴 ([(𝐹𝑥) / 𝑦]𝜓𝜒) → (∃𝑥𝐴 [(𝐹𝑥) / 𝑦]𝜓 ↔ ∃𝑥𝐴 𝜒))
3828, 37syl 14 . 2 (∀𝑥𝐴 𝐵𝑉 → (∃𝑥𝐴 [(𝐹𝑥) / 𝑦]𝜓 ↔ ∃𝑥𝐴 𝜒))
3921, 38bitrd 187 1 (∀𝑥𝐴 𝐵𝑉 → (∃𝑦 ∈ ran 𝐹𝜓 ↔ ∃𝑥𝐴 𝜒))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1333   = wceq 1335  wex 1472  wcel 2128  wral 2435  wrex 2436  [wsbc 2937  cmpt 4025  ran crn 4586   Fn wfn 5164  cfv 5169
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 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-14 2131  ax-ext 2139  ax-sep 4082  ax-pow 4135  ax-pr 4169
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1338  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ral 2440  df-rex 2441  df-v 2714  df-sbc 2938  df-csb 3032  df-un 3106  df-in 3108  df-ss 3115  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-uni 3773  df-br 3966  df-opab 4026  df-mpt 4027  df-id 4253  df-xp 4591  df-rel 4592  df-cnv 4593  df-co 4594  df-dm 4595  df-rn 4596  df-iota 5134  df-fun 5171  df-fn 5172  df-fv 5177
This theorem is referenced by:  txbas  12629
  Copyright terms: Public domain W3C validator