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

Theorem pmresg 7870
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 3912 . . . . 5 (𝐹 ∈ (𝐴pm 𝐶) → ¬ (𝐴pm 𝐶) = ∅)
2 fnpm 7850 . . . . . . 7 pm Fn (V × V)
3 fndm 5978 . . . . . . 7 ( ↑pm Fn (V × V) → dom ↑pm = (V × V))
42, 3ax-mp 5 . . . . . 6 dom ↑pm = (V × V)
54ndmov 6803 . . . . 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 7861 . . . . . 6 (𝐹 ∈ (𝐴pm 𝐶) → (𝐹:dom 𝐹𝐴 ∧ dom 𝐹𝐶))
1110simpld 475 . . . . 5 (𝐹 ∈ (𝐴pm 𝐶) → 𝐹:dom 𝐹𝐴)
1211adantl 482 . . . 4 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → 𝐹:dom 𝐹𝐴)
13 inss1 3825 . . . 4 (dom 𝐹𝐵) ⊆ dom 𝐹
14 fssres 6057 . . . 4 ((𝐹:dom 𝐹𝐴 ∧ (dom 𝐹𝐵) ⊆ dom 𝐹) → (𝐹 ↾ (dom 𝐹𝐵)):(dom 𝐹𝐵)⟶𝐴)
1512, 13, 14sylancl 693 . . 3 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹 ↾ (dom 𝐹𝐵)):(dom 𝐹𝐵)⟶𝐴)
16 ffun 6035 . . . . 5 (𝐹:dom 𝐹𝐴 → Fun 𝐹)
17 resres 5397 . . . . . 6 ((𝐹 ↾ dom 𝐹) ↾ 𝐵) = (𝐹 ↾ (dom 𝐹𝐵))
18 funrel 5893 . . . . . . 7 (Fun 𝐹 → Rel 𝐹)
19 resdm 5429 . . . . . . 7 (Rel 𝐹 → (𝐹 ↾ dom 𝐹) = 𝐹)
20 reseq1 5379 . . . . . . 7 ((𝐹 ↾ dom 𝐹) = 𝐹 → ((𝐹 ↾ dom 𝐹) ↾ 𝐵) = (𝐹𝐵))
2118, 19, 203syl 18 . . . . . 6 (Fun 𝐹 → ((𝐹 ↾ dom 𝐹) ↾ 𝐵) = (𝐹𝐵))
2217, 21syl5eqr 2668 . . . . 5 (Fun 𝐹 → (𝐹 ↾ (dom 𝐹𝐵)) = (𝐹𝐵))
2312, 16, 223syl 18 . . . 4 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹 ↾ (dom 𝐹𝐵)) = (𝐹𝐵))
2423feq1d 6017 . . 3 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → ((𝐹 ↾ (dom 𝐹𝐵)):(dom 𝐹𝐵)⟶𝐴 ↔ (𝐹𝐵):(dom 𝐹𝐵)⟶𝐴))
2515, 24mpbid 222 . 2 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹𝐵):(dom 𝐹𝐵)⟶𝐴)
26 inss2 3826 . . 3 (dom 𝐹𝐵) ⊆ 𝐵
27 elpm2r 7860 . . 3 (((𝐴 ∈ V ∧ 𝐵𝑉) ∧ ((𝐹𝐵):(dom 𝐹𝐵)⟶𝐴 ∧ (dom 𝐹𝐵) ⊆ 𝐵)) → (𝐹𝐵) ∈ (𝐴pm 𝐵))
2826, 27mpanr2 719 . 2 (((𝐴 ∈ V ∧ 𝐵𝑉) ∧ (𝐹𝐵):(dom 𝐹𝐵)⟶𝐴) → (𝐹𝐵) ∈ (𝐴pm 𝐵))
298, 9, 25, 28syl21anc 1323 1 ((𝐵𝑉𝐹 ∈ (𝐴pm 𝐶)) → (𝐹𝐵) ∈ (𝐴pm 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1481  wcel 1988  Vcvv 3195  cin 3566  wss 3567  c0 3907   × cxp 5102  dom cdm 5104  cres 5106  Rel wrel 5109  Fun wfun 5870   Fn wfn 5871  wf 5872  (class class class)co 6635  pm cpm 7843
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ne 2792  df-ral 2914  df-rex 2915  df-rab 2918  df-v 3197  df-sbc 3430  df-csb 3527  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-op 4175  df-uni 4428  df-iun 4513  df-br 4645  df-opab 4704  df-mpt 4721  df-id 5014  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-res 5116  df-ima 5117  df-iota 5839  df-fun 5878  df-fn 5879  df-f 5880  df-fv 5884  df-ov 6638  df-oprab 6639  df-mpt2 6640  df-1st 7153  df-2nd 7154  df-pm 7845
This theorem is referenced by:  lmres  21085  mbfres  23392  dvnres  23675  cpnres  23681  caures  33527
  Copyright terms: Public domain W3C validator