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

Theorem pmresg 7885
Description: Elementhood of a restricted function in the set of partial functions. (Contributed by Mario Carneiro, 31-Dec-2013.)
Assertion
Ref Expression
pmresg ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹𝐵) ∈ (𝐴pm 𝐵))

Proof of Theorem pmresg
StepHypRef Expression
1 n0i 3920 . . . . 5 (𝐹 ∈ (𝐴pm 𝐶) → ¬ (𝐴pm 𝐶) = ∅)
2 fnpm 7865 . . . . . . 7 pm Fn (V × V)
3 fndm 5990 . . . . . . 7 ( ↑pm Fn (V × V) → dom ↑pm = (V × V))
42, 3ax-mp 5 . . . . . 6 dom ↑pm = (V × V)
54ndmov 6818 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐶 ∈ V) → (𝐴pm 𝐶) = ∅)
61, 5nsyl2 142 . . . 4 (𝐹 ∈ (𝐴pm 𝐶) → (𝐴 ∈ V ∧ 𝐶 ∈ V))
76simpld 475 . . 3 (𝐹 ∈ (𝐴pm 𝐶) → 𝐴 ∈ V)
87adantl 482 . 2 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → 𝐴 ∈ V)
9 simpl 473 . 2 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → 𝐵𝑉)
10 elpmi 7876 . . . . . 6 (𝐹 ∈ (𝐴pm 𝐶) → (𝐹:dom 𝐹𝐴 ∧ dom 𝐹𝐶))
1110simpld 475 . . . . 5 (𝐹 ∈ (𝐴pm 𝐶) → 𝐹:dom 𝐹𝐴)
1211adantl 482 . . . 4 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → 𝐹:dom 𝐹𝐴)
13 inss1 3833 . . . 4 (dom 𝐹𝐵) ⊆ dom 𝐹
14 fssres 6070 . . . 4 ((𝐹:dom 𝐹𝐴 ∧ (dom 𝐹𝐵) ⊆ dom 𝐹) → (𝐹 ↾ (dom 𝐹𝐵)):(dom 𝐹𝐵)⟶𝐴)
1512, 13, 14sylancl 694 . . 3 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹 ↾ (dom 𝐹𝐵)):(dom 𝐹𝐵)⟶𝐴)
16 ffun 6048 . . . . 5 (𝐹:dom 𝐹𝐴 → Fun 𝐹)
17 resres 5409 . . . . . 6 ((𝐹 ↾ dom 𝐹) ↾ 𝐵) = (𝐹 ↾ (dom 𝐹𝐵))
18 funrel 5905 . . . . . . 7 (Fun 𝐹 → Rel 𝐹)
19 resdm 5441 . . . . . . 7 (Rel 𝐹 → (𝐹 ↾ dom 𝐹) = 𝐹)
20 reseq1 5390 . . . . . . 7 ((𝐹 ↾ dom 𝐹) = 𝐹 → ((𝐹 ↾ dom 𝐹) ↾ 𝐵) = (𝐹𝐵))
2118, 19, 203syl 18 . . . . . 6 (Fun 𝐹 → ((𝐹 ↾ dom 𝐹) ↾ 𝐵) = (𝐹𝐵))
2217, 21syl5eqr 2670 . . . . 5 (Fun 𝐹 → (𝐹 ↾ (dom 𝐹𝐵)) = (𝐹𝐵))
2312, 16, 223syl 18 . . . 4 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹 ↾ (dom 𝐹𝐵)) = (𝐹𝐵))
2423feq1d 6030 . . 3 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → ((𝐹 ↾ (dom 𝐹𝐵)):(dom 𝐹𝐵)⟶𝐴 ↔ (𝐹𝐵):(dom 𝐹𝐵)⟶𝐴))
2515, 24mpbid 222 . 2 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹𝐵):(dom 𝐹𝐵)⟶𝐴)
26 inss2 3834 . . 3 (dom 𝐹𝐵) ⊆ 𝐵
27 elpm2r 7875 . . 3 (((𝐴 ∈ V ∧ 𝐵𝑉) ∧ ((𝐹𝐵):(dom 𝐹𝐵)⟶𝐴 ∧ (dom 𝐹𝐵) ⊆ 𝐵)) → (𝐹𝐵) ∈ (𝐴pm 𝐵))
2826, 27mpanr2 720 . 2 (((𝐴 ∈ V ∧ 𝐵𝑉) ∧ (𝐹𝐵):(dom 𝐹𝐵)⟶𝐴) → (𝐹𝐵) ∈ (𝐴pm 𝐵))
298, 9, 25, 28syl21anc 1325 1 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹𝐵) ∈ (𝐴pm 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1483  wcel 1990  Vcvv 3200  cin 3573  wss 3574  c0 3915   × cxp 5112  dom cdm 5114  cres 5116  Rel wrel 5119  Fun wfun 5882   Fn wfn 5883  wf 5884  (class class class)co 6650  pm cpm 7858
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-1st 7168  df-2nd 7169  df-pm 7860
This theorem is referenced by:  lmres  21104  mbfres  23411  dvnres  23694  cpnres  23700  caures  33556
  Copyright terms: Public domain W3C validator